This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I am learning FreeRTOS and want to run periodic task.
I have added #define INCLUDE_vTaskDelayUntil (1) into FreeRTOSConfig.h to be able to call vTaskDelayUntil
The build is failed due to :
undefined first referenced
symbol in file
--------- ----------------
xTaskDelayUntil ./main.o
However other API such as vTaskDelete(), xTaskGetTickCount and so on are compiled.
ARM Linker:
-mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM263X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"hello_world.Debug.map" -Wl,-i"C:/ti/mcu_plus_sdk_am263x_08_05_00_24/source/kernel/freertos/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am263x_08_05_00_24/source/drivers/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am263x_08_05_00_24/source/board/lib" -Wl,-i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="hello_world_am263x-cc_r5fss0-0_freertos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model
Ho to resolve such Error?
FYI: I am using as base-line.
Thank you,
Victor
Hi Victor Gruzdyn,
Did you try rebuilding the library ? To rebuild the library you need to follow the following steps - https://software-dl.ti.com/mcu-plus-sdk/esd/AM263X/08_05_00_24/exports/docs/api_guide_am263x/MAKEFILE_BUILD_PAGE.html
To learn more about FreeRTOS in MCU_PLUS_SDK please checkout this interactive and very comprehensive MCU_PLUS Academy chapter on the same - https://dev.ti.com/tirex/explore/node?node=A__ADxJvKS8txu3Or8Qrf1ZiQ__com.ti.MCU_PLUS_ACADEMY_AM263X__rGFXMCu__LATEST
Hope this helps.
Best Regards,
Aakash
Thank you! I missed this., BUt I am getting the following issue
c:\ti\mcu_plus_sdk_am263x_08_05_00_24>gmake -s libs-clean PROFILE=release
Cleaning: board.am263x.r5f.ti-arm-clang.release.lib ...
process_begin: CreateProcess(NULL, C:/ti/ccs1210/ccs/utils/cygwin/rm -rf obj/am263x/ti-arm-clang/release/r5f/board/, ...) failed.
make (e=2): The system cannot find the file specified.
makefile.am263x.r5f.ti-arm-clang:118: recipe for target 'clean' failed
gmake[2]: *** [clean] Error 2
makefile.am263x:485: recipe for target 'board_r5f.ti-arm-clang_clean' failed
gmake[1]: *** [board_r5f.ti-arm-clang_clean] Error 2
makefile:62: recipe for target 'libs-clean' failed
gmake: *** [libs-clean] Error 2
I have installed ccs1220, however when I rebuild lib:
c:\ti\mcu_plus_sdk_am263x_08_05_00_24>gmake -s libs PROFILE=release
process_begin: CreateProcess(NULL, C:/ti/ccs1210/ccs/utils/cygwin/mkdir -p obj/am263x/ti-arm-clang/release/r5f/board/, ...) failed.
make (e=2): The system cannot find the file specified.
makefile.am263x.r5f.ti-arm-clang:130: recipe for target 'obj/am263x/ti-arm-clang/release/r5f/board/' failed
gmake[2]: *** [obj/am263x/ti-arm-clang/release/r5f/board/] Error 2
makefile.am263x:408: recipe for target 'board_r5f.ti-arm-clang' failed
gmake[1]: *** [board_r5f.ti-arm-clang] Error 2
makefile:59: recipe for target 'libs' failed
gmake: *** [libs] Error 2
it access to ccs1210
How to fix it?
Thank you
Victor