latercomer
fe3c4d456e
bsp中option env语句替换为新语句,并同步更新了source "$xxx"语句
2024-06-20 14:40:42 +08:00
Meco Man
3f26998f9c
[bsp] update projects
2024-03-21 11:23:29 +08:00
guozhanxin
9e79333512
[project] update mdk/iar project and config.
2023-10-08 11:21:00 +08:00
Sseven731
17ed572644
[HUST CSE] [readme] fix invalid URL
2023-04-24 00:47:02 -04:00
yangjie11
95e6b69b8e
sync and update all projects ( #7138 )
...
* sync and update
2023-03-31 16:49:48 +08:00
Yaochenger
de4f237482
[atomic]添加arm与risc-v下的常用原子操作函数 ( #7053 )
...
* Update Kconfig
* Update trap_gcc.S
* Update bsp/hifive1/drivers/SConscript
Co-authored-by: Man, 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: Man, Jianting (Meco) <920369182@qq.com>
2023-03-23 20:06:50 +08:00
Yaochenger
922e6e40d3
[libcpu/risc-v]迁移libcpu/risc-v/e310与rv32m1文件中内容至bsp ( #7015 )
2023-03-05 19:43:58 -05:00
Yaochenger
b9e4fcfc68
[libcpu][riscv]整合libcpu/riscv中的移植文件 提供一份公共代码于common ( #6941 )
...
整合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上基于现有移植文件进行多线程复杂场景下的长时间测试,测试过程系统运行正常。
2023-03-01 01:32:43 -05:00
Meco Man
ddccef3a64
modify RT_ALIGN_SIZE as 8 by default
2023-01-12 22:47:23 -05:00
Meco Man
592284c66c
format link scripts
2023-01-08 22:52:13 -05:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
Meco Man
8b0610fc34
[bsp][readme] 增加scons --exec-path=xxx 命令的使用说明
2022-10-10 09:42:44 +08:00
Man, Jianting (Meco)
f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 ( #6481 )
...
* [bsp][sconscript] 整理统一sconscript格式
* update
* update
2022-10-03 10:43:08 -04:00
liuxianliang
a4eb64b873
update the project for RT-Thread_V4.1.1
2022-08-16 19:38:48 +08:00
guozhanxin
e353b2d5f1
[bsp] Update all projects.
2022-03-29 19:28:06 +08:00
liukangcc
ccbd22f493
[update] refresh project
2022-01-26 18:30:23 +08:00
Man, Jianting (Meco)
bb1084556f
[console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
...
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* format codes
* [libc] 整理格式
* refresh projects
2022-01-09 00:20:32 +08:00
guo
2babfedd52
Merge pull request #5397 from liukangcc/cflag
...
[update] CFLAGS
2021-12-21 17:50:54 +08:00
Man, Jianting (Meco)
6369e89502
[posix] POSIX standard implementation for PSE51 ( #5384 )
...
* [posix] POSIX standard implementation for PSE51
- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.
* [newlib] only enable POSIX.1-1990
* update projects
2021-12-17 15:34:17 +08:00
liukangcc
b0f6c2fbae
[update] CFLAGS
2021-12-17 14:28:40 +08:00
Tangyuxin
d724eed9fc
分离内存分配接口与内存分配算法 ( #5175 )
...
* [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
2021-12-16 16:23:58 +08:00
Meco Man
879e9d4c54
更新rtconfig.h
2021-12-01 22:02:36 -05:00
guo
cda8caeda0
Merge pull request #5180 from liukangcc/bsp
...
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc
7dc99c1ff4
[update] bsp .config file and rtconfig.h file.
2021-10-14 14:49:53 +08:00
guo
b1baf42d4e
Revert "Fix compiler flags issue"
2021-10-14 14:36:18 +08:00
JCZou
0369db718c
Fix compiler flags issue
...
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
yangjie
75e4c9dd0a
[bsp]update GPL license to Apache-2.0, and format files
2021-04-09 10:52:34 +08:00
David Lin
011ed26bac
[bsp/hifive1]Fixed symbol error in interrupt.c
...
Note that the symbol ';;' is wrong in 'return (rt_uint32_t)PLIC_claim_interrupt(&g_plic);;',
so that ';;' should been replaced with ';'.
2020-02-24 20:12:23 +08:00
Ernest
7be06b67bb
[add] default environment
2019-10-22 16:48:57 +08:00
yangjie
1ef33e66cd
[bsp][Kconfig]在bsp的Kconfig中select组件初始化与user main的选项
2019-09-11 12:06:43 +08:00
LinJieqiang
d16d78c53e
fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE"
2019-09-05 08:33:12 +08:00
armink
0d7ba79219
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-06 17:54:30 +08:00
misonyo
69cd16e136
[all BSP]fix kconfig file syntax error
2019-01-16 23:23:38 +08:00
chenchaoqun@rt-thread.com
87b407ff18
【修改】.config 中RT_SERIAL_USING_DMA选项
2018-12-17 09:53:44 +08:00
chenchaoqun@rt-thread.com
bb8e89e851
【串口】宏定义对应增加
2018-12-17 09:38:53 +08:00
Bernard Xiong
36b194aeb6
[BSP] Update Hifive1 BSP with unified RV porting.
2018-12-08 10:42:40 +08:00
liruncong
fedc573768
[bsp/hifive1]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:57 +08:00
guozhanxin
dcbad84470
[bsp][hifive1]更新 README,添加编译及下载运行方法
2018-09-30 18:07:57 +08:00
guozhanxin
23e92786f3
[bsp] hifive1 update: default select debug mode and update debug flags
2018-09-30 18:07:07 +08:00
guozhanxin
f58da45090
[bsp][hifive1] add Makefile file
2018-09-30 10:33:34 +08:00
liang yongxiang
99cbadc1d9
[bsp][hifive1] remove unused code
2018-06-04 11:43:02 +08:00
liang yongxiang
43922e465e
[bsp] add new bsp: hifive1
2018-05-31 14:58:59 +08:00
liang yongxiang
be27862154
[bsp] remove hifive1 bsp
2018-05-29 12:59:19 +08:00
liang yongxiang
5faae3350c
[libcpu] remove libcpu/risc-v
2018-05-29 12:59:13 +08:00
moebius.ever
8160a4089a
fixed #1261 , modify "axf" to "elf" in rtconfig.py for GCC Toolchains configuration.
2018-03-07 15:28:51 +08:00
Bernard Xiong
2ac493698b
[BSP] cleanup for hifive1 bsp.
2017-08-26 11:02:39 +08:00
zhangjun
51bba09ad0
remove cpuusage.c
...
remove unused line in SConstruct
2017-07-31 12:17:12 +08:00
zhangjun
72cfe9dd68
modify: drivers/cpuusage.c
...
modify: ../../libcpu/risc-v/e310/stack.c
rmove unused macro definition
modify: ../../src/idle.c
Return to the original version
2017-07-31 12:05:45 +08:00
zhangjun
20f581a60d
rename bsp risc-v to hifive1
2017-07-31 11:37:23 +08:00