YuQi
b11cb41ae7
tms320f28379d fix init (#6343)
解决 tms320f28379d bsp 启动的问题。主要改动如下。
修正context.s中汇编代码错误。在旧版的代码中,操作数为32位而汇编命令却使用了针对16位数据的命令MOV,导致程序在某些情况无法正常启动线程。
由于C28x的平台下,SP只支持16bit寻址,所以用于线程空间存放的heap以及ebss段都需要放在低16位的空间,针对这个问题修改了CMD文件。此外还增加基于CMD文件基于RAM的支持,方便调试。
新增rtdef.h中RT_SECTION,RT_USED,ALIGN和RT_WEAK的定义。旧版bsp中这些定义为空,导致INIT_EXPORT注册的函数失效。
修改程序启动代码,在程序入口直接调用原生启动代码
以上改动在LAUNCHXL-F28379D 通过了测试。
2022-08-29 15:35:23 -04:00
..
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-22 09:42:35 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-01-05 23:11:58 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-06-09 07:01:59 +08:00
2022-08-22 13:40:27 -04:00
2022-08-22 09:45:45 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-17 23:47:54 -04:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-06-09 07:01:59 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-06-09 07:01:59 +08:00
2022-08-22 13:44:25 -04:00
2022-01-05 23:11:58 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-01-14 23:09:32 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-20 12:21:51 -04:00
2022-01-05 23:11:58 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-06-09 07:01:59 +08:00
2022-01-05 23:11:58 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-06-09 07:01:59 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-01-26 10:46:57 +08:00
2022-08-16 19:38:48 +08:00
2022-06-09 07:01:59 +08:00
2022-01-05 23:11:58 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-25 10:25:34 -04:00
2022-08-16 19:38:48 +08:00
2022-08-16 12:43:24 -04:00
2022-08-16 19:38:48 +08:00
2022-01-05 23:11:58 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-01-29 16:11:42 +08:00
2022-08-29 15:35:23 -04:00
2022-06-09 07:01:59 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-27 00:34:27 -04:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-08-16 19:38:48 +08:00
2022-03-08 12:03:06 +08:00