Commit Graph

12505 Commits

Author SHA1 Message Date
Sherman d586417bb7 [kservice] 完善 API 注释 2021-09-14 11:32:11 +08:00
guo 8e3112003c
Merge pull request #5038 from liukangcc/annotation
[update] src/thread.c function description.
2021-09-14 07:25:10 +08:00
guo a8fd81f0c0
Merge pull request #5049 from StackRyan/mm32_dev
[bsp]add mindmotion MM32F103xx BSP.
2021-09-14 07:19:38 +08:00
Meco Man dc5ee9ade7 [libc标准化] 将dfs_select.h功能转移到sys/select.h 2021-09-13 13:08:03 -04:00
Meco Man e91ffdd1a0 [libc] fix the conflict warning of read and write functions 2021-09-13 11:39:04 -04:00
yanmowudi bdc34dac30 formatting 2021-09-13 21:04:42 +08:00
yanmowudi 208eb0a385 修复RTC问题,增加GCC工具链 2021-09-13 20:19:14 +08:00
yangjie fe5d506ef2 【增加】memheap.c 2021-09-13 16:20:31 +08:00
liukangcc 202b23371d [update] thread.c api annotation. 2021-09-13 13:58:18 +08:00
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
FuChao f4305df3f5 更正keil5编译时不能自动加入startup的问题 2021-09-12 10:38:52 +08:00
FuChao 1b52935dc8 增加串口5,串口中断已可用 2021-09-12 10:38:09 +08:00
FuChao ea5d55e7de fix GPIO define 2021-09-12 10:36:14 +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
StackRyan cde09c7e19 [add]add bsp/mm32f103x/.ignore_format.yml for ci ignorance. 2021-09-11 20:36:48 +08: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
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
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
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