Commit Graph

7068 Commits

Author SHA1 Message Date
Yuqiang Wang 62b0d4fd2e
[bsp][HMIBoard] config rtduino peripheral with HMI (#8610) 2024-03-14 18:20:33 -04:00
Yuqiang Wang 6aa1442f64 [bsp][renesas] add renesas soft spi driver 2024-03-14 11:38:28 +08:00
zhangyan fad78950ea
[bsp/phytium]Adapter aarch64/aarch32 (#8580) 2024-03-13 18:07:03 +08:00
kurisaW 15125bdba0 [bsp][renesas] add ra8 en docs 2024-03-12 11:04:26 +08:00
Zhang 55a5c20661 [bsp][nxp] 在FRDM-MCXN947上增加UART5/UART2 2024-03-11 18:05:00 +08:00
Meco Man 2b7a4ea7a3 [bsp][nxp][imx] move imx BSPs into nxp/imx folder 2024-03-10 23:19:22 -04:00
Meco Man f71d4f33ea [bsp][nxp][lpc] move lpc BSPs into nxp/lpc folders 2024-03-10 23:19:22 -04:00
Meco Man 46967ef56f [bsp][nxp][mcx] move mcxa/n to nxp/mcx folder 2024-03-10 23:19:22 -04:00
Meco Man adaa44c911 [bsp][stm32f469-disco] support RTduino SPI 2024-03-09 21:43:23 -05:00
Meco Man b85c4cade2 [bsp][stm32] format code of i2c hardware drivers 2024-03-08 13:29:32 +08:00
Dyyt587 4e1626703f
[bsp][stm32] add hardware i2c driver 2024-03-07 22:59:47 -05:00
Meco Man 384a370c9a [stm32][tim-config] fix F4 TIM6's IRQ source in STM32F412 2024-03-08 09:39:57 +08:00
Meco Man 5f87e10032 [stm32f469-disc] support RTduino Tone feature 2024-03-08 09:39:57 +08:00
Meco Man 1a240798fa [RTduino] pins_arduino.h add limit check 2024-03-08 09:39:57 +08:00
Meco Man e961b051f9 [stm32f412-nucleo] support RTduino Tone feature 2024-03-08 09:39:57 +08:00
sp-cai cddab69d77 [BSP][HC32] drv_usart.c fix macro switch error 2024-03-07 20:26:14 -05:00
Shicheng Chu 5d70f98e4d
[bsp][cvitek] add rtc driver (#8586) 2024-03-07 17:18:53 -05:00
Zhang c3416c5868 [bsp][nxp]修复FRDM-MCXN947 Keil编译错误 2024-03-07 18:15:13 +08:00
Rbb666 d31c05a44c [tools]Fix project compilation errors generated by mdk and iar 2024-03-05 19:53:53 -05:00
Rbb666 784f764a27 Update the description of RA BSP and add the vision board 2024-03-05 16:47:43 +08:00
Rbb666 e1b80650d9 [bsp][renesas]add ra8d1-vision-board support 2024-03-05 16:47:43 +08:00
Wind 859781232c
Bug fixed while using UTEST framework (#8577) 2024-03-05 10:25:28 +08:00
Z8MAN8 5e892607fa [bsp][cvitek] add wdt driver 2024-03-03 14:40:15 -05:00
flyingcys aa04a59805
[bsp/cvitek]add pwm driver (#8571) 2024-03-02 16:16:22 +08:00
zhangyan 76202e2141
🎯 [libcpu/arm/cortex-a]修改arm/cortex-a启动方式,解决cortex-a开启SMP工作异常问题 (#8517)
Co-authored-by: wangzongqiang <wangzongqiang1322@phytium.com.cn>
2024-03-02 16:06:07 +08:00
Shell 53754ff50a
[fixup] check NULL pointer before access (#8573)
Signed-off-by: Shell <smokewood@qq.com>
2024-03-02 16:05:19 +08:00
Rbb666 bb8dcbc42a
[bsp][nxp-mcx]修改默认下载器为Dap-Link (#8569) 2024-02-29 19:21:13 -05:00
flyingcys 3816d9fba4
[bsp/cvitek]add adc driver (#8562) 2024-02-28 00:04:31 +08:00
sheltonyu b14f299e7d
[bsp/at32] update usb host driver (#8560) 2024-02-26 23:17:07 -05:00
Yilin Sun 1f69929b0b [bsp][nxp/mcxn] Add support for MCXN CTIMER PWM driver.
This patch adds support for PWM generation using CTIMER on MCXN devices.

Each CTIMER provides 4 PWM channels, channels sharing the same
CTIMER instance will have the same period settings, and the duty
cycle will be maintained if period is changed through one of the four
channels.

The period channel is automatically assigned and will be transferred
to one of the other available channels if that channel is used for PWM
generation, no glitches should be expected during the transition.

The patch also provides a sample PWM output configuration connected to
the on-board green LED which can be enabled through Kconfig.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-26 23:16:43 -05:00
Meco Man 0400fffafc [stm32f412] support RTduino SPI 2024-02-23 19:50:33 -05:00
Shell 71560bafb5
🎯 Sync smart & scheduler codes (#8537)
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-02-23 17:49:15 +08:00
skllii 6fe69d7431
[bsp][hc32] support hc32f448 2024-02-22 12:34:35 -05:00
Yilin Sun c224278d3e [bsp][nxp/mcxn] hwtimer: initial support for MRT.
This patch adds support for hwtimer using MRT0 instance which simulates
4 independent timers. The frequency is fixed to AHB bus frequency and
not adjustable.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-21 18:01:17 -05:00
Yilin Sun 1b81128747 [bsp][nxp/mcxn] kconfig: update hwtimer config.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-21 18:01:17 -05:00
Yuqiang Wang c6bdee3c50
[ci] open ci check with function declaration warning (#8546) 2024-02-20 22:45:04 -05:00
Yilin Sun fd4e390d10 [bsp][mcxa] FRDM-MCXA153: GNU toolchain: fixed flags.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-20 18:24:21 -05:00
Yilin Sun e28ea7ad97 [bsp][nxp/mcxa] FRDM-MCXA153: Added GNU linker script.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-20 18:24:21 -05:00
Wangzongqiang 28f3e037b6
[bsp][phytium ] support dc driver with ops
修改bsp/phytium中DC驱动接口,利用ops注册相关驱动
2024-02-19 21:51:58 -05:00
Yilin Sun 9538f569e7 [bsp][nxp/mcxn10] Initial support for RTC driver.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-19 19:17:52 -05:00
yandld 66cc1f5da1 [bsp][nxp] fix gpio and sw pin issue 2024-02-19 12:06:01 -05:00
Jiangrunnan 4cbc1a41f6 [GD32_ARM] Fix bugs in drv_adc when enable multiple channel. 2024-02-19 01:24:37 -05:00
Yilin Sun 49c8ff2531 [bsp][nxp/mcxn10] GNU toolchain: fix broken port.
Details: Please check #8525

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-18 23:38:56 -05:00
Yilin Sun 08983b74c5 [bsp][nxp/mcxn10] Add RTT constant table sections to GNU lds.
Details: Please check #8525

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-18 23:38:56 -05:00
Meco Man a8629421ba [ci][attach] add AT CI check attach files 2024-02-18 21:28:45 -05:00
flyingcys ac2f7f05bf
[bsp][cvitek] 修复cv1800b默认中断号的配置问题 2024-02-18 12:42:06 -05:00
Shicheng Chu 0c000b403f
添加 BSP_USING_WIFI 宏控制 (#8536) 2024-02-16 20:20:42 +08:00
Shicheng Chu abba40183e
[bsp][cvitek]: add c906_little i2c driver (#8535) 2024-02-15 18:05:39 -05:00
杨熙 41e08084f8
Bsp nxp support (#8530)
Co-authored-by: StackYuan <yuanjyjyj@outlook.com>
2024-02-16 00:30:50 +08:00
Meco Man 35eea4bc46
[ci][arduino] 将Arduino库CI检查平台由STM32F411改为412 (#8534) 2024-02-13 21:51:23 +08:00
Yilin Sun 4570a9047d [bsp][lpc55sxx] GNU toolchain: fix broken port.
1 - The current linker flags undefines `Reset_Handler' and uses `entry()' as
default entry point (specified by `-e'), which will cause a invalid reset
vector in the image without proper crt0 init assembly routine.

2 - The default startup files provided by NXP violate the crt0 assumption
that bss section will be filled with zero unless macro `__STARTUP_CLEAR_BSS'
is defined. This will cause RTT hook funtion pointers set to non-NULL values at
kernel start, thus successfully passes the `RT_nnnn_HOOK_CALL` checks
and jumps to an invalid pointer.

3 - The default heap size used by TCB and kernel objects are set by
linker file macros, which is 0x400 (1024 bytes). The size is too small
for main task and the allocation will fail before the first task being created.

This patch restores Reset_Handler as default reset vector and executes
entry by replacing __START from newlib, defines the
`__STARTUP_CLEAR_BSS` macro to forcibly zeroize the bss section to avoid
unexpected hard faults, set proper heap sizes based on the SRAM sizes.
Some unused compiler/linker flags are also removed or replaced to avoid
future confusion.

The heap sizes for different devices are:
* LPC55(S)69/LPC55(S)28:            64kB
* LPC55(S)06/LPC55(S)16/LPC55(S)36: 32kB

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-07 21:57:28 -05:00
Yilin Sun 7be9ae16b3 [bsp][lpc55sxx] Add RTT constant table sections to GNU lds.
The following RTT constant table sections are missing from the linker
script which will cause non-functional image:

* .rti_fn*
* FSymTab
* VSymTab

Add these sections after .text sections.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-07 21:57:28 -05:00
Yilin Sun d7c05bfe8d [bsp][lpc55sxx] Update default configs for LPC5500 series.
Fixes compilation errors on mainline RTT versions.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-07 21:57:28 -05:00
Shicheng Chu cfcc72ee8a
[bsp][stm32] add English README for stm32h5 2024-02-04 09:54:27 -05:00
yangpeng 25d3136d02 fix MDK AC5 build warnings 2024-02-03 21:43:08 -05:00
kurisaw d5e2df46e5 [bsp][hmi-board] Optimize hardware driver configuration and trim the project file volume 2024-02-03 16:47:32 +08:00
Meco Man e0155f47a6 [ci][bsp][pico] add lvgl attachconfig file 2024-02-02 21:23:01 +08:00
Meco Man 74d7ca7dbd [bsp][pico] add board/Kconfig 2024-02-01 21:29:15 +08:00
yandld bfa2f7ca57 [bsp][nxp] add mcxn947 2024-02-01 06:56:41 +08:00
kurisaw b68957113c [bsp][renesas] Optimize startup check script structure 2024-01-29 17:38:14 +08:00
flyingcys a07442edf9
add cvitek/c906_little (#8514) 2024-01-29 09:13:21 +08:00
Shicheng Chu c9abc1ba25
[bsp][pico]: support pwm adc iic for pico rtduino (#8512) 2024-01-28 21:02:26 +08:00
flyingcys 06d3f29035
fix bl808-d0 && cv1800b compile error (#8513) 2024-01-28 16:05:52 +08:00
flyingcys 3f41bd95d1
add libcpu/risc-v/rv64 (#8511) 2024-01-28 13:39:39 +08:00
yangpengya b3da34b784
[bsp][stm32]完善stm32g0系列部分外设中断处理 (#8509) 2024-01-27 09:56:52 +08:00
Macro 3d3761f3e2
[bsp/phytium] aarch32 and aarch64 config update && eth device support (#8506) 2024-01-26 18:31:35 +08:00
Rbb666 0a8a5a155b
[bsp][ifx]fix set RTC time failed bug
Co-authored-by: Meco Man <920369182@qq.com>
2024-01-25 00:00:10 +08:00
kurisaw ac84f65e73 add bsp ci check and other modify with rt-spark 2024-01-23 16:57:03 +08:00
kurisaw 125c9684cd [bsp][renesas] Added the file change detection script 2024-01-23 16:57:03 +08:00
Meco Man add8e01967 [bsp][ci][pico] add RTduino attach config checking 2024-01-21 19:47:51 +08:00
Meco Man fa64b08064 [bsp][pico] remove meaningless dependencies of board.h 2024-01-21 19:47:51 +08:00
yuanzihao b87b4cbde5
[BSP][GD32]add gd32407v-lckfb (#8496) 2024-01-21 01:13:30 +08:00
Shicheng Chu 3ea8e08e2d
[bsp][stm32]: Add ADC and PWM support for H5 (#8495) 2024-01-20 19:30:03 +08:00
wirano 8d32b057c6 fix:fix startip_gcc.c entry point 2024-01-20 01:40:23 +08:00
kurisaw edd7a5d176 update the soft i2c configuration 2024-01-18 11:57:51 +08:00
kurisaw 345ce24e31 [bsp][renesas] RTduino configuration update
sync update

some optimize

[bsp][driver] Updates the naming convention of the i2c configuration item
2024-01-18 11:57:51 +08:00
Shicheng Chu 20cdc391fc
[bsp][pico]: add rtc driver (#8492) 2024-01-16 14:01:19 +08:00
yangpengya 2a68f70094
[bsp][hc32]更正pin和usart初始化顺序(bug fix)
#8480
#8458
2024-01-16 01:00:09 +08:00
zhangyan 447a22a21d
[bsp/phytium]修改文档,适配aarch64 (#8488) 2024-01-13 23:01:55 +08:00
yangpeng dfd4ae5464 [bsp][stm32]fix stm32f2 usart driver 2024-01-11 23:58:46 +08:00
Rbb666 8b5831cb64 [bsp][stm32]fix stm32f469 sdram not enable problem. 2024-01-10 18:12:57 +08:00
Meco Man fa2881ecd3 [ci][bsp] add strict mode 2024-01-10 18:08:09 +08:00
Jamie 48244f25f8
[hc32] Add some bsp drivers. (#8480) 2024-01-09 21:56:37 +08:00
GSunwinder db5bdb1ffa
[BSP] Support YD-CH32V307VCT6 (#8473) 2024-01-09 02:38:44 +08:00
Meco Man 74ac685b9a [stm32] fix missing headfer files 2024-01-08 18:54:43 +08:00
Meco Man 980619ed2c [ci][arduino] add 9 in 1 sensor shield package check 2024-01-08 18:52:49 +08:00
lzh 1531705b9a code format adjustment 2024-01-08 18:40:36 +08:00
lzh 35a43ac102 scripts update && new standalone vertion adaption 2024-01-08 18:40:36 +08:00
lzh f7b85a824e xmac and readme update 2024-01-08 18:40:36 +08:00
lzh 1028000f9a link problem solved 2024-01-08 18:40:36 +08:00
Meco Man 179c39d68d [stm32][f469-discovery][ci] support lvgl checking 2024-01-07 22:46:12 +08:00
Meco Man 8c5df321d8 [stm32] fix stm32 bsp warnings and errors 2024-01-07 22:46:12 +08:00
Meco Man 2d1f46d31c [bsp][allwinner tina] fix drv_gpio header file included 2024-01-07 22:46:12 +08:00
Meco Man 0a3a10e5bb [stm32] fxi gpio header files included 2024-01-07 22:46:12 +08:00
Bernard Xiong db2cfd335f
Revert "Add zynq7000 bsp" (#8463) 2024-01-05 16:31:01 +08:00
Ting Liu a275a92b4a [bsp][imxrt1060]: set XIP_BOOT_HEADER_DCD_ENABLE=1
Otherwise board failed to boot if enabling LVGL with NXP GUI-Guider

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2024-01-05 12:05:02 +08:00
yangpeng 7c07a97479 [bsp][hc32]更正pin和usart初始化顺序 2024-01-02 19:06:13 +08:00
褚仕成 32be3c4a30 [bsp][stm32]: add stm32h563 rtduino 2023-12-30 18:57:36 +08:00
Meco Man 8aacf19bb9 [rtduino][ci] add all libraries into CI check list 2023-12-29 22:18:39 +08:00
a1012112796 c92e437a69 Add zynq7000 bsp 2023-12-29 22:13:09 +08:00