Commit Graph

7082 Commits

Author SHA1 Message Date
zhugengyu e843561e46
[bsp/phytium] add xhci and pusb2 support with cherryusb port (#8355)
合入基于 CherryUSB 的 XCHI 和 PUSB2 驱动
2023-12-08 20:01:34 +08:00
Supper Thomas 32342c6995
[bsp/stm32g491] add tim and iwdog 2023-12-08 18:01:45 +08:00
Macro f4b2035c03
[bsp/phytium] driver and config update (#8344)
更新驱动代码,完成对新版rt-thread内核的支持工作。更新默认config文件,保证各驱动被顺利添加后,程序能正常运行
2023-12-08 17:57:55 +08:00
Meco Man 1b0dae2bb0 [stm32] support nano version
- G0
- G4
- L0
- L4
2023-12-05 23:22:19 +08:00
zhkag 474a55ea36 【bsp/rt-spark】移除 ETH 并添加 ADC 初始化 2023-12-05 21:48:19 +08:00
Supper Thomas f510a65f93 [bsp/stm32/stm32g491] Add nucleo of stm32g491 2023-12-05 21:33:41 +08:00
Rbb666 21ba08fab2 [bsp][renesas]添加软件i2c配置 2023-12-05 15:04:50 +08:00
Meco Man bb66d1ea50 [bsp][stm32][nano] support nano version
stm32 BSPs to support nano version (RT_USING_NANO)

这个commit支持到stm32f7之前的BSP
2023-12-03 21:25:00 +08:00
Meco Man 860094e893 [stm32] split stm32 drivers as normal and nano drivers
- move all normal drivers (devices framework drivers) into drivers
  folder.
- create nano folder for nano drivers
  nano drivers are only for a simply wrap of the HAL function, and
  not seek for adopting rt-thread devcies framework.
- provide unified nano console and GPIO drivers.
2023-12-03 21:25:00 +08:00
Meco Man 9fec43f0ea correct and format Kconfig 2023-12-03 21:25:00 +08:00
Raman Gopalan d1a1a42ef5 AVR32: drv_gpio: Use Microchip's updated drivers for abstraction 2023-12-02 00:31:51 +08:00
Rbb666 316bb12f7e [bsp][renesas]更新ek-ra6m3驱动列表 2023-12-01 19:37:09 +08:00
kurisaW 91aace98b6 [rtduino][renesas] fix the pwm channel config 2023-12-01 19:36:40 +08:00
Meco Man 031a81a98e [stm32][nano] stm32l475-pandora support nano version 2023-12-01 14:43:05 +08:00
Rbb666 6c48d53636 [bsp][renesas]更新ra8m1驱动支持列表 2023-11-30 18:53:47 +08:00
Z8MAN8 dfde6950df [bsp][c3]: Add macro control to sconscript 2023-11-30 11:43:03 +08:00
Meco Man 53aa771aa5 [stm32][nano] stm32f103-bluepill support nano version 2023-11-30 11:39:34 +08:00
bernard 53acd953ab [bsp][rasp4-32] fix compilation warning 2023-11-29 23:15:59 +08:00
Z8MAN8 71a52d18a7 [bsp][eps32c3]: add pwm driver 2023-11-29 18:05:16 +08:00
geniusgogo 74925f43ed
fix dfs path name overflow. (#8305) 2023-11-28 17:16:21 +08:00
fangjianzhou 249871cbbc
[libcpu][aarch64] 使用设备树对CPU进行初始化 (#8221) 2023-11-28 14:20:11 +08:00
Raman 265b79d953
User manual for a AT32UC3B0256 target from MCUZone (#8302) 2023-11-27 22:29:52 +08:00
TamapChn 3ea3f3447e [bsp][stm32] 修复 encoder驱动 编码器数值的计算问题 2023-11-26 18:00:01 +08:00
Shicheng Chu b2e71e470b
[bsp][esp32c3]: add adc driver (#8281) 2023-11-26 15:56:27 +08:00
flyingcys 50f521b528
[bsp]add bl808 wifi driver (#8294) 2023-11-25 22:54:24 +08:00
mengplus 0396b52db0 fix(spi):多个SPI公用一个ops.data 2023-11-23 09:05:45 -05:00
Rbb666 26fbe01ada [bsp][renesas]使用文档添加fsp说明,更新下载选项 2023-11-23 17:21:07 +08:00
hywing 1284adfad8
[bsp][renesas] update the description in RA6M3-HMI-Board BSP Instruction Document :UART7 -> UART9 (#8275) 2023-11-22 16:22:14 +08:00
Robin Chen ddbf2be2bc
enable art-pi spi flash use elmfatfs (#7690) 2023-11-22 16:19:36 +08:00
zhangyan d73fd165b0
[bsp/phytium]Code Update and Refactoring (#8247) 2023-11-21 17:42:23 +08:00
Meco Man df29a13d89
[components] remove vmm (#8269) 2023-11-21 13:41:54 +08:00
Meco Man eff3560d64 [bsp] remove gd32 in the root 2023-11-20 07:34:46 -05:00
hywing d8c96e13c6 [bsp][renesas] add a DAC entry for ra6m3-hmi-board 2023-11-20 05:46:08 -05:00
sheltonyu 41ab3f7535 fixed usb/usart drivers 2023-11-17 04:26:40 -05:00
BetMul 241e7ff083
[bsp] [ESP32_C3]add hwtimer support for ESP32C3 (#8263) 2023-11-17 16:11:37 +08:00
Rbb666 ad2ba4ffa5 [bsp][renesas]添加fal配置文件,修改flash驱动 2023-11-16 17:43:00 +08:00
kk 1b59c20203
[bsp/renesas] update drv_sci_spi.c 修复 ci 报错 (#8261) 2023-11-16 14:46:43 +08:00
Raman 0e82e13cc3
AT32UC3A: Implement initial BSP support for SimpleMachines' Mizar32-B (#8186) 2023-11-16 14:04:21 +08:00
CoderNotCute 4ac9754f5b fix:fix wch startup risks.
1: If IAP has set mstatus to other value, using csrs will not change old value of mstatus in IAP. It should using csrw instead.
2: Reduce the flash size of undefined irq functions.
2023-11-16 14:02:17 +08:00
guozhanxin 35e773d46a [bsp] ra8 update rasc configuration.xml 2023-11-16 13:08:59 +08:00
guozhanxin 75378a4a40 [bsp] ra8 add adc、dac、pwm、spi、rw007 configs 2023-11-16 13:08:59 +08:00
梁生 7a56058c61
[bsp][hc32]优化can驱动和pwm驱动 (#8217)
**为什么提交这份PR (why to submit this PR)**
1. hc32驱动函数和rtt函数声明之间的参数类型不一致,在mdk编译时产生警告。
2. hc32的can设备,在注册时就把can中断使能了。导致can设备在打开前,就会产生中断。
3. hc32的pwm驱动,不支持PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令,导致rt_pwm_set_pulse()函数返回失败。
**你的解决方案是什么 (what is your solution)**
1. 修改hc32驱动函数参数类型和声明一致。
2. 注册can设备时主动禁止can中断,因为打开设备时会主动打开中断。
3. 修改pwm驱动,增加PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令支持。
2023-11-14 09:18:32 -05:00
BetMul a0b6e14f01
ESP32C3 add program ways in Linux (#8237) 2023-11-10 17:49:45 +08:00
sheltonyu ed357aa014
[bsp/at32] 1.add support at32f402/405 series, 2.update emac/rtc/qspi/usb drivers (#8245) 2023-11-09 16:38:19 +08:00
1ridic 063c8f7bec [bsp][pico] Add spi pin selection 2023-11-06 23:27:14 -05:00
zhkag 0f2e586613 修复 bsp/x86 scons --pyconfig-silent 报错 2023-11-06 06:23:09 -05:00
zhkag 3db4b3e4ae 修复 bsp/x86 编译问题 2023-11-06 06:23:09 -05:00
xqyjlj 1b6f0e88a3
🐞 fix: fix d1s smart build (#8212) 2023-11-02 20:16:02 +08:00
1ridic f95eaad8e6 [bps][duo] set RT_USING_SYSTEM_WORKQUEUE by default 2023-11-01 12:02:53 -04:00
Yuqiang Wang ebc9582c07
[bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +08:00
Z8MAN8 a64ccaa295 [bsp][pico] add hwtimer driver 2023-10-31 08:58:09 -04:00
Rbb666 7ace7d0a78 [libcpu][renesas]add cortex-m85 && ek-ra8m1 adapt 2023-10-31 15:09:17 +08:00
tangzz98 acc66c5479
实现MPU抽象层 (#8080)
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离
- 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
2023-10-30 08:24:55 -04:00
Shicheng Chu 1554888c0b
[bsp][pico]: add pwm driver (#8178)
Co-authored-by: Meco Man <920369182@qq.com>
2023-10-29 13:17:25 -04:00
sp-cai de779b1804 使 rtconfig.py 支持 EXEC_PATH 路径展开 2023-10-29 13:15:28 -04:00
yby 6f48cb79d1
[bsp] Fixed bug of msp432e401y bsp chip model error after mdk5 open. (#8193) 2023-10-29 13:15:05 -04:00
蒙蒙plus 32ec9e32ec [bsp/air32f103]:修复外部中断无效 2023-10-29 13:13:59 -04:00
flyingcys c701b3e81a
[bsp]update cv1800b drv_uart (#8188) 2023-10-26 09:34:58 +08:00
xqyjlj 3283f54c7a
🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: Shell <smokewood@qq.com>
2023-10-25 20:31:25 +08:00
guozhanxin 96edf7aeb6 [bsp/stm32f407-spark1] add llvm-arm toolchain support. 2023-10-25 16:49:51 +08:00
Raman Gopalan 53caa15873 AT32UC3B: Update configuration files to define RT_BACKTRACE_LEVEL_MAX_NR 2023-10-24 09:53:48 -04:00
蒙蒙plus 06cfa88941
[bsp/air32]:增加iar_8_40环境支持 (#8175)
Signed-off-by: 程蒙蒙 <chengmeng_2@outlook.com>
2023-10-24 15:26:02 +08:00
sp-cai 6eb7fa2f6c
[bsp][ESP32_C3] 修复数据类型警告 rt_int32_t -> rt_base_t (#8170) 2023-10-23 08:29:15 -04:00
Raman 144e662f42
AT32UC3B: Implement initial GPIO driver and app test function (#8164) 2023-10-23 14:00:07 +08:00
wcx1024979076 7da73c8f01 [bsp] [ESP32_C3] 移除无用的文件 | remove useless files 2023-10-21 21:46:18 +08:00
Shell 70a8d1d465
[kservice] improve backtrace service in kernel (#8144)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-21 20:14:45 +08:00
xiao-mang 90c7089d47
fix ash echo (#8150) 2023-10-21 08:41:55 +08:00
xiunian 53801fc4ab
[bsp][cv1800b] Add gpio driver for cv1800b (#8158) 2023-10-21 08:41:09 +08:00
Raman fb5154f741
AT32UC3B: Fix compilation problem for BSP by defining RT_CPUS_NR (#8152) 2023-10-20 20:07:12 +08:00
Shell 07b23ecbb1
[libcpu] fix symbol of kernel entry point (#8159)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-20 13:27:38 +08:00
Shicheng Chu 43f96b3f85
[bsp][pico] add flash driver (#8161) 2023-10-20 07:05:30 +08:00
guozhanxin acda798759 [tools\llvm-arm]update bsp rtconfig.py 2023-10-19 12:14:01 -04:00
zms123456 d01dd05a0c
[kernel][dm]适配新的设备驱动模型 (#8075) 2023-10-18 20:50:30 +08:00
Raman Gopalan 33fe6b320d application: Remove commented rt_kprintf statements 2023-10-17 11:22:07 -04:00
Raman Gopalan 46e161e236 README for AVR32UC3B0: Initial commit 2023-10-17 11:22:07 -04:00
Raman Gopalan 265a55303e Implement UART driver files for AT32UC3B: Working commit 2023-10-17 11:22:07 -04:00
fangjianzhou 7d64cdcf58
qemu-virt64-aarch64/qemu-virt64-riscv支持SDL2 (#8130) 2023-10-17 13:03:03 +08:00
WCX 61f7d483e2
[bsp][ESP32_C3]增加ble和wifi驱动|add ble & wifi drivers (#8104) 2023-10-16 14:57:16 +08:00
BetMul 38e42b75a5
fix:Invalid link and path for mm32f327/README.md (#8136)
Co-authored-by: Supper Thomas <78900636@qq.com>
2023-10-15 20:33:20 +08:00
Shell 6c1537c216
[bsp] fix smp with smart of vexpress-a9 (#8128)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-13 14:20:50 +08:00
Frogrey 61e38bd13d
[bsp][imxrt1170] 移动 VGLite、video驱动文件到对应文件夹以提高代码可重用性 (#8092) 2023-10-12 08:33:13 +08:00
Z8MAN8 19bfdac891 [fix][usb]return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-10-11 12:01:20 -04:00
liYony a8249a28c6 [bsp][stm32] stm32l431-BearPi 添加mqtt连接华为云综合用例 2023-10-11 05:58:43 -04:00
1ridic 299700cf78 [bsp][pico] Remove cmake dependency 2023-10-11 13:41:12 +08:00
1ridic 261f5bee67 [bsp][pico] Update SDK to 1.5.1
import the sdk by rt-thread package.
2023-10-10 09:45:36 +08:00
vandoul 5d47753d56 [bsp/renesas]add drv_sci.
formating header file.
2023-10-09 13:27:34 +08:00
阿基米东 b1fae3a604 [bsp][mchp] fix samc21, same54, same70, saml10 build errors 2023-10-09 09:28:12 +08:00
阿基米东 874151b6db [bsp][mchp][samd51] formatting 2023-10-09 09:28:12 +08:00
阿基米东 cede0a3615 [bsp][mchp] update README.md 2023-10-09 09:28:12 +08:00
阿基米东 b1b66dd195 [bsp][mchp][samd51] re-config uart0, remove dma, and fix some error 2023-10-09 09:28:12 +08:00
阿基米东 9795b51b97 [bsp][mchp][samd51] add Wio-Terminal template 2023-10-09 09:28:12 +08:00
阿基米东 e14e4e2a14 [bsp][mchp][samd51] uart support serial v2 2023-10-09 09:28:12 +08:00
阿基米东 dfc3ed3f58 [bsp][mchp][samd51] delete stdio redirect, set usart async mode for target io 2023-10-09 09:28:12 +08:00
阿基米东 2e04e14ca8 [bsp][mchp] serial support usart sync mode 2023-10-09 09:28:12 +08:00
阿基米东 c121a769d3 [bsp][mchp] add ATSAMD51 BSP for Adafruit Metro M4 Express board 2023-10-09 09:28:12 +08:00
Supper Thomas 847b71e767
[action] add .config and kconfig (#8111) 2023-10-08 13:28:17 +08:00
guozhanxin 9e79333512 [project] update mdk/iar project and config. 2023-10-08 11:21:00 +08:00
1ridic 91f273f3c9 [bsp][pico] Add flowcontrol and parity settings 2023-10-04 11:12:19 -04:00
1ridic 11367953d2 [bsp][pico] Add msh cmd to reset pico to BOOTSEL mode 2023-10-04 11:11:38 -04:00
Shicheng Chu c021c5cd22
[bsp][lpc55sxx]: update debug log (#8106) 2023-10-03 08:18:31 +08:00
1ridic 89330dd269
[bsp][pico] Improve UART driver (#8099) 2023-10-02 21:28:09 +08:00
Yuqiang Wang 37ef1ba88c
[bsp/stm32] Optimize the kconfig structure of ART-PI board about serial port (#8101) 2023-10-02 16:28:46 +08:00
guozhanxin 6d506dc5b6 [bsp/rt-spark] fix spi_flash_init.c 2023-09-27 10:16:46 +08:00
zhkag 29a508222c 修复 qemu 挂载 elm 文件系统失败 2023-09-26 13:23:48 +08:00
XYZboom c60ecd7c4a [bsp][nuclei] fix "usb_conf.h not found"
Nuclei sdk requires the USB configuration header file to be completed by the application in versions after 0.3.8. see https://github.com/Nuclei-Software/nuclei-sdk/pull/54 and 43912c1a22
2023-09-26 11:37:03 +08:00
Frogrey f941dfcf13 fix uart1 pin bug, delete and update wrong icf files, add vglite support for rt1170 in IAR environment. 2023-09-26 10:52:24 +08:00
1ridic a7e210d701 [bsp][pico] Optimize Kconfig configuration
Fix SPI and I2C configuration menu. Add UART enablement option. Limit
the pin selection for UART and I2C according to the datasheet.
2023-09-26 10:42:57 +08:00
wangyuqiang c8790c72e4 [bsp][utest] 添加 rt-spark 在 gcc 下运行 utest 链接代码段 2023-09-25 16:44:40 +08:00
zbtrs 36b79798bd
feat: support sdl2 (#8048) 2023-09-25 08:40:03 +08:00
liYony 2ff1a1a4c9 [bsp][stm32] BearPi 支持 MPU6050 模块 2023-09-19 13:36:47 -04:00
guo 8a7831ee4d
[bsp/IFX]补充缺少的文件 (#8055) 2023-09-19 00:27:58 -04:00
GuEe-GUI a6e9c386ff [BSP/rockchip/rk3568] fixup heapmem init flow
In RT-Smart, `rt_hw_interrupt_init` will call
`rt_ioremap` to map GIC's MMIO registers. There
is a `rt_malloc` called in rt_ioremap, that will
fail if we not init the mem heap yet.

Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-09-18 22:27:19 -04:00
guo 23794d2cf9
[bsp][ifx] add bt support (#8028) 2023-09-18 00:06:51 -04:00
蒙蒙plus dfc8994ea2 fix(air links): 对应厂家手册将RAM容量改为96kb
Signed-off-by: 蒙蒙plus <chengmeng_2@outlook.com>
2023-09-07 22:27:44 -04:00
Rbb666 594db2b516 [bsp][renesas]add hwtimer device for renesas 2023-09-06 17:58:40 +08:00
yuanzihao 32d479321b
[bsp][stm32]: add NUCLEO-H563ZI (#7987) 2023-08-29 13:10:14 +08:00
zhugengyu 6db430bde6
[bsp][phytium] support Phytium PI 2023-08-28 22:27:54 -04:00
LTreeshu ba0cb59797
[bsp][esp32] update readme (#7986) 2023-08-27 21:54:08 -04:00
Donocean 0354cd83e4
[bsp][stm32][driver] Add mini bsp support for stm32f405zg 2023-08-24 12:57:13 -04:00
Wayne Lin 86f72ed6da Update NuMaker-M2354 BSP building.
1. Remove rt_hw_cpu_reset implementation in libcpu.
2. Update configuration.
3. Add drv_log.h for building.
4. Fix warnings.
2023-08-24 12:54:19 -04:00
liYangYang b4dac34167
[bsp][stm32l431-BearPi] 为BearPi支持lpuart1外设 2023-08-23 22:09:52 -04:00
Meco Man 30c793fdb9 [tools] add GetGCCLikePLATFORM
GCC like means the toolchains which are compatible with GCC
2023-08-21 01:25:52 -04:00
yuanzihao 5b36522b48 [bsp][gd32]添加 立创开发板 GD32F470 的 SDRAM驱动,从STM32的drv_sdram.c修改而来 2023-08-20 23:47:59 -04:00
Meco Man b08d8672d2 [libc][posix/io/stdio] rename libc.c as posix/stdio.c 2023-08-17 02:22:53 -04:00
Fan YANG 0bd93292b3 [bsp][hpmicro] Update libraries, add new BSPs
- Updated hpm_sdk in libraries
- Updated rt-thread driver adapter
- Updated bsp for hpm6750evkmini
- Updated bsp for hpm6750evk
- Added bsp for hpm6750evk2
- Added bsp for hpm6300evk
- Added bsp for hpm6200evk

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2023-08-16 13:46:43 +08:00
zhkag 83a2863ab6 [bsp][stm32][rt-spark] 更新 cubemx ports 2023-08-14 13:55:28 +08:00
guozhanxin f53fc15f03 [bsp/ifx] add cyw43012 wifi module 2023-08-10 22:52:59 -04:00
cx 9968f84c2b [stm32][pandora] fix LCD init ahead PWM 2023-08-09 02:48:36 -04:00
Meco Man c6a2f5b7bd rt_hw_cpu_shutdown: implement default weak function
and remvoe duplicated default functions in each cpu/bsp level
2023-08-08 22:34:25 -04:00
Meco Man cb810dfe75 rt_hw_cpu_reset: remove all other rt_weak 2023-08-08 22:34:25 -04:00
KunYi Chen b3f7591811 avoid warning message of sequence-point
board/ports/touch/gt911/src/gt911.c: warning: operation on '*(config + 8)' may be undefined [-Wsequence-point]
                config[8] = config[8] ^= (1 << 3);
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
2023-08-07 16:49:32 -04:00
vacabun 6648419999 [bsp][stm32h750_artpi] use gnu99 2023-08-06 19:04:28 -04:00
Meco Man 1c03d59651 [rtduino][stm32-l476] add LED_BUILTIN 2023-08-06 10:57:19 -04:00
Meco Man 94eb8c29be [rtduino][stm32-f401] support timer9 as tone timer 2023-08-06 10:57:19 -04:00
zhangyan 3c289c26f0
[bsp][Phytium] qspi debug (#7914) 2023-08-05 14:45:11 +08:00
Meco Man 0fb393e9a1 [bsp][stm32][drv_spi.c] remove meaningless settings 2023-08-04 00:10:20 -04:00
Rbb666 a6fcb4f8a1 [bsp][renesas]update ra6m3&4 readme 2023-08-02 15:49:18 +08:00
zhangyan 31fec3bb70
[bsp] phytium e2000 update (#7900)
Co-authored-by: zhugengyu <zhugengyu@phytium.com.cn>
2023-08-02 13:27:09 +08:00
liYangYang f5fe1a5d7b
[RTduino][stm32-f401nucleo] 支持对接引脚的功能切换 (#7901) 2023-08-01 21:02:46 -04:00
guo 51100ae4a6
[libcpu/Kconfig] add ARCH_ARM_CORTEX_M23 define (#7895) 2023-08-01 00:00:49 +08:00
Shicheng Chu 5c4b44f81e
[bsp][pico]add: drv_spi and drv_i2c 2023-07-30 08:36:47 -04:00
Meco Man f258f74c09 [ci][kconfig][qemu] guard the legacy option 2023-07-28 22:17:40 -04:00
Meco Man 4e0225a48d [debug] use LOG_D instead RT_DEBUG_LOG
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-07-28 13:50:32 -04:00
bxhsiman 93cd53d06f [bsp][wch] fix UART IRQ declarion
将UART4后的中断函数声明改为UART
2023-07-25 19:18:56 -04:00
GUI 6f119d4ce9
AArch64: support public linker scripts (#7831)
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-25 21:31:44 +08:00
guo 14d15404d8
更新瑞萨相关 bsp (#7858) 2023-07-25 14:55:11 +08:00
WCX 0a6aaf12ad
[bsp][esp32-c3] Realization of scons compilation of ESP32-C3 | 实现ESP32-C3的scons编译 (#7821)
Co-authored-by: Supper Thomas <78900636@qq.com>
2023-07-25 13:42:31 +08:00
zhkag 7e5620edc3
[smart] 修复用户态 mq_receive 不能阻塞 (#7836) 2023-07-24 17:01:45 +08:00
Man, Jianting (Meco) 244b903e5d
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) 2023-07-22 10:36:42 +08:00
wangqinglin a07fda3470
[bsp][stm32][airm2m]<pin>更新pin num命令 (#7390) 2023-07-19 18:45:43 -04:00
Rbb666 2dbf9acc71
[bsp][Infineon]fix i2c init error (#7817)
添加iic4的配置,将初始化错误断言部分修改为打印方式
2023-07-17 23:59:20 -04:00
yby c7d1a0f7cd [add] add msp432e401y-LaunchPad BSP v0.1 2023-07-17 20:39:12 -04:00
xqyjlj 0eb75ced70
[time]时钟框架重构 (#7794) 2023-07-17 20:11:58 +08:00
sp-cai 0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 (#7806)
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04:00
Supper Thomas 350626841a
[libcpu]fix RT_ASSERT undefine (#7816) 2023-07-14 09:47:02 +08:00
Siwei Xu 6a9973cf19 [bsp][Infineon] Add I2C4 config for psoc6-evaluationkit 2023-07-12 12:38:10 +08:00
Zheng-Bicheng fefffcf363
[bsp][stm32] add B-U585I-IOT02A BSP (#7778)
B-U585I-IOT02A芯片为STM32U585AIIxQ,与stm32u575-st-nucleo板卡接近,因此参考stm32u575-st-nucleo对B-U585I-IOT02A板卡的BSP进行了实现
2023-07-11 00:39:29 -04:00
Supper Thomas 032a3f2704 [bsp][rt-spark] Update README.md 2023-07-10 19:13:42 -04:00
Rbb666 b0b2256da1 [bsp][renesas]fix build error 2023-07-10 01:48:21 -04:00
Meco Man 325ddd2ab7 [bsp][stm32l476][RTduino] support PWM switch to SPI 2023-07-09 20:55:51 -04:00
Meco Man 673d1dcaf0 [bsp][stm32f411][RTduino] support Tone hwtimer 2023-07-09 20:55:51 -04:00
Meco Man a75de72bb1 [RTduino][ST7789] fix the demo of duration time caculation 2023-07-09 20:55:51 -04:00
Meco Man 5a51cd29c7 [bsp][stm32f411][RTduino] pins_switch_to_spi -> switchToSPI 2023-07-09 20:55:51 -04:00
Meco Man 237bbfd968 [debug] remove RT_DEBUG_xxx
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
2023-07-09 00:19:29 -04:00
liYangYang 3660db39a1
[RTduino][stm32-f411nucleo] 支持对接引脚的功能切换 (#7798) 2023-07-09 00:19:11 -04:00
Meco Man a87b399848 [stm32][RTduino] limit pin max number check 2023-07-08 21:47:57 -04:00
Meco Man 4f1f96bbce [stm32l475][RTduino] support tone timer 2023-07-08 21:47:57 -04:00
Supper Thomas 9295bc78ea
[bsp][stm32] remove the useless bsp (#7795) 2023-07-08 14:58:10 +08:00
Supper Thomas b59d243c4f
[bsp][stm32][spark]first version (#7787) 2023-07-07 09:39:57 +08:00
wusongjie 81c8919889 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2023-07-06 10:20:35 +08:00
zhkag c0a5129ed4
[bsp][acm32] 修复 acm32 并添加 ci (#7783) 2023-07-05 18:22:45 +08:00
zhkag efbcd5d487
[bsp][renesas] 修复 renesas 部分 bsp 并添加 ci (#7782) 2023-07-05 18:21:43 +08:00
zhkag 9c14c518db
[bsp][mm32] 修复编译问题 (#7780)
Co-authored-by: Supper Thomas <78900636@qq.com>
2023-07-05 18:20:08 +08:00
Shell af01d1fd1c
[components/mm] improve output of list_page (#7779) 2023-07-05 17:54:28 +08:00
wusongjie 8aa4366cb2 Drivers: Support Open Firmware API and model of PIC
We support OFW API to replace fdt old API, and add
IRQ, IO, Platform-Bus, CPUs ... OFW node contorl.
To support work with Device Tree or ACPI in drivers
that use IRQ, we make a programmable interrupt
controller driver's model.

Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-05 16:45:16 +08:00
程蒙蒙 fd3b432915 [STM32WL55]修复scons编译不通过,完善link文件,移除硬件浮点支持
Signed-off-by: 程蒙蒙 <chengmeng_2@outlook.com>
2023-07-03 15:24:12 +08:00
程蒙蒙 72a6c91032 [bsp]stm32工程生成路径在源码目录 2023-07-03 15:20:57 +08:00
Wayne 25072608f5
[nuvoton/m460] Fix related LVGL version issues. (#7762)
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-07-01 22:44:03 +08:00
Shicheng Chu 2da019234e
[include][dbg]update: delete rtdebug.h (#7759) 2023-07-01 08:41:02 -04:00
flyingcys 2d087c04a4 add bl808-d0 spi && i2c 2023-06-30 21:00:18 +08:00
程蒙蒙 a901828541
[acm32]修复scons --dist错误 (#7749) 2023-06-30 08:25:40 +08:00
flyingcys c78f646891
[bsp]add cv1800b (#7753) 2023-06-30 00:05:55 +08:00
Jay 69ec7981c3
[bsp][renesas] 修复SDHI尝试多块读取时只能读取到第一个块的问题 (#7737) 2023-06-29 17:42:13 +08:00
Meco Man 34bc78331c [stm32][i2c] replace stm32_udelay as rt_hw_us_delay 2023-06-28 22:08:14 -04:00
guo eafc773186 [bsp]imxrt1060 fix wrong image reference. 2023-06-28 08:51:45 -04:00
StackYuan e95318a266
[imxrt1062]refresh rw007 module port document. (#7734)
Co-authored-by: StackYuan <yuanyjyj@outlook.com>
2023-06-27 17:09:45 +08:00
Meco Man 53c435212c [bsp][ch32v208w] fix C++ compling errors 2023-06-26 22:42:30 -04:00
Meco Man 4b3f14565d [ch32][risc-v][drv] fix rt_hw_us_delay compile error 2023-06-26 22:42:30 -04:00
Meco Man 0750b71e27 [bsp][ch32v307v] add _head_end for link file 2023-06-26 22:42:18 -04:00
Dozingfiretruck 78dcc3d2c8
[BSP][airm2m] 同步lib修改,包括sram加锁、修复获取rtc频率错误等 (#7718) 2023-06-26 22:41:59 -04:00
Bernard Xiong ce4a9c324d
[bsp] add imx6ull smart board bsp (#7716) 2023-06-27 08:20:45 +08:00
Man, Jianting (Meco) 64c1d626e2
[bsp][stm32l476-nucleo] support timer 7 for RTduino (#7721) 2023-06-26 09:30:21 +08:00
Rbb666 b8796f55a5 [bsp][stm32]fix stm32u5 gpio interrupt error 2023-06-25 17:12:44 +08:00
xjy d1ed0f7ddb 完善sdram引脚定义 2023-06-21 22:51:32 +08:00
xjy a6024458ff add link file for iar project 2023-06-21 22:50:22 +08:00
xjy 878be62a0f 消除冗余定义;修复书写错误 2023-06-21 22:49:37 +08:00
guo 8d2072de55
[kernel]add api rt_hw_interrupt_is_disabled (#7706) 2023-06-21 22:42:50 +08:00
xiao xie ba76cb5ef7
[drivers]修复can驱动编译错误 (#7708) 2023-06-21 08:52:11 -04:00
zhkag 33f550cb65
[Kernel] message 可以返回消息的实际大小 (#7709) 2023-06-21 18:22:42 +08:00
DingDing 3e4797c63c
[stm32][pandora] fix the static conflict error in ROMFS
#### 为什么提交这份PR (why to submit this PR)
原版编译报错:Static declaration of 'romfs_root' follows non-static declaration in dfs_romfs.h

原因为:在`board/ports/drv_filesystem.c`71行用`static`定义了常量`romfs_root`,而在`rt-thread/components/dfs/dfs_v1/filesystems/romfs/dfs_romfs.h`29行,有它的外部引用:

```
extern const struct romfs_dirent romfs_root;
```

Original compilation error: Static declaration of 'romfs_ root' follows non-static declaration in dfs_romfs. h

The reason is: in 'board/ports/drv_filesystem.c' line 71 use `static` define `romfs_root`, while in `rt-thread/components/dfs/dfs_v1/filesystems/romfs/dfs_romfs.h` line 29, with its external reference:
```
extern const struct romfs_dirent romfs_root;
```

#### 你的解决方案是什么 (what is your solution)
在`drv_filesystem.c`中,不可以用static修饰这个常量,故去掉`static`关键字。

In  `board/ports/drv_filesystem.c`, it is not allowed to define this constant with static, so the `static` keyword must be removed.

#### 在什么测试环境下测试通过 (what is the test environment)
正点原子潘多拉开发板
stm32l475-atk-pandora
2023-06-20 00:22:52 -04:00
Ting Liu 8a8ecbc25d [bsp][imxrt1060] application: fix undeclared identifier error
Fix below build error when using LVGL:

applications/lvgl/lv_port_indev.c(73): error: use of undeclared
identifier 'BOARD_Touch_I2C_Send'
    .I2C_SendFunc     = BOARD_Touch_I2C_Send,
                        ^
applications/lvgl/lv_port_indev.c(74): error: use of undeclared
identifier 'BOARD_Touch_I2C_Receive'
    .I2C_ReceiveFunc  = BOARD_Touch_I2C_Receive,
                        ^
applications/lvgl/lv_port_indev.c(154): warning: implicit declaration of
function 'BOARD_LPI2C_Init' is invalid in C99
[-Wimplicit-function-declaration]
    BOARD_LPI2C_Init(TOUCH_I2C, TOUCH_I2C_CLOCK_FREQ);
    ^

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2023-06-19 23:21:51 -04:00
dejavudwh 93baf8ddbb
[bsp][STM32] Add more Kconfig configuration support for stm32l496-st-nucleo (#7696) 2023-06-19 09:42:12 -04:00
Man, Jianting (Meco) 704554f1f9
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698) 2023-06-18 22:36:53 -04:00
Meco Man e8c0a74036 [wch][risc-v][drv] fix a typo in drv_common.c 2023-06-17 22:02:49 -04:00
self-confident neko 1104b80a4d
[ch32][risc-v][bsp] update drv_common for wch risc-v bsp 2023-06-17 18:27:57 -04:00
zhkag 01fdd226e4
[menuconfig] 修复 menuconfig 相关问题 (#7686)
Co-authored-by: supperthomas <78900636@qq.com>
2023-06-16 20:14:05 -04:00
Shicheng Chu 61c53e3e9f
[bsp][lpc55sxx]update: update keil default project
1.update keil default project
2.add rtduino aht10 demo
2023-06-16 19:28:53 -04:00
zst123 96207d4246 [bsp][stm32u575] add ADC support 2023-06-15 18:37:31 -04:00
zhkag 5a07d137b8 [bsp] BSP support menuconfig for fujitsu 2023-06-15 09:25:17 -04:00
zhkag d65238febb [bsp] BSP support menuconfig for sam7x 2023-06-15 09:24:45 -04:00
Meco Man ee3ecf82d7 [bsp][ch32-rsicv][sconscript] add drv_common.c
attach bf4594870e
2023-06-14 18:49:04 -04:00
Meco Man 4f5ba63c7c [cpp] attach CXXFLAGS to reduce the resource consumptions 2023-06-14 08:49:33 -04:00
dejavudwh 49ae4ab614 Modify code format 2023-06-14 08:48:29 -04:00
dejavudwh 0131018884 BSP support menuconfig for lms38962 2023-06-14 08:48:29 -04:00
dejavudwh e4fdf23cef BSP support menuconfig for lm3s9b9x 2023-06-14 08:48:07 -04:00
self-confident neko bf4594870e
向 wch-riscv-bsp 添加 drv_common.c/.h 文件 (#7671) 2023-06-14 19:34:37 +08:00
vandoul 446fdf1329 [bsp/renesas/ebf_qi_min_6m5]use fsp v4.4.0, add sci spi config item, add sci i2c driver, update README. 2023-06-12 21:40:42 -04:00
wangqinglin 4003172797
删除ioremap 宏定义 (#7662) 2023-06-12 19:52:11 +08:00
wangqinglin edaa0d9c8a 更新rk3568 bsp 支持PSCI、amp模式 2023-06-11 21:41:37 -04:00
Meco Man 690446ee90 [pandor]st77xx update demo 2023-06-10 19:00:25 -04:00
Meco Man 28b7c88269 [stm32][drv_spi] revert the typo
it shouldn't be a static variable.
2023-06-10 19:00:08 -04:00
KurisaW 1d748a7fd8 [bsp][stm32] 修改STM32G474 ioc工程为正确的芯片型号 2023-06-10 09:38:08 -04:00
zhkag 0f998f6b05
[simulator] 模拟器可以使用 utest 测试框架 (#7644)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-06-10 12:32:34 +08:00
wdfk-prog 7c3f5c3879 [bsp][stm32][spi] 优化DMA数据非字节对齐的处理流程 2023-06-09 22:48:22 -04:00
guo 3a7546671a
[bsp/renesas] drv_sci_spi.c add timeout. (#7632) 2023-06-09 06:22:59 +08:00
flyingcys 0b6f7743f1
[bsp/bouffalo_lab]update sdio host driver (#7642)
Co-authored-by: chenyisong <chenyisong@tuya.com>
2023-06-08 23:39:52 +08:00
shiwa 10551b54cc
[bsp][essemi]es32vf2264更新部分库函数和驱动,添加RTduino支持 (#7619) 2023-06-08 02:13:01 -04:00
zhkag 22972409d4 [simulator] 修复 linux simulator 编译运行失败 2023-06-07 08:52:28 -04:00
guozhanxin 0a7b08d00a [bsp/ra6m3-hmi-board]add english README.md 2023-06-06 22:48:21 -04:00
ZengJianwei ab8caed1a3 [bsp][gd32]添加 GD32F303 的 pwm 驱动 2023-06-06 21:06:43 -04:00
Rbb666 849f0d4a71
[bsp][Renesas]修改Readme (#7620) 2023-06-06 20:50:11 +08:00
winfenggao 37585a3f20
[serial_v1] 增加变量 DR_mask 成员变量提高效率 (#7597) 2023-06-06 00:18:32 -04:00
meng-plus dd4a068e76
[bsp][LPC4088] 增加IAR环境的支持 (#7611) 2023-06-06 00:02:54 -04:00
Shicheng Chu ff8064c02e
[bsp][pico] add drv_wdt (#7614) 2023-06-05 22:03:16 -04:00
tangzz98 26ac806521
[bsp][stm32] add STM32F334 NUCLEO BSP (#7600) 2023-06-05 21:22:34 -04:00
Shicheng Chu ccc8e7ce4d
[bsp][pico]update: add drv_adc (#7603) 2023-06-05 15:52:31 +08:00
Rbb666 b9cd90c600
[bsp][Renesas]add definitions to prevent compilation errors (#7608) 2023-06-05 11:03:53 +08:00
JasonCang 1c7e7738a7 [bsp][gd32]fixed sf probe error 2023-06-03 20:27:16 -04:00
Shicheng Chu bf07f4183e
[bsp][pico]update: add drv_soft_spi (#7598) 2023-06-04 08:16:06 +08:00
rose_man 5d299ffdcd [bsp][lpc55sxx]update: drv_soft_i2c drv_soft_spi
1.config pin in menuconfig;
2.update format;
3.chang soft_i2c name
2023-06-02 17:27:03 -04:00
Rbb666 b3ea130ddd
[bsp][Renesas]Modify some drivers and configuration files (#7590) 2023-06-02 15:47:09 +08:00
Meco Man 22fb7152d9 [stm32][spi-dma] 只有传输数据超过一定长度才会使用DMA方式
在传输数据为短小报文时,使用DMA模式反倒会慢
2023-06-02 03:14:32 -04:00
褚仕成 761a28e4d9 [bsp][pico]add: drv_soft_i2c 2023-06-02 10:08:29 +08:00
Man, Jianting (Meco) 1638241297
[stm32][drv_spi] 优化spi单工发送, 不对接收buffer操作
否则可能影响上层应用的接收/发送buffer

attach: afcc400
2023-05-31 21:54:45 -04:00
Shicheng Chu 62afa5a9dc
[bsp][lpc55sxx]add: adaptation LVGL (#7585) 2023-05-31 00:50:19 -04:00
Man, Jianting (Meco) 4366ca8af6
[stm32][pandora][RTduino] 完善RTduino demo (#7584) 2023-05-31 12:16:47 +08:00
Shicheng Chu 3a44dbbf92
[bsp][lpc55sxx]add: drv_lcd and drv_touch (#7569) 2023-05-30 23:40:19 -04:00
rose_man 31ede54ac7 [bsp][lpc55sxx]update drv_adc 2023-05-29 12:43:03 -04:00
alteracd 6d0f2267e8
[bsp] support menuconfig for lm4f232、rm48x50、mm32 (#7561)
Co-authored-by: supperthomas <78900636@qq.com>
2023-05-29 02:00:34 -04:00
Meco Man 099c889e2b [RTduino][stm32][pandora] support Arduino libraries demos 2023-05-29 01:57:19 -04:00