Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up请完善cmsis os接口 #1022
Open
请完善cmsis os接口 #1022
Comments
|
可以考虑发PR上来。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
因为要使用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