guo
372858f921
[finsh] Fix formatting issues
2021-10-27 17:39:22 +08:00
Meco Man
25bd908fb7
[libc][posix] 解决RT_LIBC_USING_FILEIO范围过大的问题
2021-10-27 03:04:05 -04:00
guo
3f4eead5a7
Merge pull request #5199 from mysterywolf/removeselectpoll
...
[dfs] remove dfs_select.h and dfs_poll.h
2021-10-27 13:58:31 +08:00
guo
4d256eb308
Merge pull request #5228 from mysterywolf/posix
2021-10-27 12:22:35 +08:00
Meco Man
a9910a780e
[posix][libc] 优化libc中posix结构
2021-10-26 23:09:54 -04:00
Bernard Xiong
31bf735d21
Merge pull request #5210 from mysterywolf/workqueue
...
[workqueue] rename rt_workqueue_critical_work as rt_workqueue_urgent_work
2021-10-27 10:40:15 +08:00
guo
50bb6e33d1
Merge pull request #5212 from mysterywolf/posix
...
[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder
2021-10-26 09:37:43 +08:00
mazhiyuan
3c964519b6
[fatfs]update .ignore_format.yml
2021-10-25 16:58:27 +08:00
mazhiyuan
92ee14ff7a
update ff.c/h
2021-10-25 14:41:50 +08:00
mazhiyuan
41af944949
update ffconf.h
2021-10-25 14:10:58 +08:00
mazhiyuan
39933d7305
update ffconf.h
2021-10-25 13:58:07 +08:00
mazhiyuan
ecd84844c5
update fatfs to the latest version
2021-10-25 11:41:34 +08:00
guo
574e11f62a
Merge pull request #5183 from tfx2001/tinyusb_stm32
...
[bsp][stm32] add TinyUSB support
2021-10-25 09:57:20 +08:00
Meco Man
7f619606a1
[stm32l475] improve the structrue of sconscript
2021-10-24 16:21:21 -04:00
Meco Man
f7548b934e
[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder
2021-10-21 19:05:53 -04:00
Meco Man
e538c5aa70
[workqueue] rename rt_workqueue_critical_work as rt_workqueue_urgent_work
2021-10-20 15:48:07 -04:00
Bernard Xiong
06efd7ccf2
Merge pull request #5201 from mysterywolf/bigendin
...
[kernel] define RT_USING_BIG_ENDIAN for the long-term version
2021-10-19 14:57:20 +08:00
Meco Man
bd24c67d06
define RT_USING_BIG_ENDIAN for the long-term version
2021-10-18 17:41:14 -04:00
Meco Man
3394baedd1
[libc] put getline into posix folder
2021-10-18 17:32:42 -04:00
Meco Man
b513d37cf2
[libc][posix] create 'posix' folder and move related files into it
2021-10-17 17:19:12 -04:00
Meco Man
20924ea3f5
[dfs] remove dfs_select.h and dfs_poll.h
2021-10-17 17:16:59 -04:00
rtthread-bot
a702763dbc
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-10-15 08:20:37 +00:00
Jianting (Meco) Man
8c01acc667
Revert "[libc]&[dfs] remove unnecessary RT_USING_POSIX and RT_USING_DFS_DEVFS"
2021-10-14 20:11:01 -04:00
tfx2001
c1d3d87494
[bsp][stm32] add TinyUSB support
2021-10-15 00:49:11 +08:00
guo
1f28bd89f8
Merge pull request #5174 from mysterywolf/timewarning
...
[libc][time] Ensure the data types are consistent
2021-10-14 13:35:50 +08:00
guo
a987cfe0e6
Merge pull request #5173 from cndabai/components
...
Components编译报错
2021-10-14 13:34:26 +08:00
guo
163b4648fc
Merge pull request #5172 from mysterywolf/finsh
...
[shell] improve finsh_getchar
2021-10-14 12:01:39 +08:00
guo
78db48ba78
Merge pull request #5169 from mysterywolf/libc
...
[libc]&[dfs] remove unnecessary RT_USING_POSIX and RT_USING_DFS_DEVFS
2021-10-14 12:00:15 +08:00
mazhiyuan
f04941c951
[cdc_vcom.c]adapt to both v1 and v2 of serial
2021-10-14 11:42:05 +08:00
Meco Man
396b7da6fd
[libc][time] Ensure the data types are consistent
2021-10-13 23:24:17 -04:00
guo
5ab2901dad
Merge pull request #5168 from mysterywolf/str
2021-10-14 11:01:17 +08:00
mazhiyuan
bc5744b1ba
修复cdc_vcom.c中的一些编译问题
2021-10-14 10:58:14 +08:00
Meco Man
9fce0e5659
[shell] improve finsh_getchar
2021-10-13 22:38:01 -04:00
mazhiyuan
0a7280f161
修复开启RT_USING_DEVICE_OPS时ecm.c报错
2021-10-14 10:36:38 +08:00
mazhiyuan
26ab85d50c
修复phy中device->ops的错误
2021-10-14 10:28:19 +08:00
guo
33263d7e4e
Merge pull request #5166 from liukangcc/finsh
...
[update] fix finsh_getchar() 未对 shell->device 为空处理的问题
2021-10-14 10:05:03 +08:00
liukangcc
c99dfc3147
[update] fix finsh_getchar() 未对 shell->device 为空处理的问题
2021-10-14 09:43:46 +08:00
guo
ba5c623139
Merge pull request #5164 from Guozhanxin/cpp11_armclang
2021-10-14 07:57:24 +08:00
Meco Man
8f6260146c
[libc][win32] improve win32 support
2021-10-13 15:29:01 -04:00
Meco Man
a354f846e8
[libc]&[dfs] remove unnecessary RT_USING_POSIX and RT_USING_DFS_DEVFS
2021-10-13 15:21:41 -04:00
guozhanxin
bf8afd09f3
[update] Adjust C++11 Kconfig option name
2021-10-13 16:03:43 +08:00
guozhanxin
8c4cdceb20
[fix] armclang cpp11 build error.
2021-10-13 16:03:09 +08:00
Bernard Xiong
0873b8163b
Merge pull request #5162 from xiangxistu/cxx_pthread
...
[modify] those file name is risky if you use both "c++" and "POSIX pthread".
2021-10-13 15:41:36 +08:00
Bernard Xiong
0c82690f32
Merge pull request #5160 from cndabai/bsp
...
修复部分bsp编译报错
2021-10-13 15:40:38 +08:00
liuxianliang
9f2616e323
[modify] those file name is risky if you use both "c++" and "POSIX pthread".
2021-10-13 15:20:29 +08:00
Meco Man
b6c2368bef
[libc][keil] remove libc_stdio_read() in __MICROLIB
2021-10-12 23:06:19 -04:00
mazhiyuan
99e9ea61bc
修复部分bsp编译报错
2021-10-13 11:02:01 +08:00
Lim-LinYuanbo
06fdc108b4
解决无法dist问题 ( #5150 )
...
* first commit, keil test pass
* feat : n32g452xx direct structure base at32
1. 重新整理目录结构
* feat : 基于AT32,将各驱动移植整改待验证
1. 部分驱动已经整改,但未验证
2. 根据AT32整改目录结构
* feat : add README document
1. 完善配置文件
2. 添加说明文档
* feat : 验证添加的驱动
1. UART 1-3 验证通过
2. ADC 1-2 CH 6-9 验证通过
3. TIM 6-7 验证通过
* feat : complete readme document
* feat : format code
1. ref https://github.com/mysterywolf/formatting
* feat : 完成PWM驱动移植与自测
1. 添加PWM测试代码
2. 修正PWM驱动周期与脉冲错误问题
* feat : 删除多余代码与多余的文件,修正注释与函数命名
* feat : fix tim channel comment
* feat : 完成DEMO测试例子
1. 完成MAIN函数中的LED测试例子
2. 完善README文档
3. 更新添加许可文件
* feat : 根据BSP提交自查完善固件
1. 添加.ignore_format.yml文件
2. 修正main.c的注释
* feat : add last line in .ignore_format.yml
* feat : delet file_path in .ignore_format.yml
* fix: gPIO/ADC driver
1. add ADC temperature&vref channel.
2.add GPIO IPD/OD configration
* fix: 解决告警
1. 解决告警(rt_drv_pwm.c: warning: implicit declaration of function 'atoi')
* feat: add scons --dist function
* fix: 解决MDK5无法编译问题
* perf: delete invalid code
Co-authored-by: linyuanbo_breo_server <linyuanbo@breo.com.cn>
2021-10-12 14:35:01 +08:00
tangyuxin
08e5e9d25f
[bsp][simulator] Fix compilation errors
2021-10-11 20:09:47 +08:00
guo
39197b438d
Merge pull request #4885 from willianchanlovegithub/WillianChan
...
[add][components][utilities]Add the Var Export component
2021-10-11 11:02:14 +08:00
Bernard Xiong
e0c7371b02
Merge pull request #5114 from armink/fix_ulog
...
[utilities][ulog] Increase the usec check time.
2021-10-11 01:53:21 +08:00
Bernard Xiong
9c90f5cab0
Merge pull request #5122 from mysterywolf/libc
...
[libc][newlib]在不开启libc的情况下,依然定义RT_USING_NEWLIB和数学库
2021-10-09 23:50:13 +08:00
armink
1f5a4ffe02
[utilities][ulog] Increase the usec check time.
2021-10-09 16:55:46 +08:00
shishirong
797c80a7cb
fix ulog compile error.
2021-10-08 10:03:01 +08:00
Meco Man
11d193ea9b
[libc][newlib]在不开启libc的情况下,依然定义RT_USING_NEWLIB和数学库
2021-10-05 10:35:27 -04:00
armink
75e0ec124f
[components][time] Revert the old code.
2021-09-29 18:19:13 +08:00
armink
816a99d88e
[DeviceDriver][RTC] Add RT_DEVICE_CTRL_RTC_GET_TIMEVAL and RT_DEVICE_CTRL_RTC_SET_TIMEVAL ops
2021-09-29 17:52:10 +08:00
armink
ff0b6d241b
[DeviceDriver][RTC] Remove RT_DEVICE_CTRL_RTC_GET_TIME_US and RT_DEVICE_CTRL_RTC_SET_TIME_US. Add RT_DEVICE_CTRL_RTC_GET_TIMEVAL and RT_DEVICE_CTRL_RTC_SET_TIMEVAL. The RT_DEVICE_CTRL_RTC_GET_TIMEVAL cmd can get second time and microsecond time.
2021-09-29 17:12:27 +08:00
Meco Man
c80688126a
[libc] 优化system 支持gcc
2021-09-27 22:20:21 -04:00
Meco Jianting Man
ebdf19bf0f
Merge branch 'RT-Thread:master' into part
2021-09-27 21:12:08 -05:00
Meco Man
8b17d53da7
[libc]新建gcc文件夹,将newlib和partical文件夹并入
2021-09-27 16:40:12 -04:00
Meco Man
54e30edd88
[libc] 支持system函数
2021-09-27 16:12:37 -04:00
guo
4c1c946ba3
Merge pull request #5068 from liukangcc/time
...
[update] enable asctime_r function parameter legal.
2021-09-27 21:37:36 +08:00
Meco Man
0a799653df
[libc][syscalls]将在libc初始化之前调用printf的行为下调为警告级别
2021-09-27 07:49:25 -04:00
Meco Man
a74b0ae388
[libc][time]优化警告输出内容
2021-09-27 07:40:24 -04:00
Meco Jianting Man
37d4abb822
Merge branch 'master' into libc_stdio
2021-09-27 06:16:39 -05:00
Meco Man
8e287cfdf7
[libc][newlib][syscalls] fileno(stdout)->STDOUT_FILENO
2021-09-27 07:14:07 -04:00
Meco Man
86bb54fde6
[libc][syscalls] 在标准输入输出前加校验,反正在libc初始化之前调用printf出问题
2021-09-27 06:51:40 -04:00
Bernard Xiong
7b6aff0696
Merge pull request #5092 from mysterywolf/removeselect
...
[libc标准化]脱敏dfs_select.h 由标准sys/select.h代替
2021-09-27 17:54:28 +08:00
liukangcc
169b09004e
[update] asctime_r return value.
2021-09-27 14:26:06 +08:00
Bernard Xiong
2be7621330
Merge pull request #5101 from mysterywolf/libcusingtimesss
...
[libc]在开启libc后依然保持RT_LIBC_USING_TIME定义存在
2021-09-27 14:15:03 +08:00
Bernard Xiong
c6a40b77c8
Merge pull request #5098 from mysterywolf/simulator
...
[bsp][simulator] 消除大部分编译错误
2021-09-27 14:14:42 +08:00
Bernard Xiong
f44f4dfd74
Merge pull request #5099 from mysterywolf/fatfs
...
[fatfs] 修改互斥保护超时时间, 并将超时时间改为Kconfig可配置
2021-09-26 06:57:26 +08:00
Meco Man
df04d97026
[libc]在开启libc后依然保持RT_LIBC_USING_TIME定义存在
2021-09-25 15:03:57 -04:00
Meco Man
a0e800617c
[libc][newlib] 优化syscall 将minilib.c并入syscalls.c
2021-09-25 14:56:10 -04:00
Meco Man
1d00635ee9
[fatfs] 互斥量保护超时可通过Kconfig配置时间
2021-09-25 13:45:55 -04:00
Meco Man
d4a5edf074
[libc]重构_libc_init_array 防止gcc下芯片无法启动
2021-09-25 13:03:23 -04:00
Meco Man
32e9aa21c4
[fatfs] 修复time相关函数开启条件
2021-09-25 12:15:41 -04:00
Meco Man
50e215cfd4
[dfs][filesystems] 增加format_ignore文件,排除fatfs格式检查
2021-09-25 12:00:44 -04:00
Meco Man
cba2dd9016
[fatfs] 修改互斥保护超时时间
...
防止因一些正常复杂耗时操作,导致fatfs认为 timeout failure。
2021-09-25 11:59:13 -04:00
Meco Man
d60c968902
[libc] 优化fcntl.h定义
2021-09-24 23:41:09 -04:00
Meco Man
ee4b7916a3
[libc标准化]脱敏dfs_select.h 由标准sys/select.h代替
2021-09-22 16:45:21 -04:00
Meco Man
c8c632512a
[libc][syscall]移除libc_stdio_read/write函数,优化syscall
2021-09-21 12:51:26 -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
c447018c40
Merge remote-tracking branch 'remotes/rtt_github/master'
2021-09-17 15:12:52 +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
liukangcc
2adfbcaeca
[update] enable asctime_r function parameter legal.
2021-09-15 14:19:26 +08: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
WillianChan
e53ae3ddfa
[modify][components][utilities]check if the ve_exporter_num is out of bounds.
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-09-02 20:03:22 +08:00
WillianChan
4b2913a898
[modify][components][utilities]add qemu-a9 section information for var export and fix some problems.
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-09-02 18:06:38 +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
WillianChan
a3ef89071b
[modify][components][utilities]modify error code
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-08-31 17:32:34 +08:00
WillianChan
5a020de4e8
[modify][components][utilities]Modify the gcc section definition of a Var Export component
2021-08-31 17:23:48 +08:00
WillianChan
9f543f7065
[add][components][utilities]Add the Var Export component
...
Signed-off-by: WillianChan <willianchan_lovelife@foxmail.com>
2021-08-31 17:23:48 +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
Meco Man
3d5582380d
[finsh] 整理Kconfig 层次更分明
2021-08-26 10:08:12 -04:00
Meco Man
29828dc94f
[finsh] finsh组件可以选择是否包含内置命令
2021-08-25 19:48:15 -04:00
Bernard Xiong
bd44c1e590
Merge pull request #4970 from cndabai/master
...
Remove C Style Command Shell
2021-08-25 19:03:52 +08:00
马志远
782c288db6
Repair that the tab key on msh do not work.
2021-08-25 09:31:35 +08:00
guozhanxin
9e558ab130
【utest】fix TC_FAIL_LIST_MARK_FAILED 下标计算错误的问题
2021-08-24 17:06:51 +08:00
Bernard Xiong
3dc188fb7a
Merge pull request #4943 from chenyingchun0312/develop
...
【doc】add the comments of device-ipc completion
2021-08-24 09:57:12 +08:00
Bernard Xiong
531fa99dc3
Merge pull request #4966 from mysterywolf/ioctl
...
[ioctl] implement function of getting window's size(TIOCGWINSZ)
2021-08-24 09:45:20 +08:00
chenyingchun0312
39689ea5ed
Merge branch 'develop' of https://github.com/chenyingchun0312/rt-thread into develop
2021-08-23 18:54:03 +08:00
陈迎春
f0c963bf53
Merge branch 'RT-Thread:master' into develop
2021-08-23 18:53:42 +08:00
chenyingchun0312
5e02709c55
【doc】update completion.c comments
2021-08-23 18:52:31 +08:00
马志远
8a1e6c01ac
Disable FINSH_FUNCTION_EXPORT
2021-08-23 18:37:58 +08:00