summaryrefslogtreecommitdiff
path: root/libcpu/ti-dsp/c28x/context.s
AgeCommit message (Collapse)Author
2022-10-19[bsp][c28x] add support to not disable global interrupt in context-switch to ↵Yunjie Gu
enable zero-latency isr for critical interrupts.
2022-08-29tms320f28379d fix init (#6343)YuQi
解决 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-20[bsp][tms320f28379d] Fix compile ti (#6254)Yunjie Gu
* compile_ok Issues fixed: (1) update .config: select FINSH_USING_SYMTAB (2) add rt_size_t in rtconfig_project.h (3) fix finsh problems of using sym table (4) update .project to include ipc source codes. Todo list: (1) automate the build source selection of ccs and reconcile it with scons * change compiler * msh can run now the key step is to swap the order of rt_interrupt_nest -- and RT_OBJECT_HOOK_CALL(rt_interrupt_leave_hook,()) in irq.c. This is an improvised solution and an issue has been raised. * Update 2837x_FLASH_lnk_cpu1.cmd The original one is also fine. Just to make it more rigorous since FSymTab is in data section. * update readme.md Complier selection and maintainer update. Co-authored-by: YuQi <[email protected]>
2022-01-20[asm] 解决tab和空格混用的问题Meco Man
2019-12-09convert intentation tabs to spacesXiao Lifan
2019-12-05[libcpu][c28x]add support for c28x mcu hardware fpuXiao Lifan
2019-07-03[libcpu][c28x]Add __rt_ffs support明德无敌赵晓薇
Use a native instruction "Count Sign Bits" to support fast ffs function, then add __rt_ffs support in C28x.
2019-06-18[libcpu][C28x] Fix bugs of old c28x interrupt api which can not save and ↵明德无敌赵晓薇
restore int status In C28x DSP, interrupt status are stored in ST1 register. Both INTM and DBGM is used for masking interrupt, while the latter one is used in real-time debug mode. The origin function rudely enable and disable the interrupt without considering the recent interrupt status, which not only may cause problem in some situation but also is not in conformity with rt-thread design specifications. The new api will fix this bug.
2019-04-14[bsp][tms320f28379d] Fix FPU config problemxuzhuoyi
2019-04-10[bsp][tms320f28379d] Add finsh init in rt_init_threadxuzhuoyi
2018-11-24[bsp][tms320f28379d] Classify c28x into ti-dspxuzhuoyi