请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC2651R3 如标题所示、为什么启动文件(startup_cc13x1_cc26x1_ticlang.c.obj)包含在 nortos (nortos_cc26x1.a)库中? 如何修改 startup 文件或其中的函数?
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.
如标题所示、为什么启动文件(startup_cc13x1_cc26x1_ticlang.c.obj)包含在 nortos (nortos_cc26x1.a)库中? 如何修改 startup 文件或其中的函数?
以修改例如的默认处理程序。 在某些用例中、您可以/想要在跳转到 main 之前做一些事情。 通常、您需要将 startup 文件包含到项目中。 我认为把它包括在一个库中是愚蠢的。
从文档中:
Startup Files A “nortos” application should use the startup files and linker command files that come packaged with the “nortos” TI Driver examples. These files have been tailored for the devices and OS in use. The startup files contain the initialized vector table, which can be modified to suit the application needs. There is a different startup file and linker command file for each supported compiler (CCS, GCC, IAR). The SimpleLink examples come packaged with the necessary startup and linker command files from the particular driverlib that is contained in the SDK.