Part Number: RM48L930
Hello,
I created a HALCoGen FreeRTOS project (selected the RM48L950ZWT_FREERTOS device) and with default settings built the code Ok in CCSv7. Then I went back into HALCoGen, clicked on the OS tab, and enabled 'Use Mutexes', and 'use Recursive Mutexes'. I also added some test code in to create 2 tasks then call vTaskStartScheduler in main().
With this config I get a linker error for missing function xQueueCreateMutexStatic. This is because the default settings in FreeRTOSConfig.h are configSUPPORT_STATIC_ALLOCATION = 0. But when I change this to configSUPPORT_STATIC_ALLOCATION = 1 I then get 5 other linker errors (vApplicationGetIdleTaskMemory, xEventGroupCreate, xQueueGenericCreate, xTaskCreate). Any thoughts on this? On a side note, it seems that if I do change the default settings in FreeRTOSConfig.h they will be lost the next time I generate code in HALCoGen, since there is no #ifndef preceding the #define configSUPPORT_STATIC_ALLOCATION 0. I'm new to HALCoGen and FreeRTOS, what am I missing? All comments are welcome!
Thank you,
Keith