Commit Graph

3474 Commits

Author SHA1 Message Date
Meco Man d4a5edf074 [libc]重构_libc_init_array 防止gcc下芯片无法启动 2021-09-25 13:03:23 -04:00
Meco Man d6b60300a5 [.ignore_format] 将ignore_format分散到各个文件夹中,不必集中在根目录下 2021-09-20 15:46:53 -04:00
Meco Man 71f48266ff [libc][time] 修复数据类型报警 2021-09-18 16:46:53 -04:00
liukangcc b51602b1db [update] Add a blank line at the end 2021-09-18 09:57:35 +08:00
liukangcc 4b3df6010f Merge remote-tracking branch 'remotes/rtt_github/master' 2021-09-17 15:03:14 +08:00
liukangcc f07507a913 [update] Conflicting files 2021-09-17 14:58:15 +08:00
liukangcc a3541b2a24 [update] support armclang and c++11. 2021-09-16 09:51:33 +08:00
Meco Man 9f55c88ddd 刷新龙芯工程 2021-09-15 11:50:53 -04:00
Meco Man 5c058b624f [libc] 增加sys/select.h到partical/ls1 2021-09-15 11:12:21 -04:00
Meco Man a3dfdadb78 增加parical/ls1文件夹readme 2021-09-14 23:02:17 -04:00
Meco Man 42e61f7a63 [libc]解决龙芯内置工具链没有sys/select.h的问题 2021-09-14 22:46:06 -04:00
Meco Man aa8a493c3c move select.h to none-gcc 2021-09-14 20:49:44 -04:00
Meco Jianting Man f1088e77d1
Merge branch 'RT-Thread:master' into select 2021-09-14 18:11:44 -05: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
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
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
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 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 7c526cea93
Merge pull request #5019 from Jackistang/master
serial: add CTS/RTS flowcontrol.
2021-09-11 08:48:42 +08:00
Meco Man c1c63fc10c [serial] 优化RT_USING_POSIX_TERMIOS预编译 2021-09-09 22:41:54 -04:00
shishirong ab86b7490d fix Macro definition syntax error in ulog.c 2021-09-09 17:02:21 +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
Jackistang fca9207517 serial: add CTS/RTS flowcontrol. 2021-09-06 13:27:40 +08:00
Meco Man 099dc437ea [finsh] 恢复FINSH_USING_MSH定义以保持兼容性 2021-09-05 14:03:33 -04:00
guo 877bb072cf
Merge pull request #5014 from mysterywolf/finsh
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
2021-09-05 19:49:43 +08:00
Meco Man e18d44940f [finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题 2021-09-05 01:57:26 -04:00
guo 233b90a3ee
Merge pull request #4998 from loogg/mlw
修复 ringblk_buf 在不使用动态内存时报错的问题以及 AT 组件优化
2021-09-04 18:11:30 +08:00
malongwei f1e1b6b2e3 fix at_client.c 2021-09-03 20:16:35 +08:00
Bernard Xiong c89e7e43ed
Merge pull request #4976 from mysterywolf/finsh_kconfig
[finsh] finsh组件可以选择是否包含内置命令
2021-09-02 10:03:03 +08:00
Bernard Xiong ee2881fe7e
Merge pull request #4991 from mysterywolf/libc_dirent.h
[rtlibc] remove libc_dirent.h
2021-09-02 09:55:16 +08:00
Meco Man dd9db58a86 优化dfs.h和dirent.h的包含关系 2021-09-01 09:28:16 -04:00
malongwei c229d8b2b5 fix at_client.c 2021-09-01 21:19:22 +08:00
malongwei 5fb6cb8b41 修复ringblk_buf在不使用动态内存时报错的问题 2021-09-01 19:58:23 +08:00
guo 553b57e3a9
Merge pull request #4897 from ImFovery/master
Update sockets.c
2021-08-31 16:15:44 +08:00
Meco Man aab382c32e [rtlibc] remove libc_dirent.h 2021-08-30 22:39:14 -04:00
Meco Man 1997113fbc FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS 2021-08-28 16:48:08 -04:00