Commit Graph

7436 Commits

Author SHA1 Message Date
Meco Man 443ade4c29 [sscanf] use rt_sscanf to replace sscanf 2024-11-27 10:59:15 +08:00
Chen Wang 16475b3c92 bsp: cvitek: fix warning on rtc driver
When RTC is enabled, a warning appear during compiling:
warning: implicit declaration of function 'rtc_alarm_enable' [-Wimplicit-function-declaration]
  366 |     rtc_alarm_enable(alarm->enable);
      |     ^~~~~~~~~~~~~~~~

It's due to _rtc_set_alarm is not covered by RT_USING_ALARM. It's wrong.

Solution: cover all functions including _rtc_get_alarm & _rtc_set_alarm
under RT_USING_ALARM macro conditional defintion.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-11-26 21:45:00 -05:00
Chen Wang 0c910e755d bsp: cvitek: add introduction about rt-smart booting with rootfs
README.md: add introduction about how to make rootfs(fat) and
booting kernel with it.

Plus some cleanup for this documentation.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-11-26 21:45:00 -05:00
Chen Wang 032fe9c3a3 bsp: cvitek: support mount fat/ext rootfs for rt-smart
Support mount rootfs automaticly during booting up.
First try ext, then fat.

Plus some code cleanup, such as remove BSP_USING_ON_CHIP_FLASH_FS,
which is not defined and unused.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-11-26 21:45:00 -05:00
Chen Wang 1052f99537 bsp: cvitek: 906b: romfs -> diskfs
ROMFS is Read-Only Memory Filesystem. But ext4/fat are not read-only.

So renamed:
- mnt_romfs.c -> mnt_diskfs.c
- BSP_ROOTFS_TYPE_ROMFS -> BSP_ROOTFS_TYPE_DISKFS

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-11-26 21:45:00 -05:00
hywing 07999dc84a [bsp][nxp][mcxa153] add interrupt process in IRQ Handler functions 2024-11-26 20:04:31 +08:00
hywing 46b2850f12 [bsp][nxp][mcxa153] add hardware timer driver 2024-11-26 20:04:31 +08:00
hywing 5346c87fe2 [bsp][nxp][mcxa153] update drv_wdt.c && drv_wdt.h file format 2024-11-25 21:19:26 -05:00
hywing e43df5eb9e [bsp][nxp][mcxa153] add watch dog driver 2024-11-25 21:19:26 -05:00
flyingcys 8ed4ae144f support milkv-duo rt-smart
1. switches memory management to SLA

2. use ioremap modification driver

