4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-25 03:57:06 +08:00

16636 Commits

Author SHA1 Message Date
GuEe-GUI
165c9fd830 [DM/FIXUP] Fixup CLK
1. Default return OK when input NULL (if is not necessary in device).
2. Support object parse in OFW.
3. Support CLK depends fix auto.
4. Fixup rt_clk_array_prepare_enable and rt_clk_array_disable_unprepare.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-20 16:37:35 +08:00
zhuzhuzhu
e3f9323f9d [components][driver]add phy and mdio bus
old phy bus is too simple add phy_bus is not adapt rt_bus framework,so writer a stronger phy bus framework.

here is my commit message:
add mdio bus and phy bus to kernel,the phy bus use rt_bus framewok ,driver writer can write phy_driver first .when mac driver need to use phy they can register phy_device and pjhy_devie will serach for driver which match by uid and mask,if no driver match with the device that you register,phy_bus will return the genphy to you device,the genphy driver is the general driver for phy,so you can use it but it can not support the capcity of chip it may be cause performance is not up to peak
2024-11-20 16:37:35 +08:00
ligr
4657eca027 [components/libc/posix]add comments for rwlock APIs. 2024-11-20 16:37:35 +08:00
ligr
f58d563bb3 [components/libc/posix]add comments for condition variable APIs. 2024-11-20 16:37:35 +08:00
Meco Man
f5ea172909 Update src/Kconfig 2024-11-20 16:37:35 +08:00
Meco Man
a8aafe445e [ci] add RT_USING_CI_ACTION 2024-11-20 16:37:35 +08:00
Supper Thomas
53464d939a [bsp/nrf5x] Fix the nrf5340 bsp 2024-11-20 16:37:35 +08:00
ligr
d6fd43f085 [components/libc/posix]add comments for mutex APIs. 2024-11-20 16:37:35 +08:00
GuEe-GUI
ad9e6a0e82 [DM/FEATURE] Support clock subprobe in OFW
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-20 16:37:35 +08:00
GuEe-GUI
e471d07374 [DM/FEATURE] Support driver depends fix auto
We need a API to fix the driver load auto when
a second driver get it in probe process that
we can not be careful of the driver-to-driver's
depends in different SoC.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-20 16:37:35 +08:00
GuEe-GUI
d37adb686b [DM/FIXUP] remove some redundant INIT_EXPORT
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-20 16:37:35 +08:00
GuEe-GUI
bc19577d55 [DM/FIXUP] remove OFW switch macros
The drivers will support OFW and name probe both.
We should make build OK when OFW is disable.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-20 16:37:35 +08:00
zhuzhuzhu
bfa9017d05 add head 2024-11-20 16:37:35 +08:00
zhujiale
962bac6bee add ofw api to of net,driver writer can use this api get phy modes or get mac address 2024-11-20 16:37:35 +08:00
zhujiale
bcef76901b pci 2024-11-20 16:37:35 +08:00
Supper Thomas
84f2a0dbd5 Revert "[tools] use project's dir basename as default project name"
This reverts commit ea75800d5b3be3e63c6304afed8b06a3fdeae289.
2024-11-20 16:37:34 +08:00
zhujiale
da4f7261fc [libcpu] fix No memory higher than 1 GB is mapped 2024-11-20 16:37:34 +08:00
zhujiale
6e47f48395 [libcpu] fix No memory higher than 1 GB is mapped 2024-11-20 16:37:34 +08:00
Meco Man
e2c6805d5b [utest] format code and remove duplicate header file 2024-11-20 16:37:34 +08:00
Meco Man
64af830256 [utest][Kconfig] adjust RT_CONSOLEBUF_SIZE when utest is enabled 2024-11-20 16:37:34 +08:00
Meco Man
61256f6856 [utest][stm32f412][gcc] add __rt_utest_tc_tab_start to support utest 2024-11-20 16:37:34 +08:00
rcitachi
78c5cbb73b Modify the position of libc_rent definition 2024-11-20 16:37:34 +08:00
ligr
4f8bf21adf [components/libc/posix][pthreads]add comments for thread APIs of pthread. 2024-11-20 16:37:34 +08:00
ligr
b8320aa77d [net][sal]add comments for BSD socket APIs. 2024-11-20 16:37:34 +08:00
zhujiale
28c7f98c50 [rpi4b] add new bsp for qemu-rpi4b 2024-11-20 16:37:34 +08:00
heyuanjie87
f3faa9a504 [libcpu]riscv使用call指令解决长跳转问题 2024-11-20 16:37:34 +08:00
flyingcys
73975a119a [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-20 16:37:34 +08:00
Chen Wang
9bd10d20ca 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-20 16:37:34 +08:00
wumingzi
12080d42a8 [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-20 16:37:34 +08:00
WwWangGuan
09e42636d1 [bsp][gd32][fix rtc clock selection] 2024-11-20 16:37:34 +08:00
wdfk-prog
6bdaaf47c3 fix:[CAN][STM32]open时立刻启动can_start,还未完成其他配置,可能导致异常 2024-11-20 16:37:34 +08:00
Shell
ea5f58c668 feat: devfs: handling unit size in POSIX RW request
POSIX.1 says:
>  read() attempts to read up to count bytes from file descriptor fd
>  into the buffer starting at buf.

On the other hand, for rt_device_read, the `@size` is defined as the
number of unit (block size for blk device, otherwise one byte).

Changes:
- Transferred unit size from POSIX R/W(in bytes) to rt_device_R/W during
  request of file R/W operations.

Signed-off-by: Shell <smokewood@qq.com>
2024-11-20 16:37:34 +08:00
下里巴人
68e039b43f [bsp][nxp][mcxa153] add more UART channels (#9635)
* [bsp][nxp][mcxa153] add more UART channels
2024-11-20 16:37:33 +08:00
ligr
c150e4d6fb [libc] add comments for libdl APIs. 2024-11-20 16:37:33 +08:00
Shell
1ddc6ae67f fixup: smart: uninitialized buffer on mount(2) (#9636)
The `struct stat` object used inside mount(2) is uninitialized, which
can lead to undefined behavior during running

Changes:
- Set zero to buffer before calling to stat()

Signed-off-by: Shell <smokewood@qq.com>
2024-11-20 16:37:33 +08:00
Supper Thomas
c2d2d75136 [action] remove rockchip/rk3568 because of the complie time 2024-11-20 16:37:33 +08:00
Bernard Xiong
62843f8d07 [tools] add project.json generation in vsc.py. (#9632)
* [tools] fix the SDK path issue in env script.

* [tools] add project.json generation in vsc.py.

* [tools] provide correct and clear comments in vsc.py
2024-11-20 16:37:33 +08:00
liuchao
013caf7c4b [bsp/hc32] fix uart dma if gcc optimization level is not none 2024-11-20 16:37:33 +08:00
Alex Imcu
b6cf07b314 [bsp][cvitek] fix pinmux array order error (#9593) 2024-11-20 16:37:33 +08:00
hydevcode
d418e7a12d [action] attachconfig adapts yml syntax features (#9629) 2024-11-20 16:37:33 +08:00
andeyqi
e917c79991 [BSP][FRDM-MCXN947]Add IAR9.60 project template. 2024-11-20 16:37:33 +08:00
hydevcode
28c0ce0ad8 [action] yml file adds the depends parameter (#9627) 2024-11-20 16:37:33 +08:00
liuchao
e741089270 [tools] use project's dir basename as default project name 2024-11-20 16:37:32 +08:00
kurisaw
d826402472 [bsp][ifx] Infineon RTC driver adds alarm function 2024-11-20 16:37:32 +08:00
kurisaw
2f26edd8e2 [libcpu][component] fixed the r52 kernel gcc context switch assembly 2024-11-20 16:37:32 +08:00
zhujiale
927b550a88 [dm2.0] add new bsp for rk platform 2024-11-20 16:37:32 +08:00
yangpeng
74ecb5261e [components/net/at]修复大数据量传输socket断开后可能丢数据的问题 2024-11-20 16:37:32 +08:00
hydevcode
5a47564988 [action] Recursive folder lookup attachconfig.yml 2024-11-20 16:37:32 +08:00
liuchao
b86e5d1cfc [components][finsh]在RT_USING_POSIX_STDIO时,使用get_console获取当前console描述符 2024-11-20 16:37:32 +08:00
Supper Thomas
5870a7ba8a [action] add the yml file support 2024-11-20 16:37:32 +08:00