Commit Graph
16772 Commits
Author SHA1 Message Date
Evlers c75e095a27 [wlan] add get_info api for more new sta information 2024-12-26 11:00:26 +08:00
Evlers 0932e31ca3 add support for independent dns services for multiple network devices 2024-12-25 18:22:00 +08:00
下里巴人 54dc92820c Update Kconfig 2024-12-25 17:40:04 +08:00
下里巴人 48090444b8 Update Kconfig file format 2024-12-25 17:40:04 +08:00
hywing 8bc0d1eb32 [bsp][nxp][mcxa153] the full implementation of eFlexPWM 2024-12-25 17:40:04 +08:00
Chen Wang acaf7533e1 bsp: qemu-virt64-riscv: Kconfig: remove duplicated RT_USING_VIRTIO
There is problem in the Kconfig of qemu-virt64-riscv.
RT_USING_VIRTIO is already defined in components/drivers/virtio/Kconfig,
so it should not be defined again in the BSP kconfig.

The solution is to rename RT_USING_VIRTIO to BSP_USING_VIRTIO.
Also, refer to the configuration method for virtio device drivers in
bsp/qemu-virt64-aarch64/drivers/Kconfig to rewrite the configuration
of BSP_USING_VIRTIO_xxx.

Updated default .config/rtconfig.h at the same time.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-12-25 00:42:05 -05:00
Meco Man 8c762b42ca [utest] implement rt_memcmp test cases 2024-12-24 13:42:04 +08:00
Meco Man a803c20bd7 [utest] implement more test case for rt_memcpy 2024-12-24 13:42:04 +08:00
Meco Man 61d62ab358 [utest] remove rt_kprintf from TC_rt_sprintf.c 2024-12-24 13:42:04 +08:00
Meco Man 26828a175e [utest] implement uassert_ptr_equal and uassert_ptr_not_equal 2024-12-24 13:42:04 +08:00
Meco Man a992226863 [libc] uncomment wcwidth for win32 2024-12-24 13:42:04 +08:00
kurisaw b23d667ba4 Specification of rtc synchronization functions 2024-12-23 19:40:11 -05:00
Meco Man c9ed784131 [utest][klibc] add rt_sprintf family functions test cases 2024-12-22 23:12:02 -05:00
Chen Wang f31a87926e doc: introduce how to build & run doxygen on ubuntu
Update readme doc to introduce how to build doxygen and run html
on Ubuntu machines.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-12-22 23:09:02 -05:00
zhujiale 2d78d8cad1 [dm2.0] add general sdhci driver it support pio&&sdma 2024-12-22 19:35:34 +08:00
Meco Man a9746edc08 [utest] optimize the utest to support new CI 2024-12-21 14:57:17 -05:00
Meco Man fc1abf46a9 [utest] add rt_memcpy utest case 2024-12-21 14:57:17 -05:00
Meco Man 7772d4619a [klibc] format code 2024-12-21 14:57:17 -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
ligr 1499dbda00 [components][libc/io]add comments for timer fd APIs. 2024-12-18 21:07:42 -05:00
guozhanxin 7fb9a0a3bb [kernel] change size_t to rt_size_t 2024-12-18 19:31:38 -05:00
guozhanxin 1dc2874434 [tools] add zig target 2024-12-18 19:31:38 -05:00
GuEe-GUI b294fba565 [DM/PIC] Support AMP mode
Only support on >= ARM GICv2

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-18 21:42:12 +08:00
GuEe-GUI c9ab55f7a5 [DM/MAILBOX] Support PIC mailbox in AMP
Should registers clean by master in AMP.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-18 21:42:12 +08:00
GuEe-GUI 07b114ae73 [DFS/FIXUP] Fixup ISO9660 build
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-18 21:37:51 +08: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
zhujiale e4760364f1 [serial] add bypass testcase in utest 2024-12-17 11:08:14 +08:00
zhujiale 27cf024585 [serial] add bypass hook to direct processing char when uart irq coming 2024-12-17 11:08:14 +08:00
wumingzi c1166e0bf1 [OFW] Delete redundant strcasecmp function 2024-12-14 12:40:39 -05:00
Shell 7ff75e21fa feat: arm64: mmu: auto-sensing of best paging stride
Improves the memory mapping process by dynamically selecting the optimal
paging stride (4K or 2M) based on virtual address alignment and mapping
size. This eliminates the need for upfront stride determination, enhancing
flexibility and maintainability in memory management.

Changes:
- Replaced fixed stride selection logic with a dynamic decision loop.
- Removed `npages` calculation and replaced with `remaining_sz` to track
  unprocessed memory size.
- Added assertions to ensure `size` is properly aligned to the smallest
  page size.
- Adjusted loop to dynamically determine and apply the appropriate stride
  (4K or 2M) for each mapping iteration.
- Updated virtual and physical address increments to use the dynamically
  selected stride.

Signed-off-by: Shell <smokewood@qq.com>
2024-12-13 23:38:32 -05:00
zzk597 02a114985a [bsp][stm32] hardware i2c driver add support for STM32F1 series 2024-12-13 17:46:07 -05:00
Supper Thomas 74b2d3d3e1 [tools] generate workspace by compile_commands.json 2024-12-13 17:43:00 -05:00
kurisaw 23256d35bc [drivers][rtc] Fixed software and hardware rtc device naming as rtc 2024-12-13 17:41:44 -05:00
GuEe-GUI 1c54ff4de6 [DM/FIXUP] Fixup block value init
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08:00
GuEe-GUI 78f318aa8f [FIXUP] __rt_clz loss in aarch64
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08:00
GuEe-GUI ec4f375bbc [DM/FIXUP] Fixup PIC ktime depends
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08: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
GuEe-GUI 0ede1d6c65 [DM/FIXUP] Fixup NVME build
1. Fixup Kconfig show order.
2. Fix `RT_DECLARE_IRQ_AFFINITY` to `RT_IRQ_AFFINITY_DECLARE`
3. Remove warning.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08:00
GuEe-GUI d248a3a288 [DM/FIXUP] Fixup PCI build
1. Add PCI include in rtdevice.h
2. Fixup `RT_KEY_ENABLED` loss.
3. remove waring type of `dw_pcie_ep_get_func_from_ep` return.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08:00
GuEe-GUI 76d3cf3b86 [DM/FIXUP] Fixup bitmap to new type
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08:00
GuEe-GUI 63bbce1c1f [DM/FIXUP] include name default
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-12-13 10:39:20 +08:00
zhujiale ee5b7f1de9 [lwp] fix TTYSUP_CFLAG did not include CBAUD flag 2024-12-12 18:54:30 -05:00
Teng mengchen 66216dc4e7 [bsp][ch32] fix menuconfig error for risc-v 2024-12-12 18:54:04 -05:00
liuchao 827daef863 [tools] add more c++ src file type 2024-12-11 22:27:05 -05:00