备注:具体资料请在官网海淘.TMS570LC4357资料
在线文档Hercules Safety MCU Resource Guide — Hercules Safety MCUs Documentation
XDS100 Debug Probe (ti.com)
Git
https://git.ti.com/git/hercules_examples/hercules_examples.git
https://git.ti.com/cgit/hercules_examples/hercules_examples
git://git.ti.com/hercules_examples/hercules_examples.git
http://git.ti.com/git/hercules_examples/hercules_examples.git
1. 下载软件
官网下载对应的编译编辑工具如下图,主要是这两个,其它Flash工具等酌情考虑
安装软件,一直next就可以。安装后新建工程
2. 新建工程
如果不知道怎么建工程,可以用第二个软件HALCOGEN — HAL Code Generator Tool - TMS570 (v4.07.01)
这个软件会生成库函数,从而快速搭建裸机环境,不需要手撸寄存器。
下图是对应外设驱动、及FreeRTOS 模块,使能后,点击生成。
目标工程已经包含刚才生成的hal库和STM32 差不多。
3.编译工程
注意:需要添加对应hal库路径包含,不然编译不过。
编译通过