Commit Graph

3521 Commits

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