Commit Graph

12597 Commits

Author SHA1 Message Date
Ouxiaolong 9386c4f6f8 add gd32407v-start 2021-09-11 19:01:59 +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
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
WUSY1991 05bf7e61f6 add yichip/yc3121-pos bsp 2021-09-10 19:41:22 +08:00
liukangcc 48c7a455e6 [update] src/thread.c function description. 2021-09-10 18:18:37 +08:00
liuhy 870f82190a update applications/main.c 2021-09-10 18:15:33 +08:00
liuhy 0f6a753992 update es32f0654 , es32f369x drivers. 2021-09-10 18:13:18 +08:00
liuhy ca77bbfb0a update es32f0654 , es32f369x libraries 2021-09-10 18:09:25 +08:00
guozhanxin e6f5282f6e [kernel] Improve the code comment of the cpu.c 2021-09-10 18:08:32 +08:00
liuhy d77b9d8234 delete essemi bsp es32f0334 (all) 2021-09-10 18:05:17 +08:00
liuhy 7d5a97e3ea delete essemi bsp es32f0334 (libraries) 2021-09-10 18:04:14 +08:00
liuhy aa55441a03 delete essemi bsp es32f0271 (all) 2021-09-10 18:03:02 +08:00
liuhy 056caf7a2f delete essemi bsp es32f0271 (libraries) 2021-09-10 18:01:04 +08:00
liuhy 7f97f62a94 delete essemi bsp es8p508x (all) 2021-09-10 17:59:34 +08:00
liuhy 28b7723256 delete essemi bsp es8p508x (libraries) 2021-09-10 17:58:56 +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
charlown 5ce84153f3 [bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f10x.c]:rename func: ch32f1_hwtimer_clock_init, ch32f1_hwtimer_clock_get, hwtimer and pwm will be use it. change some code annotation.
[bsp/wch/arm/ch32f103c8-core]: rename func.
2021-09-10 17:12: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
FuChao 850815db62 增加GPIO中断 2021-09-10 11:21:47 +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
FuChao 3c1c2d4ff3 花括弧换行;ignore_format.yml以空行结束 2021-09-09 21:50:53 +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