Commit Graph

12403 Commits

Author SHA1 Message Date
BernardXiong 51e0559631 [utest] fix libc issue 2021-09-11 18:34:13 +08:00
BernardXiong 99804fa19a [bsp] fix formatting issue in mini2440 bsp 2021-09-11 18:32:01 +08:00
Bernard Xiong 8907d32167
Merge pull request #5045 from grissiom/fix-ethnetif
[Netif] Fix the eth_tx_msg protection
2021-09-11 18:14:29 +08:00
StackRyan 9033979539 [bsp]add mindmotion MM32F103xx BSP. 2021-09-11 18:13:25 +08:00
BernardXiong 0b13409c16 [BSP] fix compiling issue with libc 2021-09-11 18:09:22 +08:00
yangjie 464d0c5a97 [kernel] update comments 2021-09-11 16:40:56 +08:00
BernardXiong 3dc820b371 [drivers] fix stdint issue in cputime 2021-09-11 16:00:00 +08:00
BernardXiong a25dbad37f [libdl] fix formatting issue 2021-09-11 15:58:18 +08:00
Grissiom 1ebf7b5196 [Netif] Fix the eth_tx_msg protection
The ethernetif use semaphore netif->tx_ack to protect the local variable
`struct eth_tx_msg msg` in function `ethernetif_linkoutput`. But the
function could be called in multiple context: LwIP "tcpip" thread, "erx"
thread(on linkup) and any user thread that call `udp_sendto`. So the
global semaphore protection is not sufficient. It could only wakeup the
top priority waiting thread instead of the thread that owns the `msg`
and may result the `msg` next in the mailbox got destructed.

