Commit Graph

6274 Commits

Author SHA1 Message Date
xiaoxiaolisunny af82606dd3
[bsp][hc32]添加hc32f460系列WDT外设驱动 (#6158)
* 添加hc32f460系列外设WDT驱动

* format kconfig

* Update drv_wdt.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-02 22:46:35 -04:00
dongly 3363586cbb
Fix some compilation warning (#5744)
* Fix some compilation warning

* 补充修正一些数据类型的使用错误

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-02 12:09:49 -04:00
hipeanut 7882e42c61
[bsp/raspi3-32] fix some bug of funtion '__rt_ffs' (#6187)
* [bsp/raspi3-32] fix some bug of funtion '__rt_ffs'

* Update trap.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-01 23:18:17 -04:00
liyangyang 2a7da005ba perfect bsp 2022-08-01 23:14:35 -04:00
emuzit a881c05e58
ch569w-evt : add spi master driver, SPI0 tested (#6205)
* ch569w-evt : add spi master driver, SPI0 tested

* Update bsp/wch/risc-v/ch569w-evt/board/Kconfig

* Update bsp/wch/risc-v/ch569w-evt/board/Kconfig

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-01 22:36:49 -04:00
Meng 9673f060f1
[bsp][stm32] 更新f407-robomaster-c板的bsp, 添加stm32定时器8 pwm默认配置 (#6201)
* [bsp][stm32] f407-robomaster-c板, 添加stm32定时器8pwm默认配置

* tab -> space

* 取消DFS选定

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-01 00:21:41 -04:00
SC-201611121359\Administrator f4f1a88975 增加 F4 GCC 启动文件。
修改 F1/F4 配置文件uart改为uart1。
修改 F1/F4 main 打印内容。
2022-07-31 23:30:33 -04:00
梁生 c7ce44ab3a [bsp/hc32]添加timerA的pwm驱动 2022-07-31 23:14:13 -04:00
JamieTx 50d514a8a4 modify precompile waring for uart,spi driver. 2022-07-30 14:53:34 -04:00
emuzit c802fcdcf8
WCH CH569W-R0-1v0 evt board bsp port, first version (#6167)
WCH CH569W-R0-1v0 evt board bsp port, first version

dev/test under Ubuntu 20.04
toolchain from MounRiver_Studio_Community_Linux_x64_V120

tested drivers : SysTick, gpio, gpio interrupt, uart1 (RX interrupt, TX polling)

libcpu/risc-v/SConscript :
group includes rtconfig.CPU only if folder exists

libcpu/risc-v/common/cpuport.c/rt_hw_context_switch_interrupt() :
make it RT_WEAK for customization
2022-07-30 02:10:51 -04:00
Not Black Magic 226b3e1979
[bsp/imxrt/imxrt/imxrt1060-nxp-evk] (#6195)
Fix BSP bugs:
-Added Touch INT GPIO Init code to pin_mux.c
-Added new delay code for touch/video driver, using the rt-thread delay, in touchpad.c/.h
2022-07-30 02:06:09 -04:00
GUI 747ed9b516
[bsp/qemu-virt64-aarch64] Update drivers' code (#6194)
* [bsp/qemu-virt64-aarch64] RTC add hard alarm support

* [bsp/qemu-virt64-aarch64] Fixup VirtIO-GPU init buffer fail by cpu out-of-order execution

* [bsp/qemu-virt64-aarch64] Fixup VirtIO-NET transmit payload split
Add Virtio-GPU cursor demo
2022-07-30 14:04:25 +08:00
Meco Man 9ee9b9205c [k210] update readme 2022-07-30 10:58:57 +08:00
Meco Man c1613ec7cb [k210] 使用新版的SDK软件包 2022-07-29 21:54:51 +08:00
Rbb666 861cf14bbc Add Touch Sample 2022-07-28 18:54:50 +08:00
Rbb666 4f624f16bc Add Onchip flash 2022-07-28 18:54:50 +08:00
Rbb666 dd0d6a7ff0 formatting code 2022-07-28 18:54:50 +08:00
Rbb666 2ee400f6d1 Add RTC device 2022-07-28 18:54:50 +08:00
Rbb666 ac92106a7b Add WDT Device 2022-07-28 18:54:50 +08:00
Rbb666 4f0002525c formatting code 2022-07-28 18:54:50 +08:00
Rbb666 7fb8246307 Add Soft I2c and SPI,modify Pin Device 2022-07-28 18:54:50 +08:00
Rbb666 319a73c2e7 Add pwm device 2022-07-28 18:54:50 +08:00
Rbb666 7d68083bd7 Add Hardware I2C Bus 2022-07-28 18:54:50 +08:00
Rbb666 a0be4ee3e9 Add uart0-5 configure 2022-07-28 18:54:50 +08:00
Rbb666 fc5dfaf5c4 format code 2022-07-28 18:54:50 +08:00
Rbb666 b9401f5fd4 The first submit CY8CKIT-062S2-43012 project 2022-07-28 18:54:50 +08:00
Meco Man c775809223 [arduino][stm32f072] 修正f072反向PWM不输出的问题 2022-07-27 11:46:45 +08:00
Aligagago 250b3cbc16 使用 AStyle.exe 统一代码格式 2022-07-27 11:45:29 +08:00
Aligagago 1b55a1dedd 1. 更新 apm32\libraries\APM32F10x_Library 为 Geehy 官网 APM32F10x_SDK_V1.6。
2. 增加 apm32\libraries\APM32F4xx_Library 为 Geehy 官网 APM32F4xx_SDK_V1.2。
3. 更新 apm32\libraries\Drivers。
4. 增加 apm32f407ig-minibroard 支持。
2022-07-27 11:45:29 +08:00
liYang~ a79b34ef8a
Improve the connection of RTdunio PWM(stm32f401-st-nucleo) (#6192)
* Improve the connection of RTdunio PWM

* Update bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout/README.md
2022-07-27 11:44:13 +08:00
wudiyidashi 48d43678ed
[bsp\fm33lc026] *增加gpio支持 *更新libraries\FM33LC0xx_FL_Driver FL库到V2.3.1 (#6175)
* [bsp\fm33lc026] *增加gpio支持 *更新libraries\FM33LC0xx_FL_Driver到2021年新版本
2022-07-26 10:11:12 +08:00
liYang~ 32ed7dcfd2
修复了pwm互补输出的一些bug,并在finsh中添加使用说明 (#6191)
* Fix the bug of complementary output
2022-07-26 10:07:07 +08:00
charlown c6c8201bd4
[gd32/arm/libraries]: correct pin number in drv_gpio.c; fix compile error if use rtc in gd32 f1~f4 (#6172)
* [gd32/libraries]: fix compile error in rtc: "pmu_backup_write_enable" was not found.

* [gd32/arm/libraries/gd32_drivers/drv_gpio.c] correct gpio number.
2022-07-25 10:18:15 +08:00
ririyeye ae918797b9
[bsp/stm32]:修复阿波罗f429网口引脚错误 (#6184)
* [bsp/stm32]:修复阿波罗f429网口引脚错误

* [bsp/stm32]:更新cubemx文件,添加kconfig依赖

* Update bsp/stm32/stm32f429-atk-apollo/board/Kconfig
2022-07-25 10:15:44 +08:00
Man, Jianting (Meco) 9595df24f1
attach #6166 (#6168) 2022-07-23 11:53:42 +08:00
jiezhi320 1008a7700a
feat(bsp/gd32f1-f4/drv_sdio):增加gd32下sdio驱动 (#6176) 2022-07-23 11:47:11 +08:00
Sherman 5a67132cf8 [bsp/renesas/ra2l1-cpk] 添加RA2L1-CPK开发板BSP
[bsp/renesas] 更新flash、gpio驱动和配置头文件。更新FSP配置文档
2022-07-22 20:38:19 +08:00
liyangyang 709d615096 Fix the configuration of stm32f401's PWM in CubeMX 2022-07-22 12:04:43 +08:00
jiezhi320 ddec9facd5
fix(bsp gd32f450 gcc):修复中断向量表缺失相关定义导致中断异常的问题 (#6174) 2022-07-20 10:05:49 +08:00
NationsHuanghanbin 2ece5c277d
修改i2c和rtc驱动 (#6166)
* 修改I2C和RTC 驱动
2022-07-15 13:36:32 +08:00
Meco Man b9b2ac1690 attach #6162 2022-07-15 10:11:00 +08:00
Meco Man 21e35dbbfd [arduino][stm32l475 pandora]update readme 2022-07-15 10:09:50 +08:00
Meco Man 65a5e3af0f [arduino] 优化默认代码 2022-07-15 10:09:50 +08:00
liyangyang 0fe1d152f0 guiengine在RTT中已经淘汰了,删除这个文件,避免影响开发者 2022-07-14 16:49:32 +08:00
NationsHuanghanbin 97ce760d68 首次添加n32 bsp 2022-07-14 15:31:37 +08:00
shiwa 81cdeaf902
* [bsp][essemi] Fix a bug of I2C and edit some documents (#6159)
* [bsp][essemi] Fix a bug of I2C and edit some documents
2022-07-13 09:50:14 +08:00
sheltonyu 5c6e7d815b
optimize code to improve network throughput performance (#6157) 2022-07-12 08:40:58 +08:00
liYang~ e36e3fda0c
Adapt lvgl for using ft6206 model touch screen[stm32f469-st-disco] (#6153)
* Adapt lvgl for using ft6206 model touch screen
2022-07-08 13:55:13 +08:00
shiwa 7b004d9fd6
[bsp][essemi] Adapt es32f369x for RTduino (#6144)
* [bsp][essemi] Adapt es32f369x for RTduino
2022-07-08 13:53:36 +08:00
liYang~ c850054aee
Docking lvgl touch driver using package (#6149)
* Docking lvgl touch driver using package
2022-07-08 09:25:32 +08:00
GUI 07a2e8c32f
[bsp/qemu-virt64-aarch64] Add VirtIO-Console and GPIO driver (#6150) 2022-07-08 02:11:19 +08:00
Meco Man 3f0934feb7 [simulator][lvgl]同步lvgl win32 driver
b69dca2ade
0b01584e29

https://github.com/lvgl/lv_drivers/pull/212
https://github.com/lvgl/lv_drivers/pull/216
2022-07-07 16:55:47 +08:00
Meco Man 15cd71bae6 [lvgl] adapt lvgl 8.3.0 2022-07-07 16:55:25 +08:00
solar_li d3139706e4
Adapt RTduino package for stm32f469-st-disco BSP (#6139)
* Adapt RTdunio package for stm32f469-st-disco BSP
2022-07-05 10:05:31 +08:00
Meco Man 74a802b445 [stm32] 合并获取定时器时钟频率公共部分
防止后续维护出现没有全面修改的问题
2022-07-04 16:23:21 +08:00
liuhy 704717a104 [bsp][essemi]fix bug. 2022-07-04 12:44:45 +08:00
BreederBai b2bc0dcd16
[rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数 (#6130)
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
2022-07-04 10:40:42 +08:00
BreederBai 78faea4b8d
[bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期 (#6129)
* [bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期
2022-07-04 10:26:33 +08:00
supperthomas 74ed15a850 [bsp/esp32c3] add Kconfig 2022-07-04 10:17:46 +08:00
张世争 c8a73411f6 [BSP][STM32] RTC Alarm驱动适配 2022-07-04 09:39:12 +08:00
Meco Man ff4b6a6671 [qemu] update qemu project 2022-07-01 11:39:28 +08:00
Man, Jianting (Meco) c651f9e6c7
chore: improve qemu readme (#6131) 2022-07-01 09:56:07 +08:00
solar_li b19602bcaa
Docking lvgl for stm32f469-st-disco bsp using ft6336 touch chip (#6121)
* Add touch V2 version

* Added touch driver ft6336 for stm32f469 bsp
2022-06-30 10:27:16 +08:00
solar_li 5b00165f6e
Add lvgl adaptation of touch screen xpt2046 for BSP (#6114)
* lvgl adaptation to resistive touch screen xpt2046

* some bug

* canonical code

* canonical code

* fix

* Modify the calibration section

* Modify the calibration section

* fix
2022-06-29 14:11:36 +08:00
Tangyuxin a47468f574
支持只运行在安全模式下 (#6115)
* [cpu][cm33] Support running in secure mode

* [bsp][lpc55sxx] Using the cortex cm33
2022-06-29 14:08:57 +08:00
BruceOu 1a010ef141
[bsp/gd32]Optimize GD32 bsp architecture (#6108)
* [bsp/gd32]Optimize GD32 bsp architecture
2022-06-28 19:43:00 +08:00
陈迎春 2a8e92b8ee
[docs] bsp/qemu_vexpress_a9 update README.md (#6109)
* [docs] bsp/qemu_vexpress_a9 update README.md
2022-06-27 11:38:55 +08:00
Meco Man 9f4b7b3858 [arduino][stm32l475] support wireless module pinout 2022-06-23 21:28:27 +08:00
solar_li 8f09245ed5
Implement api docking of rt_pin_get. (#6102)
* Implement api docking of rt_pin_get.
2022-06-23 21:26:55 +08:00
Man, Jianting (Meco) 2c10d5ad01
[rtc] use gmtime_r to replace gmtime (#6012)
* [rtc] use gmtime_r to replace gmtime
2022-06-22 13:41:06 +08:00
xinyigao 7416f62c06
update rt1170n menuconfig (#6085)
* updata rt1170 menuconfig
2022-06-22 09:33:14 +08:00
levizhxl 626da096d3
delet old HC32F460 bsp and modify README.md (#6100) 2022-06-22 09:32:21 +08:00
ueJone 956fdc60c0 接收错误中断未触发的问题
/* Enable error interrupt */
NVIC_EnableIRQ(uart->config->rxerr_irq.irq_config.irq_num);
上述代码使能错误接收中断后需要使能串口的接收中断`USART_INT_RX`才可以正常触发中断
2022-06-21 14:16:17 +08:00
GUI 5774dcac8f
[bsp/qemu-virt64-aarch64] Fixup VirtIO queue align size (#6096) 2022-06-21 13:52:02 +08:00
梁生 f41cb5636f
修复hc32f460的can总线在bus off状态时死机问题,修复can滤波器设置失效问题 (#6083)
* [bsp][hc32]fix can bus driver bug.

1. 更改硬件滤波器数量为8,和手册描述一致。
2. 修复_can_control()函数,RT_CAN_CMD_SET_FILTER指令,当应用层ID超出29bit时导致滤波器失效的问题。
3. 修改_can_control()函数,RT_CAN_CMD_SET_FILTER指令,
可同时支持标准帧和扩展帧。
4. 修复can总线故障关闭时,程序一直卡在中断中无法退出的问题。
5. 针对can收发器硬件STB引脚,增加宏定义CAN1_STB_FUNC_ENABLE,适配没有STB引脚的收发器。

This reverts commit 7fcd8e9afc.
2022-06-21 11:12:35 +08:00
GUI 8fa16f968a
[bsp/qemu-virt64-aarch64] Add more VirtIO drivers (#6091) 2022-06-18 08:09:57 +08:00
Man, Jianting (Meco) 70bd55fea5
[arduino] use perf_counter to instead of hwtimer (#6089)
移除硬件定时器依赖
取消stm32f401 spi的支持
更换f401 arduino默认例程
2022-06-17 14:29:44 +08:00
woody 1c81a6d220
修复sdio读写块的地址偏移问题 (#6082)
* 修复sdio读写块的地址偏移问题
2022-06-16 18:31:07 +08:00
梁生 3323366694
[bsp][hc32]support MDK AC6 compiler (#6087) 2022-06-16 14:18:55 +08:00
solar_li a50018c57e
[stm32][soft spi] implement soft spi (#6078)
* [stm32][soft spi] implement soft spi
2022-06-16 10:54:30 +08:00
Meco Man ada0e8f1a1 [simulator] improve init process 2022-06-16 10:30:16 +08:00
xiaoxiaolisunny 9d0f088e20
添加HC32F460系列RTC外设驱动 (#6069)
* 添加HC32F460系列RTC外设驱动
2022-06-15 10:38:35 +08:00
cmbjxxiao c8d92d7529
fix bugs of hc32 driver adc and can (#6077)
* fix bugs of hc32 driver adc and can
2022-06-15 10:37:27 +08:00
breederbai 14cd8d0145 [bsp][stm32]:修复UART6 DMA分配有可能冲突的BUG
用户自己可以添加DMA分配文件,所以这里的DMA分配有可能和用户自定义的冲突
2022-06-14 17:00:11 +08:00
Meco Man b0030704d0 [stm32][hwtimer] add H7 support 2022-06-14 16:11:05 +08:00
100ask-Alen 3d06d96f65
[bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068)
* [bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068)
2022-06-14 14:17:22 +08:00
rewine 53ed031498 [bsp/qemu-virt64-riscv]: dont use sbi in m-mode 2022-06-13 21:26:49 +08:00
Wayne 2006785394
[bsp/nuvoton] Upload missing files. (#6052)
* [bsp/nuvoton] Upload missing files.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-06-13 21:16:55 +08:00
supperthomas c16eaf55de
[bsp/stm32l496_ali] add the on-chip flash (#6061)
* [bsp/stm32l496_ali] add the on-chip flash

* [bsp/stm32l496_ali]add Kconfig

Co-authored-by: Meco Man <920369182@qq.com>
2022-06-13 21:15:12 +08:00
xiaoxiaolisunny 5ccf6a0fa8
添加HC32F460系列ADC外设驱动支持 (#6067)
* 添加HC32F460系列ADC外设驱动支持
2022-06-13 21:13:51 +08:00
xiaoxiaolisunny fabd8cf03e 修改格式 2022-06-13 11:33:48 +08:00
xiaoxiaolisunny 65669de0e3 [bsp][hc32]添加HC32F460系列模拟I2C外设驱动支持 2022-06-13 11:33:48 +08:00
chenyingchun0312 7824c54b1b [docs] add nrfx docs 2022-06-09 14:35:20 +08:00
ueJone 138925be08
修复多串口的描述符被覆盖的问题 (#6051)
[bsp][HC32] 修复使用多串口的描述符被覆盖的问题
2022-06-09 14:32:37 +08:00
supperthomas 5e0810e756
[bsp][stm32l496zg] add on-chip feature (#6056)
* [bsp][stm32l496zg] add on-chip feature
2022-06-09 14:28:36 +08:00
Steven-LiuSF 8b60b58b51
[bsp][rockchip][rk2108]: add rk2108 base support. (#6040)
* [bsp][rockchip][rk2108]: add rk2108 base support.

Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
2022-06-09 14:27:30 +08:00
xiaoxiaolisunny 3151d01d85 修改USART2_RX_PIN 2022-06-09 07:05:23 +08:00
xiaoxiaolisunny a738849257 添加HC32F460系列CAN设备驱动支持 2022-06-09 07:05:23 +08:00
Meco Man c9878aacd2 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
Meco Man 83b3aadaa3 [Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
Meco Man 50f041f5c2 [Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链 2022-06-09 07:01:59 +08:00
xiaoxiaolisunny e622ef3aec
添加USART1/2/3的管脚配置操作 (#6039) 2022-06-08 23:29:32 +08:00
100ask-Alen 4fa1beb812
[bsp][100ask]: create two new bsp for 100ask stm32f103 boards and commit them (#6045)
* 重新pull后上传bsp和action
* remove the file named main.c in cubemx prj and add enter at last in the file named user_key.c
* remove personal project environment file project.uvguix.slhuan in rtt/bsp/stm32/stm32f103_100ask_mini
* remove system_stmf1xx.c in bsp/stm32/stm32f103-100ask_pro/mini
* modify stm32f1xx_it.c code to conform to the specification

Co-authored-by: slhuan <953172510@qq.com>
2022-06-08 23:28:49 +08:00
luhuadong 5b84857889 [bsp][stm32] fix stm32f767-st-nucleo console device name 2022-06-08 14:46:34 +08:00
Yanlineng a9dce72915 [bsp][stm32h750-artpi] Modify the content of flash algorithms in README.md 2022-06-08 14:18:11 +08:00
Yanlineng 4b26e44e55 [bsp][stm32h750-artpi] add bootloader.bin, add the description of the bootloader in README.md.(#5923) 2022-06-08 14:18:11 +08:00
breederbai 21003c74ea [bsp][stm32] 增加uart7和uart8的DMA配置 2022-06-08 11:57:23 +08:00
liuhy 2d62a95339 [bsp][essemi] update es32f36xx libraries. 2022-06-06 09:57:58 +08:00
levizhxl 093793dfe2
HC32 configuration file revise (#6015)
* fixed some configuration errors.
2022-06-06 09:56:05 +08:00
Man, Jianting (Meco) b197b503c6
[stm32] move CMSIS hearder files to common folder (#5998)
* [stm32] move CMSIS hearder files to common folder

* add CMSIS new sconscript
2022-06-04 17:05:37 +08:00
supperthomas 433f0c7721
[bsp/ESP32_C3] Add the gpio driver and readme.md (#6027) 2022-06-04 17:04:19 +08:00
Man, Jianting (Meco) fb3f835089
[libc] remove strdup from rtthread.h (#6026)
add __STDC_LIMIT_MACROS macro in Keil
add RT_USING_LIBC in simulator
add _DLIB_ADD_EXTRA_SYMBOLS=0 in IAR
2022-06-04 17:02:35 +08:00
Man, Jianting (Meco) 02b176f8cb
[arduino] add comment (#6016) 2022-06-04 13:20:30 +08:00
Wayne 1fb3f1fcec
[bsp/nuvoton] Update. (#6022)
1. Sync 4.1.1+.
2. Add SDIO drivers for M480/M2354 platforms.
3. Update LVGL porting.
4. Add N9H30 FMI NAND driver.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-06-03 10:01:15 +08:00
陈迎春 59d3156611
[bsp/qemu-vexpress-a9] add remount operation to avoid dfs_mout fail (#6018) 2022-06-02 06:58:28 +08:00
levizhxl 1d6347796d
Hc32 pr (#6003)
* HC32F460 supported

Co-authored-by: JamieTx <yangjp24@126.com>
Co-authored-by: Jamie <48308473+JamieTx@users.noreply.github.com>
2022-05-31 11:53:56 +08:00
xiangxistu 2f9f39764d
[add] winsock implement on windows simulator. (#6010)
* [add] winsock implement on windows simulator.
2022-05-31 11:50:17 +08:00
xfwangqiang e8d775f888
[componnets][pin]add pin operate command in MSH (#5892)
* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get
2. 在MSH中增加了PIN的操作命令
3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
2022-05-30 18:00:26 +08:00
Stanley Lwin 04a17d469a
[device][adc] implement adc_get_vref (#5988)
* add adc_get_vref

add stm32_adc_get_vref
2022-05-29 10:22:33 +08:00
cha331 9d5302d7fb
[STM32][RTC] add support for STM32L0 series. (#5994)
* [STM32][RTC] add support for STM32L0 series.

* Update drv_rtc.c
2022-05-28 10:02:01 +08:00
Freey0 532180dc19
Fix bug when restarting and getting interrupts that are not processed. (#5997)
Reason: Interrupts were not cleaned up during initialization
2022-05-28 10:01:42 +08:00
rewine 9ebe0f3b47 [bsp] rename qemu-riscv-virt64 to qemu-virt64-riscv 2022-05-25 10:05:23 +08:00
Meco Man 996add96d6 [stm32][dac] add comment 2022-05-25 10:04:33 +08:00
Meco Man 4ac54cfd60 [arduino] suuport MsTimer2 library 2022-05-25 10:03:54 +08:00
Meco Man 3d4bb43aec [arduino][readme] 增加对5v容忍的描述 2022-05-25 10:03:54 +08:00
Meco Man b0364da7e3 [arduino] add F_CPU to indicate the frequency of CPU 2022-05-25 10:03:54 +08:00
Meco Man 36f142fbc3 [arduino] add RTDUINO_NO_SETUP_LOOP 2022-05-25 10:03:54 +08:00
Sherman 1c64c9ef08
[bsp/renesas/docs/] Add English documents (#5985)
* [bsp/renesas/docs/] Add English documents
2022-05-25 10:02:42 +08:00
Man, Jianting (Meco) 1506829b85
[lvgl] remove LV_DISP_DEF_REFR_PERIOD which are defined manually (#5976) 2022-05-23 01:41:23 +08:00
Meco Man 2fc7fab80a remove CMSIS/RTOS folders 2022-05-20 10:51:55 +08:00
Meco Man 4557d3c8c3 update 2022-05-20 10:51:55 +08:00
Meco Man 19672b7c3a update stm32 ci checking list 2022-05-20 10:51:55 +08:00
Meco Man 9182d4cbb7 [stm32] remove meaningless files 2022-05-20 10:51:55 +08:00
sheltonyu d466bd0540 [bsp/at32] 1、调整文件结构,合并各系列独立的rt-drivers,以便维护。 2、更新各系列library和工程相关内容 2022-05-19 15:00:03 +08:00
xinyigao 53be4393aa
add rt1170/rt1020 bsp (#5927)
* add rt1170 bsp
* add rt1020 bsp
2022-05-19 14:06:35 +08:00
Ting Liu 880fc2f59a [imxrt 1060] support touchpad
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2022-05-19 14:03:20 +08:00
Meco Man 08737c2a26 [simulator] 消除windows下的警告 2022-05-19 09:43:20 +08:00
Meco Man 569facb12d [simulator] 增加RTC配置项(默认开启) 2022-05-19 09:43:20 +08:00
Meco Man e43548f46f [simulator] 优化SD挂载,在首次挂载失败后格式化重新尝试 2022-05-19 09:43:20 +08:00
Meco Man 7d657cbf46 [simulator] enable BSD socket by default 2022-05-19 09:43:20 +08:00
Meco Man 5ee36367da [simulator] improve Kconfig structure
add Onboard Peripheral Drivers menu
2022-05-19 09:43:20 +08:00
rewine e9a5d41351 [bsp] chmod u+x shell script 2022-05-17 11:16:33 +08:00
tangzz98 020e1bd7da Add quick start guide for QEMU on macOS 2022-05-17 10:56:38 +08:00
Meco Man 7fc707d99c [sal][kconfig] 重新梳理sal的依赖关系 2022-05-16 10:02:22 +08:00
Meco Man b793b6427a [sal] add draft for docking winsock 2022-05-16 10:02:22 +08:00
Meco Man 19abf927d2 [simulator] avoid conflicts between winsock.h and sys/time.h 2022-05-16 10:02:22 +08:00
Meco Man 2d41853124 [stm32f746] update the project
取消了默认选中LWIP和DFS
2022-05-16 09:53:25 +08:00
Jamie db27095da6
Unified management interrupt vector table. (#5925)
* Unified management interrupt vector table.
2022-05-15 20:57:35 +08:00
Rbb666 e848031c93 删除多余文件 2022-05-13 15:39:07 +08:00
Rbb666 63f8811c89 优化 LVGL文件结构 2022-05-13 15:39:07 +08:00
sheltonyu 8579f19ceb [bsp/at32] add at32f413 and at32f415 series 2022-05-13 15:38:43 +08:00
Ting Liu ea6999a700 [imxrt 1060]: support keil armclang compiler
Test with Keil MDK 5.36, Compiler V6.16

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2022-05-13 15:37:57 +08:00
Meco Man a0bfbe8d90 [imxrt1060]support NXP GUiGuider 2022-05-13 14:12:15 +08:00
Meco Man 3344e38dd5 [imaxrt 1060] 优化LVGL文件结构 2022-05-12 10:10:11 +08:00
Meco Man 6fe83d4a77 [lvgl][stm32f407] 优化LVGL初始化流程 2022-05-12 10:10:11 +08:00
Meco Man 1b4f16f729 [stm32f469][lvgl] 优化LVGL文件结构 2022-05-11 20:30:50 +08:00
Meco Man e6466d0fb7 [qemu] 优化qemu模拟器的LVGL文件结构 2022-05-11 20:30:38 +08:00
Meco Man 4448869394 [simulator] 优化vs模拟器的LVGL结构 2022-05-11 20:30:38 +08:00
Meco Man 9ff61b4cb3 [l475] remove meaningless header file 2022-05-11 20:30:38 +08:00
Man, Jianting (Meco) 4e7823cb6b
[stm32l475]优化LVGL初始化流程和结构 (#5919)
* [lvgl] 代码精炼

* delet lv_port_indev.c

* Update Kconfig
2022-05-11 08:41:57 +08:00
Meco Man 8a7b9da76d [stm32 nucleo][f072][f401] support TIM7/TIM11 hardware timer 2022-05-10 13:55:16 +08:00
xiaoxiaolisunny b9902b2fac
添加RTC设备驱动 (#5914)
* 添加RTC设备驱动
2022-05-10 13:54:15 +08:00
Meco Man c14dbe8a2e [lvgl] beautify code 2022-05-10 10:12:45 +08:00
Man, Jianting (Meco) 0d2b96d7cc
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 (#5901) 2022-05-09 22:59:27 +08:00
Meco Man 96dd783f37 [cmsis] avoid conflict between cmsis5 and bsp cmsis 2022-05-09 22:54:36 +08:00
Wu Han 4171fcbb06 [bsp][stm32][drv_crypto] Enable RNG Clock 2022-05-09 11:13:01 +08:00
Meco Man 73236a825c [stm32][spi] remove hardware NSS 2022-05-09 09:57:22 +08:00
Meco Man e037b7684e prepare to support squareline studio 2022-05-09 09:56:27 +08:00
Meco Man 907ee070dd [imxrt1060] exchange On-chip Peripheral Drivers and Onboard Peripheral Drivers menu in Kconfig 2022-05-09 09:56:27 +08:00
charlown 6495df717f
[gd32/libraries]: fix compile error in rtc: "pmu_backup_write_enable" was not found. (#5906) 2022-05-09 09:37:51 +08:00
Jamie df3d16294c
Delete the bsp of hc32f4a0. (#5907)
* delete the bsp of hc32f4a0.
2022-05-09 09:32:30 +08:00
Jamie 28b551bfe3
Add the BSP of HC32 series. (#5905)
* Add the BSP of HC32 series.
2022-05-06 09:28:21 +08:00
Man, Jianting (Meco) 0e66f3f833
[arduino] update (#5895) 2022-05-01 12:24:35 +08:00
supperthomas ee1e0a0df0
[bsp][esp][esp32c3] add the bsp of esp32c3 (#5869)
* add the ESP32_C3 first version

* add the blinky ok version

* fix the code

* format file

* add the readme

* fix the formate

* Update README.md

* Update main.c

* fix the readme

* fix rtconfig.h

* remove cpp config
2022-04-29 09:01:44 +08:00
Meco Man ec9629b5f0 更新文档 潘多拉增加spi2 2022-04-28 09:19:39 +08:00
breederbai 429e1cafe6 修复BUG:串口启用DMA接收后,动态修改串口波特率扰乱接收检索
在串口不关闭的情况下,更改波特率后,清空上次数据检索,导致更新写入检索错误,
串口无法读出正确的数据。真实数据的位置和检索值之间总有一定的距离,导致读取
数据的时候会有一定的延时。缓冲区大,延时越长
2022-04-27 21:59:06 +08:00
breederbai 326abec0e7 修复BUG:SDIO和UART6(TX)的DMA通道分配冲突 2022-04-27 21:54:28 +08:00
Wayne 7215a27038
[nuvoton] Update nuc980iot configuration (#5882)
* Disable TRNG function in default configuration.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-04-27 21:53:50 +08:00
Kevin Liu 55c9827096
添加对Microchip SAML10系列支持 (#5868)
* Add SAML10 Cortex-M23 series support

1. Add SAML10 Cortex-M23 series support; 2. remove STDIO related code of same54 series, no need any more; 3. update rtconfig.py to support output bin & map file containing DEVICE PART info.
2022-04-27 09:24:56 +08:00
blta d52ad69d6f
[BSP] judge the SPI instances before operating (#5874) 2022-04-26 13:26:28 +08:00
Sherman 7c99148f78
[bsp/renesas] update docs/RA系列BSP制作教程.md (#5862)
* [update] 添加 RA 系列 BSP 开发教程:
  - 添加 RA 系列 BSP 开发教程
  - 添加 ra6m4-iot PPP 上网
  - 整理 驱动文件

* [bsp/renesas] update docs/RA系列BSP制作教程.md

* [restore] Restore to the latest version
2022-04-24 14:53:03 +08:00
wolfJane d77125452b
为n32g45x添加硬件CRC支持 (#5852)
* 为n32g45x添加硬件CRC支持

基于stm32的驱动文件进行改造,目前modbus的crc16和mpeg2的crc32测试正常
2022-04-24 11:42:25 +08:00
Man, Jianting (Meco) 6ce4a87492
[fcntl] create new fcntl.h file for vs (#5860)
* [fcntl] create new fcntl.h file for vs
2022-04-24 10:52:57 +08:00
sheltonyu 7af43fdd4f [bsp/at32] update at32f435_437 adc driver 2022-04-24 09:28:37 +08:00
xfwangqiang 717c678190
fixed some warning (#5866) 2022-04-24 01:24:20 +08:00
Meco Man 175ca2ee09 [dac] add get resolution method 2022-04-23 23:03:59 +08:00
Man, Jianting (Meco) acc04facf9
[gd32] format code (#5861) 2022-04-22 22:30:15 +08:00
Man, Jianting (Meco) c2a0995545
[adc] 支持adc框架获取BSP的ADC分辨率 (#5853) 2022-04-22 22:26:41 +08:00
Forest-Rain b06228ec7e
[bsp/gd32] bug fixed gpio_mode_set miss gd32_spi->mosi_pin,gd32_spi->sck_pin (#5729)
* bug fixed gpio_mode_set miss gd32_spi->mosi_pin,gd32_spi->sck_pin
* feature,add gd32_spi's alt_func_num member for different spi periph's gpio
* feature,add spi3,spi4,and support multi spi devices
* feature,add rt_hw_spi_device_attach api
* tested on the gd32f450i-eval board
2022-04-22 14:40:45 +08:00
blta 04fe6232fb
[bsp] add null CCFLAGS for Nuclei bsps (#5851)
* [bsp] fix gd32vf103_rvstar building issue
2022-04-21 20:37:39 +08:00
zhouji 77900ab420 [update] Updated the Cortex-A of linker scripts for the new version of GCC(4.7)。 2022-04-20 17:32:02 +08:00
wolfJane cbd062ca25
[bsp/n32g45x] drv_spi.c中添加超时检测避免卡死 (#5820)
* 为spi添加超时检测,避免卡死。提取公共部份,避免代码复制。
2022-04-20 10:28:29 +08:00
Man, Jianting (Meco) a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
Man, Jianting (Meco) 7b47e8d052
[stm32f401-nucleo] arduino support (#5842)
* [stm32f401-nucleo] arduino support
* 增加application arduino main文件
* 调整目录结构
2022-04-20 09:09:58 +08:00
Kevin Liu 7847c5e98d
Microchip SAM MCU新增ethernet支持和驱动更新 (#5821)
* Microchip SAM MCU BSP update and add ethernet driver

1. Update Microchip SAM MCU BSP, add I2C, GMAC, ADC driver support. 2. Add ethernet driver support of SAM MCU for RT-Thread.

* Add GMAC and I2C driver support

1. Update MCU BSP to support I2C/ADC/GMAC peripherals. 2. Add I2C and ethernet driver and LWIP support. 3. Update serial driver.

* Add I2C driver and move some files to the common folder

1. Add I2C driver. 2. Move the same drivers and demo code to same folder to reduce duplicated code.
2022-04-19 14:32:02 +08:00
Meco Man 991b6e78b3 [bug] 修正rtc对时间参数范围的处理 | fix a bug of rtc 2022-04-19 11:48:59 +08:00
Rbb666 a003cbe705
rt1052 添加 RT-Thread Studio 工程 (#5838)
* rt1052 添加 RT-Thread Studio 工程
2022-04-19 11:04:44 +08:00
sheltonyu e1f7e95f5d remove unused files 2022-04-18 10:07:15 +08:00
sheltonyu ebcc2cb8c1 update for file format 2022-04-18 10:07:15 +08:00
sheltonyu 0449ade73b add at32f435_437 first version 2022-04-18 10:07:15 +08:00
sheltonyu c2b8df673b update for drivers and readme 2022-04-18 10:07:15 +08:00
Man, Jianting (Meco) 0dc493d6da
[stm32f072] support Arduino I2C and update readme (#5824)
[stm32f072] support Arduino I2C and update readme
2022-04-18 09:36:12 +08:00
Man, Jianting (Meco) 9fa8c78c9a
update arduino related (#5809)
- add comments
- remove ARDUINO_PWM_HZ
- remove initVariant blank function
- support DAC0
- improve Kconfig of STM32L475 PANDORA
- add readme
- add i2c1 bus device
2022-04-16 15:10:00 +08:00
Wayne Lin 35fced1235 Disable TRNG function in default configuration. 2022-04-15 15:05:33 +08:00
Miaowulue 5e7badd34c [bsp/stm32] update ov5640 configuration of openmv 2022-04-15 10:34:38 +08:00
Miaowulue da0164cf8e [bsp/stm32] add ov5640、dcmi、i2c for openmv 2022-04-15 10:34:38 +08:00
Miaowulue 7919642a8b [bsp/stm32] add rtc for openmv 2022-04-15 10:34:38 +08:00
guo 54642ec639
Merge pull request #5807 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2022-04-14 16:33:44 +08:00
zuozuojia ecb69f56ac Update drv_can.c
删除多余注释,另外确定了对于其他型号单片机的适应性
2022-04-14 11:50:22 +08:00
zuozuojia ff36a39d32 [bsp/stm32] fix the bug of can filter conflict 2022-04-14 11:50:22 +08:00
Kevin Liu 8af8decb62
Add Microchip SAM series MCU support for RT-Thread (#5771)
* Add Microchip SAM series MCU support for RT-Thread

Add Microchip SAM series MCU support for RT-Thread, including SAM Cortex-M0+, M4F and M7.

* Add bsp directory to ignored check list

Add bsp directory to ignored check list, add microchip /samc21/same54/same70 to workflows list

* remove STDIO definition and bug fix

1. remove STDIO code from Microchip official BSP. 2. bug fix of SAME70 hpl/hpl_usart.c, samc21&same54 hpl/hpl_sercom.c baudrate update interface.  3. Add RT-Thread standard STDIO implementation on Microchip SAM MCU.

* add CAN driver & example and script fix

Add CAN driver and example for SAMC21/SAME5x/SAME70 and fix rtconfig.py issue(unused space might result link error)

* Add Chinese version README

Add Chinese version README for SAMC21/E54/E70
2022-04-14 10:54:53 +08:00
rtthread-bot 435d2b24f8 Merge remote-tracking branch 'rtt_gitee/gitee_master' 2022-04-13 16:16:47 +00:00
Meco Man efdd28bde6 remove meaningless debug file 2022-04-13 22:37:59 +08:00
Meco Man 3cacdf6ddb [simulator] upgrade SDL2.0 to 2.0.20 2022-04-13 22:37:59 +08:00
wolfJane fdb486de7b
[Update] n32_msp.c add spi3 (#5733)
* Update n32_msp.c
* 添加SPI3的初始化代码
* 修正spi收发函数卡死在SPI_I2S_GetStatus的BUG
2022-04-13 16:19:21 +08:00
wang0huan 3471663a7f bsp-gd32:adc驱动bug修复 2022-04-13 08:52:11 +08:00
打盹的消防车 ec539bc930
fix:修复i2c异常问题 (#5794)
* fix:修复i2c异常问题

* add:格式化代码格式
2022-04-11 17:34:40 +08:00
blta 35e266cb2e [bsp/stm32] select the input clk of spi based on SPI instances 2022-04-11 17:33:02 +08:00
zuozuojia ba1b8b4bfa delete the code be commented out 2022-04-11 15:02:12 +08:00
zuozuojia 04971a96fe [bsp/stm32] fix the bug of uart that not define pwm10 and pwm11 2022-04-11 15:02:12 +08:00
zuozuojia a282faf26c [bsp/stm32] fix the bug of 'can' being stucked when short cricuit the canH and canL, change some wrong annotations 2022-04-11 15:02:12 +08:00
zuozuojia 10b71175eb [stm32F4] adapt 168M frequency of 1M can baud, remember to add the define of BSP_USING_CAN168M in kconfig while using 168M frequency 2022-04-11 15:02:12 +08:00
Meco Man 9b6bc0fcc7 [simulator] 解决simulator模拟器不能挂在sd卡的问题,并更新文档 2022-04-11 14:07:55 +08:00
Yang sheng eb2fc60207
[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785)
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo.
* [RTC] Fix compile errors
2022-04-09 00:39:00 +08:00
CaocoWang 6b56515249
Lm402 (#5746)
* 1、添加基于STM32WLE5JC的BSP
2、修正stm32wlxx的引用

* edit readme
2022-04-08 01:12:37 +08:00
Man, Jianting (Meco) c318dfa964
improve libc time and MSVC simulator (#5775)
- [libc] 解决由于类unix操作系统发展历史原因fcntl.h定义的标志位在不同编译器中定义不同的问题
- [simulator] 部分宏定义转为全局宏定义以确保vs内置文件可以正确配置
- [simulator] 取消自欺欺人式的警告消除处理方式
- [libc][time] 优化time相关结构体在不同编译器下的包含
2022-04-07 14:24:11 +08:00
Zhang Jianfei 33603974c5 [bsp/gd32]Complete the pins device define. 2022-04-06 11:28:19 +08:00
Zhang Jianfei 00970db10d [bsp/gd32] Add gd32450i-eval board bsp. 2022-04-06 11:28:19 +08:00
blta 99526cc047 [bsp/ch32v103r-evt] add ch32v103r-evt bsp
feat: move MRS demo source to bsp and libraries folder

feat: update Sconscript

feat: modify SConstruct in the bsp

feat: use the rtconfig.py of gd32vf103v-eval bsp to modify

feat: use the MRS's rtconfig.h temoporarily

feat: update Kconfig files

feat: use the MRS's .ld and rename as link.lds

feat: add ch32v1 porting folder

perf: remove board/system_ch32v10x.c

fix: define SOC_ARM_SERIES_CH32V103 in rtconfig.h

fix: add some neccessary macros in rtconfig.h

perf: use the menuconfig to generate rtconfig.h

feat: add readme.md

fix: correct the bad encode in main.c

fix: include board.h in main.c

perf: check and update README.md

perf: remove ch32f10x_port_cn.md

feat: ignore the standard libraries's CI checking

feat: add sdk_dist.py

fix: correct some style errors again

perf: simply the board/kconfig

fix: format ch32v103r-evt

fix: format drvs and libcpu
2022-04-06 11:06:55 +08:00
Man, Jianting (Meco) 953ebe29de
[arduino] 非必要功能使用弱依赖 (#5757) 2022-04-06 10:25:38 +08:00
Man, Jianting (Meco) 6bd22f3e6f
替换RTThread旧版文件头注释版权声明 (#5774) 2022-04-05 19:34:30 +08:00
朱天龙 (Armink) 039efbb075
完善 Serial V2 框架 (#5770)
* [stm32] fix h7 uart V2 driver unused code.

* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.

* [stm32][art-pi] using serial v2 by default

* [DeviceDriver][SerialV2] Add termios for serial@V2 .

* [BSP][STM32] Add hardware flow control for STM32 serial@V2 driver.

* [DeviceDriver][Serial@V2] Add hardware flow control for serial V2.
2022-04-04 17:25:04 +08:00
guozhanxin d48630e2b6 [bsp]fix building error. 2022-04-01 00:09:31 +08:00
guozhanxin b10761c09d [bsp]Fix issue that dist cannot specify a directory 2022-04-01 00:09:31 +08:00
guo 201bd8871d
Revert "优化build输出" (#5747) 2022-03-30 16:59:20 +08:00
guo 06b56d1aaa
Merge pull request #5742 from Guozhanxin/fix
优化build输出
2022-03-30 10:41:18 +08:00
Man, Jianting (Meco) b1b770f6fb
[sconscript] LOCAL_CCFLAGS -> LOCAL_CFLAGS (#5741) 2022-03-30 10:22:27 +08:00
guozhanxin d9591b6eb3 revert stm32l0xx change. 2022-03-30 01:39:36 +08:00
guozhanxin 1b6031954a [bsp/imxrt] improve build output. 2022-03-30 01:21:59 +08:00
guozhanxin 921247b420 [bsp/stm32] improve build output. 2022-03-30 00:52:12 +08:00
guo 4af064ce67
[bsp] Improve rtconfig.py path definition (#5739) 2022-03-29 22:15:09 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
guozhanxin 12c4b5b1df [bsp] Fix RTT_ROOT path problem. 2022-03-29 18:12:19 +08:00
guozhanxin 8763d8b776 [bsp/imxrt] fix compile warnings. 2022-03-29 16:33:36 +08:00
Man, Jianting (Meco) be892de35a
[posix] add RT_USING_POSIX_SOCKET (#5731) 2022-03-29 13:39:55 +08:00
GUI f587a55bc2
[libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722)
* [libcpu/aarch64] add smp support

* [libcpu/aarch64] rt_hw_trap_irq get irq instead of iar when using gicv2

* [libcpu/aarch64] disable irq/fiq when switch thread

* [libcpu/aarch64] add gtimer frq set and stack align

* [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568
2022-03-29 11:08:25 +08:00
guo d23493d05d
Merge pull request #5728 from mysterywolf/master
整理BSP并入统一文件夹中(采用merge合并)
2022-03-29 10:49:36 +08:00
Meco Man d8aee1c74a 将mb9x系列BSP并入fujitsu文件夹中 2022-03-28 20:15:54 -04:00
Meco Man c8420ffc0b 将at91系列BSP并入一个文件夹中 2022-03-28 20:09:56 -04:00
Meco Man 8003788ad5 将龙芯bsp并入loongson文件夹中 2022-03-28 20:06:03 -04:00
Meco Man 82a2fb169e 将acm32并入一个文件夹中 2022-03-28 19:55:01 -04:00
Meco Man 4f97d6e1d3 [vango] remove duplicated files 2022-03-28 19:46:35 -04:00
Meco Man ab4c22b07d [nk-n9h30] format code 2022-03-28 19:41:16 -04:00
Meco Man 6a20471ee9 [vango] 将v85xx和v85xxp两个bsp整合到一个文件夹下 2022-03-28 19:38:42 -04:00
Man, Jianting (Meco) c5d16f28dd
Merge branch 'master' into arduino 2022-03-28 19:13:57 -04:00
Wayne 7fee6530f9
[nuvoton] Update drivers and project setting. (#5726) 2022-03-29 07:10:35 +08:00
rtthread-bot 6330720b5c Merge remote-tracking branch 'rtt_gitee/gitee_master' 2022-03-28 16:15:54 +00:00
stevetong459 84e18bb2d5
fix the startup files of apm32f1 (#5725)
* fix the startup files of apm32f1

* delete ARM folder for apm32f1
2022-03-28 16:50:01 +08:00
ZhuXW 85e2d6b85b !338 增加Vango V85xxp(V85xx衍生版本)
* add file
* add mdk5 project, update file
* update readme
* add V85xxp first version
2022-03-28 03:14:09 +00:00
Man, Jianting (Meco) ad90cf59c4
[at] add ingore_format.yml (#5718) 2022-03-28 10:39:05 +08:00
ACM32_MCU 9779963c6d
[libcpu/arm/cortex-m33]fix syscall_iar.S compiler error (#5719)
* 1. 新增了i2c/spi/rtc/crypto等驱动;2. 删除了部分文件中的未使用到的头文件包含; 3. 修改keil编译时pm文件atoi的头文件stdlib未包含的警告

* 修改文件格式

* BSP

1. 修改f4系列bsp的readme文件与工程文件
2. 修改f0系列源文件的版权信息、删除目前没有的库文件。
3. 其他

* 修改IAR环境下arm cortex-m33内核的syscall_iar.S文件编译错误

* 还原.gitignore文件

Co-authored-by: aisino2200 <90822414+aisino2200@users.noreply.github.com>
2022-03-28 10:38:46 +08:00
Meco Man a2b1757448 增加依赖项 2022-03-26 23:48:41 -04:00
朱天龙 (Armink) bae1be0f45
完善串口 V2 框架 (#5720)
* [stm32] fix h7 uart V2 driver unused code.
* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.
* [stm32][art-pi] using serial v2 by default
2022-03-27 00:52:41 +08:00
ACM32_MCU bee9f4c7c4
Add some drivers (#5208)
* 1. 新增了i2c/spi/rtc/crypto等驱动;2. 删除了部分文件中的未使用到的头文件包含; 3. 修改keil编译时pm文件atoi的头文件stdlib未包含的警告

* 修改文件格式

* BSP

1. 修改f4系列bsp的readme文件与工程文件
2. 修改f0系列源文件的版权信息、删除目前没有的库文件。
3. 其他

* 还原.gitignore文件

Co-authored-by: aisino2200 <90822414+aisino2200@users.noreply.github.com>
2022-03-26 15:40:33 +08:00
kylepengchn 851d16b18f
Soft spi (#5712)
* add soft-spi
* add spi-bit-ops.c/h to components/drivers/spi
* add a drv_soft_spi example for gd32303e-eval
* use formatting.py scripts for scanning

Signed-off-by: kyle <kylepengchn@163.com>
2022-03-25 23:06:43 +08:00
Miaowulue c4b62a9161
[bsp/stm32] add usbcdc for openmv (#5702) 2022-03-25 22:58:14 +08:00
sheltonyu cff34466b0
upload bsp package based firmware library v2.0 (#5711)
* [bsp/at32] remove old version bsp
* [bsp/at32] upload bsp package based firmware library v2.0
2022-03-25 22:54:51 +08:00
Man, Jianting (Meco) db04395d76
[stm32 pandora][arduino] 增加依赖项 (#5709) 2022-03-25 20:43:22 +08:00
Man, Jianting (Meco) ba6f78bd8e
format code (#5699) 2022-03-24 08:30:41 +08:00
FmdAE 19f0f9e610
modify system_ft32f0xx (#5703) 2022-03-24 08:30:02 +08:00
cha331 96b4974ea2
[stm32][driver_crypto]修复CRC自定义设置不生效的bug (#5655)
* [stm32][drivers]修复CRC自定义设置不生效的bug

* update format
2022-03-23 14:17:10 +08:00
kylepengchn 5810f4de7d
[components][drivers][spi]: 基于SPI总线驱动框架添加模拟SPI总线扩展 (#5656)
* add soft-spi

* add spi-bit-ops.c/h to components/drivers/spi
* add a drv_soft_spi example for gd32303e-eval

Signed-off-by: kyle <kylepengchn@163.com>

* Fixed the format and the certificate.

Signed-off-by: kyle <kylepengchn@163.com>

* Update the certificate data.

Signed-off-by: kyle <kylepengchn@163.com>
2022-03-23 14:16:14 +08:00
FmdAE 0f2e9a3afb
bsp-ft32 (#5652) 2022-03-23 11:03:48 +08:00
Miaowulue f6f6dae2d6
[bsp/stm32] add qspi flash and sdio for openmv h7plus (#5679)
* [console] fix bug of sdram, configure PA7(DRAM_WE)

* [bsp/stm32] add qspi flash for openmv

* [bsp/stm32] change sram1 to sram2

* [bsp/stm32] add sdio for openmv

* [update] update README.md of openmv
2022-03-22 09:39:13 +08:00
rtthread-bot b906fe648f
!449 at91sam9260平台增加mtdnand驱动用于支持uffs文件系统 (#5695)
* update bsp/at91sam9260/drivers/at91_nand.c.
* update bsp/at91sam9260/drivers/at91_nand.c.
* update bsp/at91sam9260/drivers/at91_nand.h.
* update bsp/at91sam9260/drivers/at91_nand.c.
* update bsp/at91sam9260/drivers/at91_nand.c.
* 添加at91sam9260下mtd nand flash驱动

Co-authored-by: brightsally <121477585@qq.com>
2022-03-22 09:06:45 +08:00
Man, Jianting (Meco) 81e5fa061f
[stm32f072 nucleo] support pwm for arduino (#5693) 2022-03-21 22:04:37 +08:00
Man, Jianting (Meco) 8b58577230
[ulog][rtc][time][bug] solve the interference when enable the ulog timestamp (#5687)
* [ulog] 解决ulog开启时间戳后与libc time以及rtc驱动相关函数干涉的问题
* ulog:当发生递归输出时,后续递归想要输出的内容可能会因为防范递归的判断而无法输出
因此修改输出规则,在发生递归时,采用简单的,无格式的方式直接输出。这样既保证不会发生递归输出,也可以保证递归输出的部分可以正常输出。
* [ulog] size_t->rt_size_t NULL->RT_NULL
2022-03-21 14:06:17 +08:00
Man, Jianting (Meco) fba060e550
[stm32 pandora] fix the bug when using LCD demo (#5692)
* [stm32 pandora] fix the bug when using LCD demo

* arduino 增加内部温度传感器和参考电压通道

* remove ARDUINO_PINOUT_PWM_MAX
2022-03-21 11:53:31 +08:00
Man, Jianting (Meco) bb4fc9cb3a
[stm32 pandora] support backlight with brightness adjustable (#5691) 2022-03-20 15:47:57 +08:00
Man, Jianting (Meco) 9ee5940f25
[arduino][stm32l475 pandora] fullly support analog output(PWM) and analog input(ADC) (#5690) 2022-03-20 15:46:33 +08:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
guo 3b1445d49c
[bsp][imxrt1060]fix gcc can't runing issue. (#5667) 2022-03-14 22:54:12 +08:00
Man, Jianting (Meco) 59079fe91f
update documentation (#5674) 2022-03-14 21:18:14 +08:00
guo 0e21bbfc7d
Merge pull request #5673 from Rbb666/master 2022-03-14 18:57:24 +08:00
Rbb666 0a27c43ac8 添加中文文档 2022-03-14 18:07:32 +08:00
Rbb666 59f38ddbdd 删除多余的部分 2022-03-14 17:53:10 +08:00
Rbb666 b71020e83c 更改图片大小 2022-03-14 16:39:54 +08:00
Rbb666 8a8a4d5f1c add Raspberry-Pico-LVGL README.md 2022-03-14 16:31:38 +08:00
Cathy-lulu 909130ba53
Merge pull request #5672 from yangjie11/f469
[bsp][stm32f469-st-disco] 增加英文readme
2022-03-14 00:37:52 -07:00
yangjie11 9ccf1ee9ad [bsp][stm32f469-st-disco] 增加英文readme 2022-03-14 14:40:34 +08:00
Wayne a65e6d1613
Nuvoton drivers updating and more LVGL supporting. (#5647) 2022-03-12 07:00:53 +08:00
Rbb666 d53ff73615
add README_zh.md、led blink (#5666) 2022-03-11 18:26:56 +08:00
Rbb666 e484ff5942
添加 imxrt1060-evk BSP (#5657)
* 添加 imxrt1060-evk BSP

* add LVGL

* add README.md

* Delete irrelevant files

* Modify the optimization level to O1

* Organize documents

* Source code formatting
2022-03-11 12:13:56 +08:00
Sherman 7c53d46ba7
[update] 添加 RA 系列 BSP 开发教程: (#5598)
- 添加 RA 系列 BSP 开发教程
  - 添加 ra6m4-iot PPP 上网
  - 整理 驱动文件
2022-03-11 09:17:46 +08:00
Man, Jianting (Meco) 5b17eeeb9b
[stm32][nucleo-f072] add arduino support (#5650)
* [stm32][nucleo-f072] add arduino gpio support

* 完善stm32f401nucleo的基本配置

* 修改led引脚描述

* 潘多拉增加arduino引脚别名

* [ARDUINO]STM32L072RB 增加ADC A0-A5的引脚配置

* add pwm
2022-03-10 13:44:39 +08:00
andychen329 0569add5b2
update readme picture name (#5644)
update readme picture name
2022-03-08 15:33:54 +08:00
打盹的消防车 0e254652aa
add:air105 bsp (#5607)
* add:air105 bsp

* add:去掉注释代码

* add:注释修改

* fix:格式化一遍代码格式

* add:main函数添加闪灯

* add:完善bsp

* add:添加一些信息

* add:使用工作队列喂狗

* add:整理目录

* add:去掉乱码部分

* add:修改readme

* add:更新readme说明

* add:去掉bootloader.bin和soc_download.exe,README.md中添加标注

* fix:去除多余文件

* add:补充license

* add:支持scons --dist

* add:更新soc_download.exe连接地址
2022-03-08 12:04:17 +08:00
stevetong459 fb61c7960b
本次PR涉及①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。 (#5638)
* 本次提交包括①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。
详情如下:
一、BSP驱动新增
这是本次PR的主要目的,现新增了如下BSP驱动:
ADC、DAC、RTC、PWM、HWTIMER、I2C、SPI和WDT等八个驱动文件。
二、F103库更新:
本次提交使用2022年3月初极海官网发布的最新F103库,主要增加了版权声明、USB驱动及其他代码调整。
三、编译器适配:
1、新增GCC编译支持,在ENV工具下编译能成功且输出的bin文件能够使开发板闪灯。
2、新增IAR工程支持。
3、由F103的SDK更新,MDK的工程也进行了相应更新。
四、其他
1、README文件做了修改,加入了scons编译后的jlink下载说明和官网链接。
2、Kconfig、SConscript脚本根据驱动更新做了修改。

* 格式化代码(AStyle + Formatting)

* 增加BSP APM版权声明

* 在ci添加当前bsp的路径,以能够验证gcc能否正常编译

* 路径的“\”改为“/”
2022-03-08 12:03:06 +08:00
GUI 0a8dd10b0b
[libcpu/aarch64] add gtimer frq set and stack align (#5642)
* [libcpu/aarch64] add smp support

* [libcpu/aarch64] rt_hw_trap_irq get irq instead of iar when using gicv2

* [libcpu/aarch64] disable irq/fiq when switch thread

* [libcpu/aarch64] add gtimer frq set and stack align
2022-03-07 22:41:56 +08:00
来一颗糖 532d898e71
[bsp/n32g452xx] add drv_spi.c (#5640) 2022-03-07 12:05:53 +08:00