7457 Commits

Author SHA1 Message Date
Meco Man
c9ed784131 [utest][klibc] add rt_sprintf family functions test cases 2024-12-22 23:12:02 -05:00
Lin-Chengqiu
16093369b2 [bsp/hc32]hc32f460 doesn't support CAN-FD, hc32_ll_can.h has no some definations. 2024-12-21 13:10:47 -05:00
Lin-Chengqiu
99491e3821 [hc32]hc32f460 has only one CAN, and it is defined as CM_CAN in hc32f460.h 2024-12-21 13:10:47 -05:00
Gaogao
68221dfb29 [opt][SDIO_MAX_FREQ redundant define del] 2024-12-21 21:52:42 +08:00
Chen Wang
7c7ff6e532 kernel: cleanup debug APIs
- `dbg_log` is a “NOT RECOMMENDED API”, convert the calling of this
  API to LOG_x and remove this API.

- `dbg_here`/`dbg_enter`/`dbg_exit`: no one use these APIs, remove
  them directly.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-12-20 17:50:00 -05:00
Chen Wang
6a7e797712 bsp: cvitek: remove GPL license declaration
GPL is conflict with Apache, which is used by RTT.

See <https://www.apache.org/licenses/GPL-compatibility.html>

Also clean up and remove some words such "LINUX".

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-12-19 22:39:47 +08:00
Chen Wang
6b246612a6 bsp: qemu-virt64-riscv: update README for booting with rootfs
Now lwext4 is ready, and qemu-virt64-riscv smart can boot with rootfs.

Updated README to introduce this.

This patch also replace qemu-nographic.sh with run.sh, which has a more
simple name and more robust to launch rootfs image binary.

TBD: qemu-nographic.bat is not touched, hope some guys from Windows can
give a hand.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-12-18 21:08:03 -05:00
Chen Wang
20d116ed4e
bsp: cvitek: update README for ext4 rootfs (#9785)
Now lwext4 package has supported ext4. Add description in README
to introduce how to create rootfs of type ext4.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-12-18 09:28:36 +08:00
zzk597
02a114985a
[bsp][stm32] hardware i2c driver add support for STM32F1 series 2024-12-13 17:46:07 -05:00
GuEe-GUI
ab4c622138 [BSP/FIXUP] Update init function export for drivers
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08:00
GuEe-GUI
a729a82706 [BSP/FIXUP] remove old reset drivers for RK3500
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08:00
Teng mengchen
66216dc4e7 [bsp][ch32] fix menuconfig error for risc-v 2024-12-12 18:54:04 -05:00
Chasel
4125582342 [bsp][wch/arm][ch32] 1.fix iwdt driver is not reload counter to register; 2024-12-09 21:07:51 -05:00
wumingzi
876f2be14c
[bsp][ESP32C3] support soft i2c and rt_hw_us_delay 2024-12-09 19:44:43 -05:00
Chasel
f5b6ae427c [bsp][wch/risc-v][ch32] 1.fixed iwdt driver is not reload counter to register; 2024-12-09 17:12:43 -05:00
yangpeng
0947a44658 [bsp][hc32][spi]update rt_hw_spi_device_attach 2024-12-04 16:37:40 +08:00
flyingcys
60d7198da0 update cvitek/README.md
Signed-off-by: flyingcys <flyingcys@163.com>
2024-12-04 10:37:33 +08:00
hywing
15701a1f44 [bsp][stm32] add a new bsp for stm32h723-st-nucleo board 2024-12-04 10:14:27 +08:00
kurisaw
2c3ee65d7f rzn2l-rsk support studio 2024-12-04 10:11:04 +08:00
liminghui12
61779ef4c6 renesas R9A07G0 PWM框架 GPT时钟修改为 FSP_PRIV_CLOCK_PCLKGPTL 2024-12-01 16:06:14 +08:00
GuEe-GUI
b8746961b5 [BSP/phytium/aarch64] Fixup CI build error
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-28 13:21:05 +08:00
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