Signed-off-by: flyingcys flyingcys@163.com
2024-11-25 10:48:36 +08:00
Meco Man 13e0671f65 [fal] using rt-thread raw API instead of std API 2024-11-24 11:34:30 +08:00
Meco Man 8e10983c9b [klibc] add rt_vsnprintf_std.c and rename RT_KLIBC_USING_VSNPRINTF_LONGLONG 2024-11-24 11:29:28 +08:00
zhangjing 858813a081 [bsp][qemu-virt64-riscv]:remove the redundant UART1 configuration from the Kconfig 2024-11-20 21:49:49 -05:00
Supper Thomas cc1707e3b3
[bsp/nrf5x] Fix the nrf5340 bsp 2024-11-18 22:43:58 -05:00
Meco Man 491f13e289 [utest][stm32f412][gcc] add __rt_utest_tc_tab_start to support utest 2024-11-18 09:57:46 +08:00
zhujiale c1db34983d [rpi4b] add new bsp for qemu-rpi4b 2024-11-15 15:35:46 +08:00
flyingcys 0d9185bd5a
[bsp][cvitek]fix milkv-duos-sd cann't startup big-core kernel (#9633)
fix milkv-duos-sd cann't startup big-core kernel
milkv-duos-sd use cv1813h folder store ld file
Signed-off-by: flyingcys <flyingcys@163.com>
2024-11-15 12:52:57 +08:00
Chen Wang 83a250f05f
bsp: qemu-virt64-riscv: Improve README (#9651)
Improved README document
- Unified the usage process of Standard Edition and Smart Edition.
- Deleted the description of running RTT in Machine Mode. Currently,
  both Standard Edition and Smart Edition RTT run in S-mode by default.

At the same time, some unnecessary scripts were cleaned up.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-11-14 22:09:23 +08:00
wumingzi 908dc684b7
[bsp][ESP32] add spi custom configuration function and enhance muti object initliz… (#9643)
* add spi custom configuration function and enhance muti object initlization and setting

* update changelog

* submit ci files

* fix ci file

* update

* formatting

* delete yaml files

* fix ble ci file

* fix undefined reference to app_main error

* update
2024-11-14 20:11:37 +08:00
WwWangGuan ebe2926cd6 [bsp][gd32][fix rtc clock selection] 2024-11-13 22:56:32 -05:00
wdfk-prog 4c18fa7e21 fix:[CAN][STM32]open时立刻启动can_start,还未完成其他配置,可能导致异常 2024-11-13 22:56:17 -05:00
下里巴人 be0161ec62
[bsp][nxp][mcxa153] add more UART channels (#9635)
* [bsp][nxp][mcxa153] add more UART channels
2024-11-13 08:01:21 +08:00
liuchao 56c9bbe405 [bsp/hc32] fix uart dma if gcc optimization level is not none 2024-11-09 19:01:11 -05:00
Alex Imcu d141d148cf
[bsp][cvitek] fix pinmux array order error (#9593) 2024-11-08 15:36:37 +08:00
hydevcode 8f77525b5d
[action] attachconfig adapts yml syntax features (#9629) 2024-11-07 22:32:31 +08:00
andeyqi 38caf02bb4 [BSP][FRDM-MCXN947]Add IAR9.60 project template. 2024-11-06 20:55:09 -05:00
hydevcode 65e239d3f1
[action] yml file adds the depends parameter (#9627) 2024-11-07 09:47:59 +08:00
kurisaw 04686869c7 [bsp][ifx] Infineon RTC driver adds alarm function 2024-11-06 18:19:13 +08:00
zhujiale 1572a44055 [dm2.0] add new bsp for rk platform 2024-11-05 22:36:59 -05:00
Supper Thomas 96165a5e99
[action] add the yml file support 2024-11-04 22:01:30 -05:00
zhangjianwu 4fe86c9439 [GD32]更新GD32E503V文档 2024-11-04 17:51:57 -05:00
zhangjianwu 3a696ebc67 [BSP][GD32]add gd32e503v-eval 2024-11-02 18:38:27 -04:00
andeyqi 2552759e96
[BSP][FRDM-MCX-C444] Adapter IAR 9.60 project 2024-10-31 19:22:03 -04:00
XYX12306 09bb0764be [bsp][renesas] initial commit for ra6e2-fpb 2024-10-30 23:47:38 +08:00
Kai 91eca8d573 [bsp][hc32] 修复SPI驱动的片选脚获取方式 2024-10-28 00:30:35 -04:00
Tian Xufeng e83b8fd820 [bsp][raspberry-pico] 修复rtconfig.h SPI1部分引脚错误问题 2024-10-27 14:53:40 +08:00
Li-Dongze 948c8a4901
[BSP]添加nrf52840的.ci文件,修复因rt_hw_pin_init引起的finsh警告,修复rtc编译报错 (#9583)
添加nrf52840的.ci文件,修复因rt_hw_pin_init引起的finsh警告,修复rtc编译报错
2024-10-26 14:59:30 +08:00
Yuqiang Wang b3d59050b0
[kernel] Specification interrupt nested level variable declaration type (#9568) 2024-10-23 17:08:29 -04:00
hydevcode 40124ca12b [action] add nrf5340 ci config 2024-10-23 17:07:39 -04:00
CYFS fc6f3c0403 [bsp][fm33lc026]fix path issue 2024-10-20 12:18:28 -04:00
CYFS 7e123fb187 [bsp][fm33lc026]add link 2024-10-20 12:18:28 -04:00
CYFS 45812e43a6 [bsp][yichip]fix bug 2024-10-20 12:18:28 -04:00
Shell 81181e101f feat: bsp: fit into the new thread context 2024-10-19 15:19:41 -04:00
CYFS 76adf376db
[bsp][stm32][rsoc]串口超时判断逻辑有问题
[bsp][stm32]fix uart bug
2024-10-19 12:24:42 -04:00
CYFS e47f478e12
[bsp][rsoc]Fix compilation issues with bsp of hc32l136 2024-10-19 12:23:07 -04:00
Supper Thomas ab964e1e5a [action] fix the fail action 2024-10-19 19:20:03 +08:00
Meco Man 47d941388b [bsp][stm32] fix variable init
fix https://github.com/RT-Thread/rt-thread/pull/9525
2024-10-14 22:12:21 -04:00
LZerro 8c1cd39d80
[bsp][Infineon]add drv_eth (#9527)
[bsp][Infineon]add xmc7200 eth driver #9527

---------

Co-authored-by: LZerro <lizhenhong@rt-thread.com>
2024-10-14 11:30:00 +08:00
Diamond Rivero 5010c17539 move `GPIO_InitStruct` variable inside to `PIN_IRQ_ENABLE`. thanks to @mysterywolf 2024-10-12 22:34:42 +08:00
Diamond Rivero df36d1806c call `HAL_GPIO_Init()` by default 2024-10-12 22:34:42 +08:00