Commit Graph

6328 Commits

Author SHA1 Message Date
liYang~ 9cfb864068
[bsp]添加ch32v307vct6 (#6331) 2022-08-23 21:51:35 -04:00
liYang~ 0ff905ce43
[bsp]添加ch32v307需要的库文件 (#6329)
* add ch32v307 lib

* fix scons
2022-08-23 02:13:33 -04:00
Man, Jianting (Meco) a02ab79fd5
Merge pull request #6326 from OpenPowerware/master
[bsp][tms320f28379d] libc compatible
2022-08-22 16:47:32 -04:00
Yunjie Gu db4bc4a525 libc compatible 2022-08-22 21:07:22 +01:00
supperthomas f602d199d3
[bsp/maxium/max3660]Update README.md (#6323)
* Update README.md

* rename as max32660-evsys

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-22 13:44:25 -04:00
Man, Jianting (Meco) 955b8d9ae3
[bsp] update esp32 Kconfig (#6218) 2022-08-22 13:40:27 -04:00
Meco Man 97a5e4ca19 [rtduino] remove libraries dependencies 2022-08-22 09:45:45 +08:00
Meco Man 2f7c294d97 [stm32f407-explorer][fs] 优化文件系统选项配置 2022-08-22 09:45:01 +08:00
Meco Man 10695d6a90 [fal] PKG_USING_FAL -> RT_USING_FAL 2022-08-22 09:42:35 +08:00
Yunjie Gu b43f0e7205
[bsp][tms320f28379d] Fix compile ti (#6254)
* compile_ok

Issues fixed:
(1) update .config: select FINSH_USING_SYMTAB
(2) add rt_size_t in rtconfig_project.h
(3) fix finsh problems of using sym table
(4) update .project to include ipc source codes.
Todo list:
(1) automate the build source selection of ccs and reconcile it with scons

* change compiler

* msh can run now

the key step is to swap the order of rt_interrupt_nest -- and RT_OBJECT_HOOK_CALL(rt_interrupt_leave_hook,()) in irq.c. This is an improvised solution and an issue has been raised.

* Update 2837x_FLASH_lnk_cpu1.cmd

The original one is also fine. Just to make it more rigorous since FSymTab is in data section.

* update readme.md

Complier selection and maintainer update.

Co-authored-by: YuQi <qiyu_sjtu@163.com>
2022-08-20 13:16:41 -04:00
chenbin 5b8a3678f0
[n32g45x] bsp 完善can驱动中断处理 (#6313)
* 完善can驱动中断处理
优化can波特率采样率,采样点在75%以上
增加新的can驱动宏定义支持,避免编译错误

* Update drv_can.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-20 12:21:51 -04:00
Meco Man 89f40696ff [nxp][imxrt1170] format files 2022-08-17 23:47:54 -04:00
xjy198903 1ba47b7ca6
[nxp 1170] Update network (#6299)
* 增加千兆网络配置

* 适配最新1170SDK2.12版本

* 增加MAC层驱动配置
2022-08-17 09:41:31 -04:00
xjy198903 7cf703dde5
Update 1170 gpios (#6298)
* 增加1170可操作的gpio数

* 修改默认引脚配置

* 增加千兆网络引脚配置
2022-08-17 09:40:26 -04:00
xjy198903 840f6b997c
[nxp][imxrt1170]Fix building problem (#6297) 2022-08-17 04:28:58 -04:00
woody 7d469384b5
将swm320和swm341整合进synwit (#6290)
* 将swm320和swm341整合进synwit
2022-08-16 12:43:24 -04:00
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
Meco Man dd94198bd6 [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM 2022-08-16 09:39:00 +08:00
Meco Man c038e55d32 [armclang] 使用__clang__代替__CLANG_ARM
attach https://github.com/RT-Thread/rt-thread/pull/5451
2022-08-16 09:37:45 +08:00
Not Black Magic eb12619654
Fix BSP/imxrt/imxrt1060-nxp-evk: RTC Driver issue (#6283)
Fix BSP bug:
-Function naming conflict in drv_rtc.c, rename get/set_timestamp to imxrt_hp_get/set_timestamp, which conflicted with rtc.c/.h framework.
2022-08-15 09:34:01 -04:00
Sherman fde369f011
[[renesas/drivers] Fix error code issues 6183.Add hardware i2c driver. (#6279)
* [renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md

* Update Captouch板载触摸按键配置说明.md

* [renesas/drv_wdt.c] Fix error code issues
[renesas/drv_i2c.c] add hardware i2c driver

* [update] drv_wdt.c,drv_i2c.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-15 09:25:42 -04:00
xjy198903 eedb4e1981
[imxrt] 消除编译警告 2022-08-15 09:24:53 -04:00
xjy198903 6a225fff22
Update sdram (#6280)
增加1170系列SDRAM时钟配置
修复sdram中memheap自动初始化时机错误导致被assert的情况

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-15 03:34:49 -04:00
xjy198903 814b1abb08
增加双网口配置选项,增加phy8211F 驱动 (#6278)
* Update Kconfig

增加RT1170双路网络选项

* Update SConscript

增加RTL8211F驱动选项支持

* Update SConstruct

去掉外设目录

* Add files via upload

增加PHY芯片RTL8211F驱动

* Update drv_rtl8211f.c

* format code

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-14 23:21:27 -04:00
Meco Man ff310443b8 [nxp] move phy driver into drivers folder 2022-08-14 21:50:14 -04:00
Meco Man 4537d06afb [stm32] add missing void 2022-08-14 21:49:43 -04:00
Meco Man 53c6e7308c [simulator] exit()函数改为exit(1) 2022-08-14 21:49:43 -04:00
Meco Man 40fe10ba15 [nxp][link script] format issue
report in slack group
2022-08-14 21:49:16 -04:00
Fan Yang 666af5e29d
[DeviceDriver] Add CANFD support and correct typos (#5912)
* Add CANFD support and correct typos

- Added CANFD required fields to can.h
- Fixed typos in can.h and can.c
- Corrected all the projects affected by the typo
- Fixed wrong line-ending in some affected can driver files

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>

* update

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-13 22:59:28 -04:00
woody 0189987d91
add synwit swm341 bsp (#6235)
华芯微特SWM341芯片的bsp支持包
* 修改dac.c函数名称错误
* delete swm320-lq100 bsp
* 修复sdio读写块的地址偏移问题
* add synwit swm341 bsp
* 修复gcc下启动文件错误
* 为测试用例添加说明
2022-08-13 22:29:05 -04:00
Meco Man 5c7655663c [imxrt] fix gpio interrupt bug in drv_gpio.c
report in #4184
2022-08-13 22:08:31 -04:00
Man, Jianting (Meco) 8db14a3f5b
[imxrt1170] update enet (#6244)
Co-authored-by: xinyi.gao <xinyi.gao@nxp.com>
2022-08-13 22:06:38 -04:00
Meco Man f290ff8754 [simulator][rtconfig.py] fix the problem of path cannot be find and cause failure
Some users' computer cannot find the path of VS and will cause failure. Just skip this step.
2022-08-13 22:04:11 -04:00
Man, Jianting (Meco) 0ac8f72037
[lvgl] remove suareline studio specific support for imxrt1060 (#6261)
* [lvgl] PKG_USING_LV_MUSIC_DEMO defaults by yes

* [lvgl] remove specific suppport for imxrt1060
https://github.com/lvgl/lvgl/pull/3566
2022-08-13 22:02:41 -04:00
Meco Man 656f0e3d23 [imxrt1060] fix a tiny problme
this is report in slack group:
- I had to do a small fix in board/linker_scripts/link.lds file.
line 81, should be:
ivt_begin = ORIGIN(m_boot_data) + LENGTH(m_boot_data);
(add a space between ivt_begin and "=“).

- For unknown reason I had to set DEMO_PANEL_RK043FN66HS as default in imxrt1060-nxp-evk/board/Kconfig
Leaving the DEMO_PANEL_RK043FN02H was not working even after selecting RK043FN66HS in menuconfig. The result was touch not working without this change as a wrong driver was being pick.
2022-08-13 21:56:04 -04:00
Sherman e7f64fe07f
[renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md (#6227)
* [renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md

* Update Captouch板载触摸按键配置说明.md

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-13 20:53:51 -04:00
xjy198903 405e0da093
[NXP]升级RT1170-EVK开发板SDK2.12版本(#6264) 2022-08-13 03:22:12 -04:00
chinky 448843ffd8 [bsp]stm32l475-atk-pandora update readme, .gitignore 2022-08-11 22:19:45 -04:00
Rbb666 9a8249bbba
【BSP】CY8CKIT-062S2-43012 (#6237)
英飞凌 CY8CKIT-062S2-43012 BSP
2022-08-09 12:36:36 -04:00
qipingqiu 38154c4656
add hwtimer device (#6230) 2022-08-09 12:18:48 -04:00
emuzit 77067f8729
ch569w-evt : add pwm driver, and spi_xfer bug fix (#6240)
add PWM driver, output checked with logic analyzer
spi_xfer() bug fix for cs_pin and message looping
uart pin_mode init moved to uart driver
2022-08-09 12:18:20 -04:00
Meco Man 8cd7ee268f [gd32] 修复串口引脚定义错误的问题
https://club.rt-thread.org/ask/question/32d3a440402902f7.html
2022-08-08 10:11:46 -04:00
guozhanxin ccf0ad297b [bsp][raspberry-pi]Fix the issue of inaccurate system tick. 2022-08-08 10:01:15 -04:00
liYang~ 40f5e1d1ea
[Ardunio] stm32-blue-pill对接RTdunio软件包 (#6241)
按照pinout布局图重新设计Arduino引脚布局和功能
- 目前PB0(D12, PWM)和PA15(D5,PWM)测试不通过
参考:https://github.com/stm32duino/Arduino_Core_STM32/issues/1082#issuecomment-634027716
2022-08-08 10:00:03 -04:00
Isaac Rose c49c5a4d06 Added LCD Touch Int pin to ioconfig. During testing GT911 would not come out of reset because INT pin could not be driven low or high. 2022-08-08 01:30:39 -04:00
xfwangqiang 79934777d0
[bsp][imxrt]优化imxrt的BSP下面的applications的Sconsript脚本 (#6236)
* 优化imxrt的BSP下面的applications的Sconsript脚本

* add import os for sconscript in imxrt
2022-08-07 12:15:13 -04:00
tangzz98 3c3bd647f7
Esp32 C3 UART driver (#6214)
* Use FreeRTOS wrapper

* Add console driver

* Add patch, .config. Update readme.

* Change date
2022-08-05 13:35:38 -04:00
liYang~ a8581ac8a4
[Ardunio]为stm32f103-blue-pill对接RTdunio软件包 (#6231)
* 对接RTdunio
2022-08-05 11:51:40 -04:00
Meco Man 76885ca908 [stm32][drv_serial] 修复recv_len意外为负(即很大正数)的问题
https://github.com/RT-Thread/rt-thread/issues/6106
https://github.com/RT-Thread/rt-thread/issues/4467#issuecomment-850814143
2022-08-04 22:51:34 -04:00
Meco Man 16ceacda80 [k210] 调整Kconfig结构 2022-08-03 22:48:13 -04:00
Meco Man 067315ff40 [phy] fix the PHY_FULL_DUPLEX conflicts 2022-08-03 22:45:27 -04:00
StackRyan e86d54a400
[fix]mimxrt1170 Qspi flash bootup problems (#6215)
[fix]mimxrt1170 Qspi flash bootup problems by loss of external flash conf and ivt header.
[add]green light instead printf on main.c.
2022-08-03 22:43:50 -04:00
xiangxistu 78d8496db0
[fix] pthread_mutex_destroy can't work. (#6212) 2022-08-03 12:29:16 -04:00
Man, Jianting (Meco) 760432b6a3
[simulator] fix some warnings (#6209)
* [simulator] fix some warnings

comes from https://github.com/RT-Thread/rt-thread/pull/5791

* [simulator] update kconfig

Co-authored-by: guozhanxin <guozhanxin@rt-thread.com>
2022-08-02 23:21:09 -04:00
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