1. 21 1月, 2023 1 次提交
  2. 09 1月, 2023 1 次提交
  3. 21 12月, 2022 1 次提交
    • mysterywolf's avatar
      [kenel] add static name for rt_object (#6422) · 061af7b0
      mysterywolf 提交于
      增加静态object 名字,用户可以根据内存实际使用情况决定使用动态还是静态。适用于资源极度受限的情况下使用。该功能在RT-Thread完整版本中不常用,主要用于RT-Thread Nano,以缩减对内存的占用。由于没有动态拼接支持,在静态名字下,空闲线程的名字在多核时将命名成相同的名字。
      061af7b0
  4. 16 12月, 2022 1 次提交
  5. 12 12月, 2022 1 次提交
    • mysterywolf's avatar
      [rtdef] use lower-case to define attributes (#6728) · 99bdf978
      mysterywolf 提交于
      * [rtdef] rename RT_WEAK attribute as rt_weak
      
      * [rtdef] rename RT_USED attribute as rt_used
      
      * [rtdef] rename RT_SECTION attribute as rt_section
      
      * [rtdef] rename ALIGN attribute as rt_align
      
      * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
      99bdf978
  6. 10 12月, 2022 1 次提交
  7. 03 12月, 2022 1 次提交
  8. 23 11月, 2022 1 次提交
  9. 26 10月, 2022 1 次提交
  10. 20 10月, 2022 1 次提交
  11. 16 10月, 2022 1 次提交
  12. 15 10月, 2022 1 次提交
  13. 16 9月, 2022 1 次提交
  14. 09 9月, 2022 1 次提交
  15. 07 9月, 2022 1 次提交
    • mysterywolf's avatar
      [kernel][version] 采用新的版本宏定义 · ce16945c
      mysterywolf 提交于
      版本控制规范:https://semver.org/
      
      目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突
      ```c
      /* RT-Thread version information */
      #define RT_VERSION                      4L              /**< major version number */
      #define RT_SUBVERSION                   1L              /**< minor version number */
      #define RT_REVISION                     1L              /**< revise version number */
      ```
      
      参考ESP32:
      ```c
      /** Major version number (X.x.x) */
      #define ESP_ARDUINO_VERSION_MAJOR   2
      /** Minor version number (x.X.x) */
      #define ESP_ARDUINO_VERSION_MINOR   0
      /** Patch version number (x.x.X) */
      #define ESP_ARDUINO_VERSION_PATCH   3
      ```
      
      建议改成:
      ```c
      /* Major version number (X.x.x) */
      #define RT_VERSION_MAJOR   4
      /* Minor version number (x.X.x) */
      #define RT_VERSION_MINOR   2
      /* Patch version number (x.x.X) */
      #define RT_VERSION_PATCH   0
      ```
      ce16945c
  16. 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
  17. 28 8月, 2022 1 次提交
  18. 08 8月, 2022 1 次提交
  19. 04 7月, 2022 1 次提交
  20. 01 7月, 2022 2 次提交
  21. 25 6月, 2022 1 次提交
  22. 19 5月, 2022 1 次提交
  23. 29 4月, 2022 1 次提交
  24. 20 4月, 2022 1 次提交
  25. 06 4月, 2022 1 次提交
  26. 03 4月, 2022 1 次提交
  27. 29 3月, 2022 1 次提交
  28. 12 3月, 2022 1 次提交
  29. 08 3月, 2022 1 次提交
  30. 28 1月, 2022 1 次提交
  31. 20 1月, 2022 1 次提交
    • X
      the support for PSE51 (#5534) · 075e04e3
      xiangxistu 提交于
      * [add] the function realization of signal for posix.
      * [update] the posix support for armclang.
      * [add] the new macro "RT_USING_POSIX_TIMER".
      * [modify] select "RT_USING_SOFT_TIMER" when use posix'timer.
      * [bug] optimize the logic for the "time_xxx" functions.
      * [modify] use "RT_USING_POSIX_TIMER" to protect the macro definition.
      * [modify] error code when except happened.
      * [delete] the "environ" is useless at this time.
      075e04e3
  32. 14 1月, 2022 1 次提交
  33. 10 1月, 2022 1 次提交
  34. 08 1月, 2022 2 次提交
  35. 05 1月, 2022 1 次提交
    • G
      Improving hooking methods · b627414f
      Gabriel Wang 提交于
      - Backward compatible with existing function-pointer based hooking method
      - Using RT_USING_HOOK as an on/off switch
      - Introducing a new low-overhead macro-based hooking method
      b627414f
  36. 30 12月, 2021 2 次提交
  37. 28 12月, 2021 1 次提交