1. 29 3月, 2023 1 次提交
  2. 23 3月, 2023 1 次提交
    • Y
      [atomic]添加arm与risc-v下的常用原子操作函数 (#7053) · de4f2374
      Yaochenger 提交于
      * Update Kconfig
      * Update trap_gcc.S
      * Update bsp/hifive1/drivers/SConscript
      Co-authored-by: mysterywolf's avatarMan, Jianting (Meco) <920369182@qq.com>
      * Update SConscript
      * [atomic]提交一份arm与risc-v架构下的常用原子操作函数
      * 修改变量类型
      * 更新rtatomic.h与atomic_port.c
      * 更新rt-thread\libcpu\arm\common\atomic_port.c
      * 更新include/rtatomic.h与libcpu/arm/common/SConscript
      * 更新include/rtatomic.h
      * 修正格式与Kconfig
      * 修正格式与文件结构
      
      * 规范文件格式与文件重命名
      * 添加测试用例与CI
      * 添加函数声明
      * 修改virt64/SConscript 添加atomic_riscv.c
        * 1.规范代码风格
        * 2.添加RISC-V64原子指令支持 解决在RV64下编译器将32-bit运算结果扩展为64-bit 导致判断错误
      * 添加C11标准库原子操作测试
      
      ---------
      Co-authored-by: mysterywolf's avatarMan, Jianting (Meco) <920369182@qq.com>
      de4f2374
  3. 19 3月, 2023 1 次提交
  4. 01 3月, 2023 1 次提交
    • Y
      [libcpu][riscv]整合libcpu/riscv中的移植文件 提供一份公共代码于common (#6941) · b9e4fcfc
      Yaochenger 提交于
      整合libcpu/riscv中的移植文件 提供一份公共代码于common
      
      在提交本pr时,除hpmicro的内核,rv32内核bsp已完成去除大部分的冗余,大部分代码采用common中的实现。本pr的作用是进一步统一common中的文件,从而提供一份公用代码,新移植的RV32内核的BSP可以全部使用common代码。
      
      - 在common中提供一份公用文件:interrupt_gcc.S
      - 修改原有的文件,将原有的中断中上下文切换代码替换为interrupt_gcc.S
      - 基于上述修改,修改仓库中risc-v内核的BSP与移植相关的部分 (主要包含中断入口函数 中断栈等)
      - 在common中提供一份公用文件:trap_common.c;提供统一中断入口函数,中断入口函数初始化,中断入口注册等函数,并完善异常时的信息输出
      
      - 在common中提供一份公用文件:rt_hw_stack_frame.h;将栈帧结构体剥离,供用户使用
      
      - 在上述工作完成后,在上述工作的基础上测试仓库中risc-v内核的BSP
      
      - 完善函数中的命名,完善中断栈的获取
      
      - 提供一份详细的基于现有common文件的移植指南
      
        #### 在什么测试环境下测试通过 
      
      - 1.CH32V307V-R1-R0
      - 2.CH32V208W-R0-1V4
      - 3.HPM6750EVKMINI
      - 4.GD32VF103V-EVAL
      - 5.qemu(CORE-V-MCU )
      
      > 与上述开发板使用同样芯片的BSP均测试通过
      
      在CH32V307V-R1-R0与HPM6750EVKMINI上基于现有移植文件进行多线程复杂场景下的长时间测试,测试过程系统运行正常。
      b9e4fcfc
  5. 09 1月, 2023 1 次提交
  6. 05 1月, 2023 1 次提交
  7. 03 1月, 2023 1 次提交
  8. 29 12月, 2022 1 次提交
  9. 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
  10. 03 12月, 2022 1 次提交
  11. 30 7月, 2022 1 次提交
    • E
      WCH CH569W-R0-1v0 evt board bsp port, first version (#6167) · c802fcdc
      emuzit 提交于
      WCH CH569W-R0-1v0 evt board bsp port, first version
      
      dev/test under Ubuntu 20.04
      toolchain from MounRiver_Studio_Community_Linux_x64_V120
      
      tested drivers : SysTick, gpio, gpio interrupt, uart1 (RX interrupt, TX polling)
      
      libcpu/risc-v/SConscript :
      group includes rtconfig.CPU only if folder exists
      
      libcpu/risc-v/common/cpuport.c/rt_hw_context_switch_interrupt() :
      make it RT_WEAK for customization
      c802fcdc
  12. 20 4月, 2022 1 次提交
  13. 27 3月, 2021 1 次提交
  14. 19 12月, 2020 1 次提交
  15. 30 11月, 2020 1 次提交
  16. 20 11月, 2020 3 次提交
  17. 11 11月, 2020 1 次提交
  18. 05 11月, 2019 1 次提交
  19. 11 5月, 2019 1 次提交
  20. 07 1月, 2019 1 次提交
  21. 28 12月, 2018 1 次提交
  22. 08 12月, 2018 1 次提交