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.
工具与软件:
大家好!
我将用 TMS570LS12x 微控制器系列开始一个新项目、并希望获得一些关于设置和使用此平台的指导。 我使用 GCC 作为编译器并使用 Code Composer Studio (CCS)进行开发。 我还计划使用 HALCoGen 进行外设初始化。
有人可以就以下事项提供一些建议或步骤吗?
设置和配置:
HALCoGen 集成:
基本示例:
疑难解答:
非常感谢您提供任何见解或资源。 谢谢!
此致、
Akmal Khan
尊敬的 Akmal Khan:
我的建议将从以下常见问题解答开始:
在上面的主题中、我链接了入门示例:
在上面的常见问题解答中,LED 视频教程包含了安装工具所需的所有基本步骤,他们还提到了配置过程。
——
谢谢、此致、
Jagadish。
尊敬的 Jagadish:
感谢您的建议。 我成功与 TI + HalCoGen 合作。
我正在寻求支持、以便在 CCS 中将 GCC 与适用于 TMS570LS1227的 HalCoGen 配合使用。
以下是我尝试过的内容:
我遵循了 TI E2E 论坛的建议:
-mcpu=cortex-r4 -march=armv7-r -mfloat-abi=hard -mfpu=vfpv3-d16 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/arm-none-eabi/include" -g -gdwarf-3 -c -mlittle-endian -r
我还尝试了在 ARM 大端字节序系统中使用 Linaro 建议的工具链:
https://releases.linaro.org/components/toolchain/binaries/
供电方
但在应用第一条建议后、我遇到了警告。 以下是详细信息:
Building target: "Project1_GNU_ThreadX.out"
Invoking: GNU Linker
"C:/ti/ccs1230/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc-9.2.1.exe" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mcpu=cortex-r4 -march=armv7-r -mfloat-abi=hard -mfpu=vfpv3-d16 -I"C:\ti\ccs1230\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-q4-major\arm-none-eabi\include" -g -gdwarf-3 -c -mlittle-endian -r -Wl,-Map,"Project1_GNU_ThreadX.map" -o"Project1_GNU_ThreadX.out" "./source/dabort.o" "./source/errata_SSWF021_45.o" "./source/esm.o" "./source/gio.o" "./source/notification.o" "./source/pinmux.o" "./source/rti.o" "./source/sys_core.o" "./source/sys_dma.o" "./source/sys_intvecs.o" "./source/sys_main.o" "./source/sys_mpu.o" "./source/sys_pcr.o" "./source/sys_phantom.o" "./source/sys_pmm.o" "./source/sys_pmu.o" "./source/sys_selftest.o" "./source/sys_startup.o" "./source/sys_vim.o" "./source/system.o" -Wl,-T"../source/sys_link.ld" -Wl,--start-group -lc -Wl,--end-group
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/dabort.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/errata_SSWF021_45.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/esm.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/gio.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/notification.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/pinmux.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/rti.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_core.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_dma.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_intvecs.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_main.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_mpu.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_pcr.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_phantom.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_pmm.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_pmu.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_selftest.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_startup.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/sys_vim.o: linker input file unused because linking not done
arm-none-eabi-gcc-9.2.1.exe: warning: ./source/system.o: linker input file unused because linking not done
Finished building target: "Project1_GNU_ThreadX.out"
**** Build Finished ****
您能否提供有关解决这些警告以及在适用于 TMS570LS1227的 CCS 中使用 GCC 成功构建项目的指导?
谢谢、此致、
Akmal Khan
尊敬的 Akmal Khan:
我以前从未听过这些警告。
首先、我想知道、忽略警告、您的预期功能是否成功实现。 您是否执行了项目并验证了功能。
——
谢谢、此致、
Jagadish。