Tool/software:
What is the procedure for reconfiguring and building the FreeRTOS kernel within the SDK?
I am using SDK 10_01_00_31. I have put gmake in my path and the build starts but I get an error as below. Are them some configuration items I need to set up? Paths?
$ gmake -f makefile.am263x.r5f.ti-arm-clang
C:/ti/ccs1281/ccs/utils/cygwin/mkdir -p obj/am263x/ti-arm-clang/release/r5f/freertos/
Compiling: freertos.am263x.r5f.ti-arm-clang.release.lib: FreeRTOS-POSIX/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_mqueue.c
C:/ti/ccs1281/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/bin/tiarmclang -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -Wall -Werror -g -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wno-extra -Os -Oz -flto -IC:/ti/ccs1281/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/include/c -IC:/ti/mcu_plus_sdk_am263x_10_01_00_31/source -IFreeRTOS-Kernel/include -Iportable/TI_ARM_CLANG/ARM_CR5F -Iconfig/am263x/r5f -IFreeRTOS-POSIX/include -IFreeRTOS-POSIX/include/private -IFreeRTOS-POSIX/FreeRTOS-Plus-POSIX/include -IFreeRTOS-POSIX/FreeRTOS-Plus-POSIX/include/portable -DSOC_AM263X -MMD -o obj/am263x/ti-arm-clang/release/r5f/freertos//FreeRTOS_POSIX_mqueue.obj FreeRTOS-POSIX/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_mqueue.c
FreeRTOS-POSIX/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_mqueue.c:223:13: warning: call to undeclared function 'xQueueCreate'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
223 | xQueueCreate( pxAttr->mq_maxmsg, sizeof( QueueElement_t ) );
| ^
FreeRTOS-POSIX/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_mqueue.c:222:38: error: incompatible integer to pointer conversion assigning to 'QueueHandle_t' (aka 'struct QueueDefinition *')
from 'int' [-Wint-conversion]
222 | ( *ppxMessageQueue )->xQueue =
| ^
223 | xQueueCreate( pxAttr->mq_maxmsg, sizeof( QueueElement_t ) );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
makefile.am263x.r5f.ti-arm-clang:160: recipe for target 'FreeRTOS_POSIX_mqueue.obj' failed
gmake: *** [FreeRTOS_POSIX_mqueue.obj] Error 1