So to use a `rt_completion` within the `struct eth_tx_msg` and
synchronize on that. This could deal the ownership issue in an easy way.
2021-09-11 13:11:57 +08:00
Bernard Xiong 8da9f78d72 [libc] remove rtlibc 2021-09-11 11:07:51 +08:00
Bernard Xiong 6af6a88d33
Merge pull request #4993 from charlown/master
support ch32f10x family, add ch32f103c8-core bsp
2021-09-11 09:19:22 +08:00
Bernard Xiong 7c526cea93
Merge pull request #5019 from Jackistang/master
serial: add CTS/RTS flowcontrol.
2021-09-11 08:48:42 +08:00
liukangcc 48c7a455e6 [update] src/thread.c function description. 2021-09-10 18:18:37 +08:00
guozhanxin e6f5282f6e [kernel] Improve the code comment of the cpu.c 2021-09-10 18:08:32 +08:00
yangjie 5de6996670 [kernel]update format 2021-09-10 17:51:52 +08:00
yangjie a912a2f88f [kernel]Normalized kernel API annotation 2021-09-10 17:31:31 +08:00
guozhanxin e562c6f24b [kernel] 裁剪尾随空格 2021-09-10 16:31:31 +08:00
guozhanxin ce1402f773 [kernel] Improve the code comment of the components.c 2021-09-10 15:52:50 +08:00
guozhanxin 921e6057aa [clock] Improve the code comment of the clock.c 2021-09-10 15:52:03 +08:00
guo 45440d2456
Merge pull request #5037 from Rbb666/master
添加ART-PI在rtthread主分支的bsp模板。
2021-09-10 14:55:11 +08:00
Rbb666 b31ef3c3f0 删除了board.h中多余的定义 2021-09-10 14:17:33 +08:00
Rbb666 334e3e238c 已验证ART-PI在rtthread主分支的I2C驱动,增加kconfig中I2C的配置。 2021-09-10 14:04:36 +08:00
lza1205 01b63b907e [bsp] gd32107c-eval 修改PR审核意见 2021-09-10 12:10:53 +08:00
lza1205 64c828666d [bsp] add gd32107c-eval first commit 2021-09-10 12:10:40 +08:00
Rbb666 1be660cfc3 修改kconfig,目前只保留验证RTC配置 2021-09-10 10:45:37 +08:00
Meco Man c1c63fc10c [serial] 优化RT_USING_POSIX_TERMIOS预编译 2021-09-09 22:41:54 -04:00
Rbb666 1d4b298056 Merge branch 'master' of github.com:Rbb666/rt-thread 2021-09-10 10:25:22 +08:00
Rbb666 efbac1c283 已完成ART-PI在rtthread主分支的bsp模板,同时已经验证通过RTC外设。 2021-09-10 10:23:22 +08:00
guo 54b7814880
Merge pull request #5034 from shishirong/master
fix Macro definition syntax error in ulog.c
2021-09-10 09:39:13 +08:00
Lim-LinYuanbo 77638c1787
添加 N32G452 最小系统 BSP 源码 (#4959)
[add] N32G452 BSP
2021-09-09 20:31:17 +08:00
Ouxiaolong a686bfa4c3 add gd32407v-start 2021-09-09 20:23:44 +08:00
ze9hyr 7d8cfef866 删除driver中的led相应文件改成直接使用pin操作 2021-09-09 18:38:43 +08:00
shishirong ab86b7490d fix Macro definition syntax error in ulog.c 2021-09-09 17:02:21 +08:00
guo 714fee0020
Merge pull request #5032 from liukangcc/utest
[UPDATE] mailbox testcase.
2021-09-09 13:37:36 +08:00
liukangcc bf94a69afd [add] mailbox testcase. 2021-09-09 10:27:48 +08:00
guo 5a74bf33d9
Merge pull request #5020 from tyustli/mutex_tc
[add] utest kernel mutex_tc.c file
2021-09-09 10:04:20 +08:00
Ouxiaolong 77638c9526 add gd32407v-start 2021-09-08 20:45:35 +08:00
xiaoqin 7fa1c819ee
add bsp of tae32f5300 (#5015)
* add bsp of tae32f5300

* [tae32f5300]Modify the format of the bsp of tae32f5300

* [tae32f5300]Remove the compilation scripts of gcc and iar

* [tae32f5300]Resolve conflicts of action.yml secondly
2021-09-08 17:04:39 +08:00
ze9hyr 0c25d7c82b 1. GCC工具链中入口函数修改;2. SConscript中大小写修改 2021-09-08 16:48:45 +08:00
charlown 84111766f9 [bsp/wch/arm/Libraries/ch32_drivers]: support ch32f10x hwtimer.
[bsp/wch/arm/ch32f103c8-core]: add hwtimer1~4.
2021-09-08 16:45:55 +08:00
ze9hyr 563d11f8cd 警告消除及代码格式化
修改文件头信息

修改ACM32F030 BSP的文件格式

新增BSP驱动中的lib文件

IAR和GCC支持备份

1. 修复不能包含HAL_EFLASH.h问题, 2. 消除GCC编译的几个警告

1. gcc启动文件重命名;2. 文件头信息修改; 3. 硬件timer支持修改

移动 .ignore_format.yml到bsp的目录下

修改目录成相对目录
2021-09-08 13:10:39 +08:00
tyustli 0b55a75211
[fix] change chinese comment to english and fix some wrong character 2021-09-08 12:25:16 +08:00
guo 42c0144319
Merge pull request #5023 from wenbodong2015/BSP_HC32L196
创建 HC32L196 bsp, 实现 uart 和 gpio 驱动
2021-09-08 10:06:07 +08:00
Bernard Xiong 45f9f38fbc
Merge pull request #5026 from BernardXiong/master
[BSP] Enable romfs in x86 BSP
2021-09-07 21:14:03 +08:00
BernardXiong bfc1c6152e [BSP] Enable romfs in x86 BSP 2021-09-07 20:47:56 +08:00
Bernard Xiong 5595df0b8b
Merge pull request #5016 from mysterywolf/finsh
[msh] add comments
2021-09-07 20:25:26 +08:00
Meco Man e4a404c3ef [msh] add comments 2021-09-07 08:11:51 -04:00
wenbodong2015 3ec0a46f23
Merge branch 'master' into BSP_HC32L196 2021-09-07 17:44:33 +08:00
Bernard Xiong 9ef0c94eca
Merge pull request #5018 from mysterywolf/ignore
[.gitignore] 增加dist_ide_project目录(studio dist出来的独立工程目录)
2021-09-07 17:19:25 +08:00
Bernard Xiong 7245922a5b
Merge pull request #5013 from GoldBr1987/master
HC32F460PETB移植rt-thread。移植验证通过pin驱动,uart驱动(包含uart1,2,3,4),默认使用uart4。
2021-09-07 17:19:12 +08:00