Commit Graph

6050 Commits

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