1. 30 8月, 2022 1 次提交
    • wannomore's avatar
      tms320f28379d fix init (#6343) · b11cb41a
      wannomore 提交于
      解决 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 通过了测试。
      b11cb41a
  2. 23 8月, 2022 1 次提交
  3. 21 8月, 2022 1 次提交
    • Y
      [bsp][tms320f28379d] Fix compile ti (#6254) · b43f0e72
      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: wannomore's avatarYuQi <qiyu_sjtu@163.com>
      b43f0e72
  4. 09 1月, 2022 1 次提交
  5. 16 12月, 2021 1 次提交
    • 还_没_想_好's avatar
      分离内存分配接口与内存分配算法 (#5175) · d724eed9
      还_没_想_好 提交于
      * [kernel][mem] Multiple instances of small memory allocation algorithm
      
      * [kernel][mem] Change small memory management algorithm memory header flag
      
      * [kernel][mem] Fix assertion problem
      
      * [kernel][slab] Multiple instances of slab memory management algorithm
      
      * [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces
      
      * [kernel][mem] Clean up memory space of small memory management objects
      
      * [kernel][kservice] Add memory application interface and thread protection interface
      
      * [kernel][kservice] Fix function return value problem
      
      * [kernel][memheap] Optimize memheaptrace print
      
      * [kernel][memheap] Support best mode
      
      * [kernel][memory] Remove semaphore lock
      
      * [kernel][memheap] Add locked flag
      
      * [kernel][memory] Support malloc memory in interrupt
      
      * [kernel][memheap] Add 'memheapcheck' cmd
      
      * [kernel][mem] Fix failure to request full memory
      
      * [kernel][memheap] Fix compilation warning
      
      * [kernel][mem] Fix mem realloc ASSERT
      
      * [examples][testcases] Add small mem testcase
      
      * [examples][mem_tc] Modify test memory size
      
      * [examples][testcases] Add slab memory management algorithm test case
      
      * [examples][testcases] fix small memory management algorithm test case
      
      * [kernel][memory] Adjusting memory allocation algorithm object definition and interface
      
      * [kernel][memory] Fix compilation warning
      
      * [examples][utest] Fix mem test case
      
      * [examples][utest] fix slab test case
      
      * [utest][testcases] Shorten test time
      
      * [kernel][memory] Formatting code
      
      * [examples][utest] Adjust test run time
      
      * [examples][utest] Formatting code
      
      * [bsp] update all rtconfig.h
      d724eed9
  6. 23 11月, 2020 1 次提交
  7. 11 9月, 2019 1 次提交
  8. 05 9月, 2019 1 次提交
  9. 24 8月, 2019 1 次提交
  10. 14 4月, 2019 2 次提交
  11. 10 4月, 2019 1 次提交
  12. 08 4月, 2019 1 次提交
  13. 07 4月, 2019 2 次提交
  14. 27 3月, 2019 2 次提交
  15. 06 3月, 2019 1 次提交
  16. 16 1月, 2019 1 次提交
  17. 17 12月, 2018 2 次提交
  18. 24 11月, 2018 1 次提交
  19. 18 11月, 2018 2 次提交
  20. 16 11月, 2018 2 次提交
  21. 04 9月, 2018 1 次提交
  22. 03 9月, 2018 2 次提交
  23. 02 9月, 2018 1 次提交