Commit Graph

13349 Commits

Author SHA1 Message Date
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
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