Commit Graph

3665 Commits

Author SHA1 Message Date
Bernard Xiong f11113f557
Merge pull request #5277 from mysterywolf/compatibility
implement legacy support
2021-11-24 17:37:25 +08:00
Bernard Xiong 64023c38f7
Merge pull request #5283 from mysterywolf/dfs
[dfs] move dfs back
2021-11-24 17:37:03 +08:00
ousugo 02ca44bf1f Fix annotation grammatical mistake 2021-11-24 15:21:30 +08:00
ousugo 1deaa8fe50 Update annotation format 2021-11-24 14:19:25 +08:00
ousugo 2c2a1fe64e Update annotation format 2021-11-24 14:14:45 +08:00
Meco Man a1cc3d43e7 modify time.h to sys/time.h 2021-11-23 22:38:00 -05:00
ousugo afdbee97ed fix extra space 2021-11-23 16:40:55 +08:00
ousugo dc1f2631ee Add dataqueue.c function annotation 2021-11-23 16:05:17 +08:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
Bernard Xiong fede47a7f9
Merge pull request #5282 from xiangxistu/lwip
ping cmd with specified netif in lwip-2.1.2
2021-11-17 16:03:38 +08:00
Meco Man 040f05f40d [sfud][cfg] 取消rt_kprintf声明 2021-11-16 12:12:47 -05:00
Meco Man 973f25901c [dfs] move dfs back 2021-11-16 00:57:56 -05:00
Bernard Xiong 0bcab2892a
Merge pull request #5268 from mysterywolf/SYSCALL
[libc]重新梳理read write桩函数实现
2021-11-15 23:27:27 +08:00
Bernard Xiong 6f297bd2aa
Merge pull request #5267 from mysterywolf/libc-fcntl.h
[libc] 修复在fcntl.h中两种不同的宏编码方式导致的bug
2021-11-15 23:18:28 +08:00
Meco Man 4fe93881b0 [dlib][armlibc] 内存函数在HEAP没有开启时增加错误警告 2021-11-15 09:55:47 -05:00
liuxianliang 8e518f234a [fix] format 2021-11-15 15:58:31 +08:00
yukelab be2006f325 fix sys_arch.c 2021-11-15 15:30:21 +08:00
yukelab cda78884aa ping cmd with specified netif in lwip-2.1.2
using LWIP_HOOK_IP4_ROUTE_SRC hook find specified netif route, using
cmd `ping 192.168.xx.xx e0`, ping dest using e0 netif. if not found
netif, using default netif, the effect is same as the cmd `ping 192.168.xx.xx` that only ping with default netif.
2021-11-15 15:30:20 +08:00
Meco Man c6c1544c84 implement legacy support 2021-11-14 23:51:05 -05:00
Wayne 17cbdda13d
Merge branch 'RT-Thread:master' into nuvoton 2021-11-15 11:28:34 +08:00
Meco Man 9254d1a3af [iar][syscalls] 补充注释 2021-11-13 10:16:31 -05:00
Meco Man 215d1d4c6e [libc][kconfig] update Kconfig 2021-11-13 00:17:16 -05:00
Meco Man 3a3b7ee632 完善IAR KEIL的read write桩函数 2021-11-12 16:47:32 -05:00
Meco Man cb8d5c5d9d [libc][gcc] 重新梳理fread fwrite桩函数实现 2021-11-10 18:33:43 -05:00
Meco Man 09666e6b99 [libc] 修复在fcntl.h中两种不同的宏编码方式导致的bug 2021-11-10 17:16:33 -05:00
Meco Man 52bbd9d715 [posix] implement delay functions as RT_USING_POSIX_DELAY 2021-11-10 14:12:36 -05:00
Bernard Xiong e6ae01e332
Merge pull request #5259 from mysterywolf/posix
[posix] 优化posix若干
2021-11-10 22:23:43 +08:00
Wayne Lin 9b44e57a60 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton 2021-11-10 16:01:38 +08:00
Meco Man 219d1e20f5 move mmap to src folder 2021-11-09 22:59:31 -05:00
Meco Man 2b7d12661e remove RT_USING_LIBC from dfs_fs.h 2021-11-09 18:40:53 -05:00
guo 7dd686faa7
fix sensor_cmd.c build error. 2021-11-09 20:37:16 +08:00
Jianting (Meco) Man 80750271c9
revert kconfig of pthread 2021-11-08 21:14:01 -05:00
Jianting (Meco) Man 1a9729f45e
[libc][posix] add readme 2021-11-08 14:15:56 -05:00
Meco Man aa83b929d1 select RT_USING_POSIX_STDIO for RT_LIBC_USING_FILEIO 2021-11-08 14:11:09 -05:00
Meco Man 74669b3f1d update vexpress-a9 2021-11-08 11:07:54 -05:00
Meco Man 1adcc181aa add delay.c as default 2021-11-08 10:52:37 -05:00
Meco Man f8388c572e add RT_USING_POSIX_STDIO 2021-11-07 23:41:16 -05:00
Meco Man 251e17b41a 调整SAL依赖项 2021-11-07 21:29:28 -05:00
Meco Man 2639171885 add RT_USING_POSIX_DELAY 2021-11-07 21:10:29 -05:00
Jianting (Meco) Man 910961c091
Merge branch 'master' into posix 2021-11-07 20:54:16 -05:00
Meco Man 664a1d6a75 增加 RT_USING_POSIX_SELECT RT_USING_POSIX_POLL 2021-11-07 20:53:57 -05:00
Meco Man f0023fb42c 删除gettid等不符合PSE51的函数 2021-11-07 20:46:17 -05:00
Meco Man 0009d1f393 [posix]将pthread收缩到posix选项之下,将选定DFS后由DFS选定POSIX 改为选择posix后选择dfs 2021-11-06 19:32:57 -04:00
Meco Man 3c232125db [bsp][simulator] update project 2021-10-29 09:59:45 -04:00
guo 51d5930aa3
Merge pull request #5244 from mysterywolf/libccc
[libc][posix] move libc.c/.h to posix folder
2021-10-28 20:43:14 +08:00
Meco Man 7b43cf9793 [libc][posix] move libc.c/.h to posix folder 2021-10-28 02:54:45 -04:00
Jianting (Meco) Man 702b91c3ce [dfs] 保留dfs_poll.h dfs_select.h,加warning提示 2021-10-27 23:44:46 -04:00
Meco Man 4b9fb8f39c [libc] 消除代码中依赖于RT_LIBC_USING_FILEIO的判断 2021-10-27 21:50:17 -04:00
guo bb859e79e0
Merge pull request #5223 from cndabai/fatfs
update fatfs to the latest version
2021-10-27 18:24:37 +08:00
guo 4107d7bea2
Merge pull request #5236 from mysterywolf/posix
[libc][posix] 解决RT_LIBC_USING_FILEIO范围过大的问题
2021-10-27 18:06:54 +08:00
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