Dear support,
related to the previous conversation (https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1185462/pru-icss-industrial-sw-am4379---ti-rtos---prp-red-rx-issue/4668796?tisearch=e2e-sitesearch&keymatch=AM4378%20-%20PRP%20Red%20Rx%20issue#4668796) and patch send over email, we are facing issue whit building PRU firmware.
In project "hsr_prp_firmware_project" we select and try to build the option:
- PRU0_PRP_1_0
and
- PRU1_PRP_1_0
Under general we select for "Variant and core" IDK_AM437X
We are facing build error if we have selected AM437x type of device.
Error:
**** Build of configuration PRU0_PRP_1_0 for project hsr_prp_firmware **** "C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 6 all -O Building file: "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/firmware/Micro_Scheduler.asm" Invoking: PRU Compiler "C:/ti/ti-cgt-pru_2.3.2/bin/clpru" -v3 --include_path="C:/ti/ccs1040/ccs/ccs_base/pru/include" --include_path="C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/hsr_prp_firmware_project" --include_path="C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/include" --include_path="C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/include/hw" --include_path="C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/firmware" --include_path="C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/protocols/hsr_prp/include" --include_path="C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/protocols/hsr_prp/include/v1.0" --include_path="C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/protocols/timeSync/include" --include_path="C:/ti/ti-cgt-pru_2.3.2/include" --define=icss1 --define=pru0 --define=TWO_PORT_CFG --define=PRU --define=PRU0 --define=PTP --define=ICSS_V_1_0 --define=BUILD_PRP --define=am4379 --undefine=DEBUG --diag_warning=225 --diag_wrap=off --display_error_number --endian=little --hardware_mac=on --asm_listing --preproc_with_compile --preproc_dependency="Micro_Scheduler.d_raw" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/firmware/Micro_Scheduler.asm" No Assembly Errors, 1 Assembly Warning "check_task.h", WARNING! at line 45: [E1000] error while processing C code in .cdecls directive .cdecls C,NOLIST Finished building: "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.05.01/firmware/Micro_Scheduler.asm" Building target: "hsr_prp_firmware.out" Invoking: PRU Linker "C:/ti/ti-cgt-pru_2.3.2/bin/clpru" -v3 --define=icss1 --define=pru0 --define=TWO_PORT_CFG --define=PRU --define=PRU0 --define=PTP --define=ICSS_V_1_0 --define=BUILD_PRP --define=am4379 --undefine=DEBUG --diag_warning=225 --diag_wrap=off --display_error_number --endian=little --hardware_mac=on --asm_listing -z -m"hsr_prp_firmware.map" --heap_size=0 --stack_size=0 -i"C:/ti/ti-cgt-pru_2.3.2/lib" -i"C:/ti/ti-cgt-pru_2.3.2/include" --reread_libs --define=ICSS1_PRU_CORE=1 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="hsr_prp_firmware_linkInfo.xml" -o "hsr_prp_firmware.out" "./Micro_Scheduler.obj" "../AM437x_PRU_SS1.cmd" -llibc.a <Linking> undefined first referenced symbol in file --------- ---------------- main C:\ti\ti-cgt-pru_2.3.2\lib\rtspruv3_le.lib<boot.c.obj> error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "hsr_prp_firmware.out" not built >> Compilation failure makefile:141: recipe for target 'hsr_prp_firmware.out' failed gmake[1]: *** [hsr_prp_firmware.out] Error 1 makefile:137: recipe for target 'all' failed gmake: *** [all] Error 2 **** Build Finished ****
How to solve the problem?
Linker settings:
Thanx!
Regards Mare...