Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请完善cmsis os接口 #1022

Open
biansf2001 opened this issue Nov 21, 2017 · 1 comment
Open

请完善cmsis os接口 #1022

biansf2001 opened this issue Nov 21, 2017 · 1 comment

Comments

@biansf2001
Copy link

@biansf2001 biansf2001 commented Nov 21, 2017

因为要使用rtt+emwin,在emwin532版本里,GUI_X_OS.c是和os的接口,在rtconfig.h里打开#define RT_USING_CMSIS_OS后,编译出了几条错误,如下
cmsis_rtthread.c
Error[Pe167]: argument of type "os_pthread" is incompatible with parameter of type "void (*)(void )" \RTThread\rt-thread-v2.1.x\components\CMSIS\RTOS\cmsis_rtthread.c 33
Warning[Pe188]: enumerated type mixed with another type \RTThread\rt-thread-v2.1.x\components\CMSIS\RTOS\cmsis_rtthread.c 100
Warning[Pe940]: missing return statement at end of non-void function "osWait" \RTThread\rt-thread-v2.1.x\components\CMSIS\RTOS\cmsis_rtthread.c 134
Warning[Pe550]: variable "result" was set but never used \RTThread\rt-thread-v2.1.x\components\CMSIS\RTOS\cmsis_rtthread.c 123
Error[Pe167]: argument of type "os_ptimer" is incompatible with parameter of type "void (
)(void *)" \RTThread\rt-thread-v2.1.x\components\CMSIS\RTOS\cmsis_rtthread.c 148
Error while running C/C++ Compiler

@BernardXiong
Copy link
Member

@BernardXiong BernardXiong commented Nov 21, 2017

可以考虑发PR上来。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.