1. 15 10月, 2022 1 次提交
    • wannomore's avatar
      [bsp][c28x] 新增adc驱动 (#6520) · 94221bbd
      wannomore 提交于
      1. 在c28x文件目录上一层再套一层文件夹ti,目前28379的项目路径为rt-thread\bsp\ti\c28x\tms320f28379d
      2. 新增adc驱动与kconfig配置
      94221bbd
  2. 09 10月, 2022 1 次提交
    • wannomore's avatar
      [bsp][c28x] add driver for GPIO and improve pwm's driver (#6493) · 7c122cca
      wannomore 提交于
      1. 增加PWM模块的配置kconfig代码
      2. 调整目录结构,新增c28x文件夹,将原有tms320f28379的porting移动至c28x文件夹下,通用设备驱动移动至c28x/libraries下
      3. 增加gpio驱动代码以及外部中断触发驱动代码
      
      目前已经在tms320f28379上通过测试
      7c122cca
  3. 26 9月, 2022 1 次提交
    • wannomore's avatar
      [TMS320F28379] implement PWM driver (#6457) · 5debfdd8
      wannomore 提交于
      增加c28x芯片的pwm驱动
      已经在TMS320F28379中通过测试
      pwm设备框架增加如下方法:
      #define PWM_CMD_SET_DEAD_TIME (RT_DEVICE_CTRL_BASE(PWM) + 8)
      #define PWM_CMD_SET_PHASE (RT_DEVICE_CTRL_BASE(PWM) + 9)
      #define PWM_CMD_ENABLE_IRQ (RT_DEVICE_CTRL_BASE(PWM) + 10)
      #define PWM_CMD_DISABLE_IRQ (RT_DEVICE_CTRL_BASE(PWM) + 11)
      5debfdd8
  4. 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
  5. 23 8月, 2022 1 次提交
  6. 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
  7. 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
  8. 05 9月, 2019 1 次提交
  9. 07 4月, 2019 1 次提交
  10. 27 3月, 2019 1 次提交
  11. 06 3月, 2019 1 次提交
  12. 17 12月, 2018 1 次提交
  13. 24 11月, 2018 1 次提交
  14. 18 11月, 2018 1 次提交
  15. 16 11月, 2018 1 次提交
  16. 03 9月, 2018 2 次提交
  17. 02 9月, 2018 1 次提交
  18. 29 5月, 2018 1 次提交
  19. 03 3月, 2018 1 次提交
  20. 03 11月, 2017 1 次提交
  21. 25 1月, 2016 2 次提交
  22. 08 1月, 2013 1 次提交
  23. 25 9月, 2012 1 次提交
  24. 29 6月, 2011 1 次提交
  25. 29 6月, 2010 1 次提交
  26. 14 4月, 2010 1 次提交
  27. 09 3月, 2010 1 次提交
  28. 03 3月, 2010 1 次提交
  29. 15 1月, 2010 1 次提交
  30. 25 12月, 2009 1 次提交
  31. 22 12月, 2009 2 次提交
  32. 13 12月, 2009 1 次提交
  33. 09 11月, 2009 1 次提交
  34. 23 10月, 2009 1 次提交
  35. 29 9月, 2009 1 次提交
  36. 03 7月, 2009 1 次提交