We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am working on porting lwIP into RTX-RTOS. In lwIP's "sys_arch.c" file, I need to implement functions to free up semaphores, mutexes and mailboxes. RTX-RTOS does not have any functions for this.
Since a mailbox is a pointer to a block of memory, can "_free_box" be used to free a mailbox?
How about for a semaphore or a mutex?
Thanks,
Willy
RTX from version 4.2 and up implements CMSIS-RTOS API which also has functions for deleting objects.
http://www.keil.com/pack/doc/CMSIS/RTOS/html/index.html
I would recommend the latest RTX v5 which is based on CMSIS-RTOS2.
http://www.keil.com/pack/doc/CMSIS/RTOS2/html/index.html
Mutex management (including osMutexDelete): www.keil.com/.../group__CMSIS__RTOS__MutexMgmt.html
Semaphores (including osSemaphoreDelete): www.keil.com/.../group__CMSIS__RTOS__SemaphoreMgmt.html
Message Queue: www.keil.com/.../group__CMSIS__RTOS__Message.html