Commit Graph

14215 Commits

Author SHA1 Message Date
Alexey Brodkin 9fcd80a2a3 ARC: README: Fix GNU toolchain RTT_CC alias 2022-10-17 14:36:54 +04:00
Alexey Brodkin d6924d7a56 ARC: SConstruct: Fix print syntax
In Python 3.x "print" is a function, not a command,
thus it requires braces around its arguments.

Otherwise build system fails to proceed.
2022-10-17 14:35:46 +04:00
liYangYang 56794960d1
[RTduino]STM32F411对接RTduino软件包 (#6524) 2022-10-16 00:28:51 -04:00
YuQi 94221bbdd8
[bsp][c28x] 新增adc驱动 (#6520)
1. 在c28x文件目录上一层再套一层文件夹ti,目前28379的项目路径为rt-thread\bsp\ti\c28x\tms320f28379d
2. 新增adc驱动与kconfig配置
2022-10-15 00:56:00 -04:00
hg0720 76303f7bea [bsp][ch32v307]补充readme文件说明 2022-10-14 23:37:37 -04:00
Meco Man 8524e273e1 [readme] remove build status because travis-ci is ceased since 2021 2022-10-14 19:00:50 -04:00
Meco Man ee1b47d1cf [readme] add stars status 2022-10-14 19:00:50 -04:00
Yifang 71e7efd41f
[add] 瑞萨RA6M4开发板对SEGGER-RTT作为console的使用文档 (#6512)
* [add] 新增README文档说明

瑞萨RA6M4开发板对segger_rtt使用通知

* Update README.md

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-10-12 18:40:34 -04:00
朱天龙 (Armink) d480690f77 [bsp][stm32] Update the serialv2 driver for CPU Cache. Simplified the DMA receive code. 2022-10-12 14:21:41 +08:00
朱天龙 (Armink) 748f6afd5e [DeviceDriver][serialv2] Support configure when serial is open. 2022-10-12 14:21:41 +08:00
Meco Man 250de80e9a [bsp][rtduino] update readme 2022-10-12 14:20:46 +08:00
Yifang fafa611b00
[bsp][RA6M4]Add segger rtt function (#6508) 2022-10-11 23:49:11 -04:00
hg0720 90d566308d
[bsp][ch32v307]修复了模拟iic的BUG (#6505) 2022-10-11 21:35:37 -04:00
Wayne e443b56450
[bsp/nuvoton] Remove local libcpu cortex-a driver (#6504) 2022-10-10 22:42:34 -04:00
Wayne Lin ff15433cf3 Remove aarch64 CPU driver. 2022-10-11 08:59:42 +08:00
Wayne Lin d0b70ab753 Update NuWriter material.
1. DDR timing setting.
2. README.md
3. Remove unused files.
2022-10-11 08:59:42 +08:00
Wayne Lin 2d15f10385 Sync SConscript in application folder. 2022-10-11 08:59:42 +08:00
Wayne Lin 2825189542 Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
Wayne Lin ece0c6eef8 Move gtimer driver to libcpu. 2022-10-11 08:46:01 +08:00
Wayne 5d014e8d31 Revert "[libcpu] remove gtimer/pmu from cortex-a" 2022-10-11 08:46:01 +08:00
Man, Jianting (Meco) 901a24c759
[ci]add ft2004 (#6503) 2022-10-11 08:45:37 +08:00
a1012112796 ab8c1418a6 tshell is the default value of FINSH_THREAD_NAME 2022-10-10 17:48:21 -04:00
winfenggao 74fd07a565
lseek()函数中,当seek到文件的位置和当前位置相同时,不需要调用dfs_file_lseek()函数,直接返回当前位置即可。 (#6498)
当seek到文件的位置和当前位置相同时,不需要调用dfs_file_lseek()函数,直接返回当前位置即可。
同时,以lseek(fd,0,SEEK_CUR)的方式执行函数可以返回文件当前读去位置,可以实现
ftell()的功能.
以lseek(fd,0,SEEK_CUR)的方式执行函数返回文件当前位置,实现ftell()的功能时不用调用dfs_file_lseek()函数,提高效率;seek(fd,0,SEEK_CUR)本来就能返回当前位置。
2022-10-10 17:48:02 -04:00
Rbb666 0eba85eed4 修改英飞凌BSP名称 2022-10-10 08:48:10 -04:00
朱天龙 (Armink) 35c7dd6aba [ulog] fix HEX log size calculate error. 2022-10-10 08:47:41 -04:00
Man, Jianting (Meco) ed1bcfbd7e
[rtduino][BSPs] translate readme to English (#6496) 2022-10-09 21:45:25 -04:00
Meco Man 8b0610fc34 [bsp][readme] 增加scons --exec-path=xxx 命令的使用说明 2022-10-10 09:42:44 +08:00
xiaoguang_ma 80f495de4a bug fix
When detecting all SDIO devices fails, it is also necessary to return information
2022-10-09 14:55:01 +08:00
YuQi 7c122cca25
[bsp][c28x] add driver for GPIO and improve pwm's driver (#6493)
1. 增加PWM模块的配置kconfig代码
2. 调整目录结构,新增c28x文件夹,将原有tms320f28379的porting移动至c28x文件夹下,通用设备驱动移动至c28x/libraries下
3. 增加gpio驱动代码以及外部中断触发驱动代码

目前已经在tms320f28379上通过测试
2022-10-08 23:24:05 -04:00
Frank Buss e80facfd06 remove unused code to improve speed
The RT_ASSERT(obj != object) line is only compiled for debug mode.
But the rt_enter/exit_critical causes the compiler not to optimize
at least these 2 calls, even if it could optimize out the whole loop,
because the rt_list_entry function has no side effect, and RT_ASSET
is a no-operation in release mode. So this patch fixes this:
- no warnings anymore
- better speed in release mode
2022-10-08 22:37:41 -04:00
Meco Man 6b60aab136 [dist-ide] 优化导出RTThread Studio工程命令
- 导出rtstudio工程时,多增加一级目录,防止BSP本地Sconscript和导出的工程的Sconscript粘接 导致编译出错
- 增加命令别名 --dist-rtstudio 该命令和 --dist-ide命令执行一致,方便用户理解,--dist-ide IDE表示的内容过于宽泛
2022-10-08 22:33:28 -04:00
朱天龙 (Armink) a48f446a0f
[components][utilities][ulog] Improve the HEX LOG by new formater. (#6490)
- 重构格式化器
- 重写 HEX 日志功能,与标准日志使用相同的格式化器。与标准日志在日志过滤功能和日志头显示功能上一致
2022-10-08 22:33:10 -04:00
bzrobotics 560a21207e FIX: [bsp][stm32] pulse_encoder driver did not handle TIM overflow 2022-10-08 22:32:45 -04:00
chenbin182 c17d5d509f
[bsp][ch32v307] 添加can驱动 (#6484)
CH32V307 添加can驱动。
CAN1和CAN2均可以使用,而且调整好波特率
2022-10-08 22:32:29 -04:00
Man, Jianting (Meco) f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 (#6481)
* [bsp][sconscript] 整理统一sconscript格式

* update

* update
2022-10-03 10:43:08 -04:00
cy023 f741ccb400 Fix string comparison method 2022-10-01 14:00:21 -04:00
linshire e43a938ec1
[bsp][ch32v307] 修改部分菜单 (#6483)
* 修改部分菜单

* change again
2022-09-30 11:19:38 -04:00
linshire de48b65b0d
[ch32v3] 修改RT_USING为BSP_USING (#6482)
* 修改RT_USING为BSP_USING

* Update SConscript

* Update SConscript

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-30 11:07:52 -04:00
YangZhongQing b9cd2b6016 build: EndBuilding need_exit after GenTargetProject
User choice IDE build, after GenTargetProject there's no need to do the rest.
并且,既然用户指定了IDE,接下来的命令行编译却仍然是使用arm-none-eabi-gcc,为什么不是用IDE的编译器呢?(也许是个bug)
2022-09-29 21:03:38 -04:00
Meco Man 688b6e2014 [iar] PLATFOMR更正为'iccarm' 2022-09-29 20:58:34 -04:00
Meco Man 0fadf23b8d [qemu-vexpress-a9] QEMU运行时显示qemu版本号 2022-09-29 20:58:15 -04:00
cy023 b2be7eae3a fix typo 2022-09-29 11:23:48 -04:00
Alex e0294dab50
GitHub Workflows security hardening (#6472)
* build: harden action_tools.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden action.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden action_utest.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-29 01:44:28 -04:00
tyx 64a6297840 [menuconfig] Fix pyconfig running errors 2022-09-29 13:35:09 +08:00
hg0720 ee57f2d0da
[ch32v307][bsp]添加了看门狗驱动 (#6474)
添加了 ch32v307 看门狗驱动,已在 ch32v307评估板验证;
修改了 rt-thread\bsp\wch\risc-v\ch32v307v-r1\board 目录下的 Kconfig 文件;
修改了 rt-thread\bsp\wch\risc-v\Libraries\ch32_drivers 目录下的 SConscript 文件;
添加了 rt-thread\bsp\wch\risc-v\Libraries\ch32_drivers 目录下的 drv_iwdt.c 文件;
2022-09-28 21:09:53 -04:00
liYangYang 9f97906756
[GD32][BSP]添加GD32303C-START开发板 (#6465)
* first copy

* [GD32][BSP]添加GD32303C-START开发板

* 更新yml文件

* 更新scons脚本
2022-09-28 12:00:43 -04:00
Meco Man 97c483fe35 [rtduino][readme] change title 2022-09-28 02:11:35 -04:00
Tangyuxin ca30428cee
修复低概率终端无法输入问题 (#6464)
* [ulog] Fix the problem that the terminal cannot input

* [mem] Fix NULL pointer access
2022-09-27 11:11:29 +08:00
tangzz98 82bf18b771
ESP32: Support applying patch to local IDF (#6467) 2022-09-26 00:55:51 -04:00
YuQi 5debfdd84d
[TMS320F28379] implement PWM driver (#6457)
增加c28x芯片的pwm驱动
已经在TMS320F28379中通过测试
pwm设备框架增加如下方法:
#define PWM_CMD_SET_DEAD_TIME (RT_DEVICE_CTRL_BASE(PWM) + 8)
#define PWM_CMD_SET_PHASE (RT_DEVICE_CTRL_BASE(PWM) + 9)
#define PWM_CMD_ENABLE_IRQ (RT_DEVICE_CTRL_BASE(PWM) + 10)
#define PWM_CMD_DISABLE_IRQ (RT_DEVICE_CTRL_BASE(PWM) + 11)
2022-09-25 22:41:00 -04:00