Commit Graph

12346 Commits

Author SHA1 Message Date
guo 160d448660
Merge pull request #5051 from mysterywolf/be_libc
[libc标准化] 使用标准poll.h代替dfs_poll.h
2021-09-13 10:45:09 +08:00
Bernard Xiong 38baf89da4
Merge pull request #5053 from mysterywolf/posix
[libc标准化] 将dfs_posix.h的函数声明转移到unix标准头文件中
2021-09-13 08:11:26 +08:00
guo 00eaeb5f52
Merge pull request #5052 from mysterywolf/headfile
[remove rtlibc]修复缺失的头文件导致的报错
2021-09-12 13:08:06 +08:00
Meco Man c48445a5f7 [标准化libc] fix CI warning 2021-09-11 18:33:46 -04:00
Meco Man 2c525ecd43 将dfs_posix.h的函数声明转移到unix标准头文件中 2021-09-11 15:42:37 -04:00
Meco Man b35fffd659 [remove rtlibc]修复缺失的头文件导致的报错 2021-09-11 14:43:09 -04:00
Meco Man c360688714 使用poll.h代替dfs_poll.h 2021-09-11 11:56:54 -04:00
Meco Man 92c62a8fab 标准化<poll.h> 弱化<dfs_poll.h> 2021-09-11 11:25:43 -04:00
Bernard Xiong ee55c58ce4
Merge pull request #5050 from mysterywolf/libc
[remove rtlibc] 修复keil编译不过的问题
2021-09-11 21:47:11 +08:00
Meco Man b5c31a9878 [libc] 修复keil编译不过的问题 2021-09-11 08:45:06 -04:00
Bernard Xiong f8a991d092
Merge pull request #5036 from mysterywolf/serial
[serial] 优化RT_USING_POSIX_TERMIOS预编译
2021-09-11 20:03:15 +08:00
Bernard Xiong 4423b487c5
Merge pull request #5044 from BernardXiong/libc_pr
[libc] remove rtlibc
2021-09-11 20:00:39 +08:00
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
BernardXiong 0b13409c16 [BSP] fix compiling issue with libc 2021-09-11 18:09:22 +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
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
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
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
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
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
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
charlown 7aa4dfec8b [wch/arm/ch32f103c8-core]:format board/Kconfig, format README.md. 2021-09-07 16:11:07 +08:00
wenbodong2015 ae926ab39f 补充Copyright和文末空格 2021-09-07 15:47:28 +08:00
wenbodong2015 1b472e988c 再次解决 HC32L196 scons编译问题 2021-09-07 11:34:14 +08:00
wenbodong2015 38bd06cc17 解决 HC32L196 scons编译问题 2021-09-07 11:19:47 +08:00