summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-09fix rt_atomic_dec_and_testzhao maosheng
2024-08-08[ci][bsp]fix same54&same70&ls1cdev build errors. (#9282)Rbb666
[ci][bsp]fix same54&same70&ls1cdev ci build errors.
2024-08-07bsp: cvitek: fix c906_little IRQ_MAX_NR error numZ8MAN8
Analysis: The IRQ_MAX_NR value of c906_little is wrong. interrupt.h relies on IRQ_MAX_NR defined in rtconfig.h but does not explicitly include this header file. Solution: Change IRQ_MAX_NR to the correct value 61 in the datasheet. Explicitly include rtconfig.h in interrupt.h. Signed-off-by: Shicheng Chu <[email protected]> Reviewed-by: Chen Wang <[email protected]>
2024-08-07bsp: cvitek: fix cv18xx_risc-v IRQ_MAX_NR error numZ8MAN8
Analysis: The IRQ_MAX_NR value of cv18xx_risc-v is wrong. The wrong IRQ_MAX_NR will cause the install of an interrupt number larger than its value to fail. Solution: Change IRQ_MAX_NR to the correct value 101 in the datasheet. Signed-off-by: Shicheng Chu <[email protected]> Reviewed-by: Chen Wang <[email protected]>
2024-08-07bsp: cvitek: add support for RTCSYS_SARADCZ8MAN8
Cvitek adc dirver only supports one adc controller now, but the other adc controller RTCSYS_SARADC is missing. Signed-off-by: Shicheng Chu <[email protected]> Reviewed-by: Chen Wang <[email protected]>
2024-08-06[tools] fix the SDK package path issuebernard
2024-08-04优化mxca153 adc驱动,支持电压读取Rbb666
2024-08-04[net][sal]修复开启SAL_TLS编译报错Rbb666
2024-08-04修复不使能 RT_USING_DEVICE 时编译报错 (#9145)马龙伟
* 修复不使能 RT_USING_DEVICE 时编译报错 * 删除 ctime.c 中多余引用
2024-08-01remove useless codeYaochenger
2024-08-01[bsp][ch32] add eth driverYaochenger
2024-08-01优化flash部分驱动+完善注释+格式化部分代码Rbb666
2024-07-31更新MCXA153-SDK-V2.16.000Rbb666
2024-07-31[tools/env]统一tools中env相关的接口,优化env部分路径拼接 ↵LaterComer
(#9185) * 统一tools中env相关的接口到env_utility.py文件,并同步调整ci * 移除非本提交的文件 --------- Co-authored-by: Meco Man <[email protected]>
2024-07-30[bsp/Infineon] 修复 SCons 中的 typo 并优化表达 (#9262)耿浩
Co-authored-by: clow1710 <[email protected]>
2024-07-29fix typo in dhcp serverKai
2024-07-29fixup: compiler warning on cvitek risc-v cause by unsupport vDSO on rv64Shell
Signed-off-by: Shell <[email protected]>
2024-07-29fixup: using rt_kprintf instead of libc API for kernel sourceShell
Signed-off-by: Shell <[email protected]>
2024-07-29bsp: enable KERNEL_REMAP for cvitek platformShell
Changes: - board.c: add static assert for KERNEL_VADDR_START to check if it's valid - board.h: updated deafult KERNEL_VADDR_START for standard version - config bsp for v5.2.0 smart requirements - kconfig: update bsp Kconfig for remap kernel Signed-off-by: Shell <[email protected]> Reviewed-on: https://github.com/RT-Thread/rt-thread/pull/9229 Reviewed-by: Chen Wang <[email protected]>
2024-07-29bsp: cvitek/c906B: feat: add config of bootfsShell
To support more choice on bootfs. romfs, cromfs are now supported on risc_v_big platform. Changes: - added mount operations under port - added prototypes for cromfs init APIs Signed-off-by: Shell <[email protected]> Reviewed-on: https://github.com/RT-Thread/rt-thread/pull/9229 Reviewed-by: Chen Wang <[email protected]>
2024-07-29fix: add gd32h759i-start to CIwirano
2024-07-29fix: remove extra space at the end of fileswirano
2024-07-29uart: add support for gd32h7xxwirano
2024-07-29gpio: add gd32h7xx supportwirano
2024-07-29add GD32H7xx librarywirano
2024-07-29add gd32h759i-start bspwirano
2024-07-25bsp: cvitek: fix cv18xx_aarch64 mnt init blockingZ8MAN8
The aarch64 core of duo on the master cannot enter the console interface. It can only print the RT flag and hold it. Analysis: The latest commit that can work is ae6a328 ("Add psoc62, 61 config"). This phenomenon will occur after adding 754c59a ("[Feature] DFS mount auto by kernel parameters"). The specific reason is that when aarch bsp enables the device tree, the current u-boot will pass in bootargs, which contains "root=/dev/mmcblk0p2 rootwait rw", which means that the kernel is required to wait until the rootfs in /dev/mmcblk0p2 loaded successfully. However, the current aarch64 bsp default does not implement sdmmc device mounting, causing the kernel file system mounting module (rootfs_mnt_init() of components/drivers/core/mnt.c) to enter an infinite loop waiting. Solution: At present, we do not plan to modify the startup parameters of u-boot. The temporary solution adopted is to create a pseudo /dev/mmcblk0p2 device during the board initialization process, and then cancel the pseudo device after mnt is completed. This allows the kernel boot to be completed successfully. Signed-off-by: Shicheng Chu <[email protected]> Reviewed-by: Chen Wang <[email protected]>
2024-07-25Merge pull request #9228 from messigogogo/masterBernard Xiong
[BSP/Phytium]适配最新驱动
2024-07-25Merge pull request #9221 from Z8MAN8/cvitek_arm_uartBernard Xiong
bsp: cvitek: add missing soc type for aarch64
2024-07-25Merge pull request #9236 from polarvid/shell/arm64-headerBernard Xiong
quality: include the essential only to avoid recursion
2024-07-25Merge pull request #9247 from Z8MAN8/cvitek_arm_board_initBernard Xiong
bsp: cviteK: update board init for aarch64
2024-07-24[bsp/at32] 1.add support hwi2c driver, 2.update all firmware libraries. (#9241)sheltonyu
* 1.add support hwi2c driver, 2.update all firmware libraries * update some files and fixed errors * add support a423 at hwi2c driver * add .ignore_format.yml
2024-07-24bsp: cvitek: fixed stacksize issueChen Wang
In the original Sconstruct script, `GetDepend('__STACKSIZE__')` is placed before the call to `PrepareBuilding()`, which causes the value of `GetDepend('__STACKSIZE__')` to always be False, and the value of `__STACKSIZE__` in `link_stacksize.lds` will not be updated. Solution: move the call if `PrepareBuilding()` ahead. Also sync and update the .config and rtconfig.h, plus the link_stacksize.lds. Signed-off-by: Chen Wang <[email protected]>
2024-07-24Synchronizing sensor_v1 changeskurisaw
2024-07-24[sensor_v2] Repair an error occurs when sensor v2 probes a sensor device for ↵kurisaw
the first time
2024-07-24bsp: cviteK: update board init for aarch64Z8MAN8
When compiling CV18xx_arch64, have a error: can not find "rt_fdt_commit_memregion_early" Analysis: b785ef9 ("[libcpu][aarch64]memory setup using memblock ") no longer support "rt_fdt_commit_memregion_early", become use "rt_memblock_reserve_memory" Solution: Refer to the bsp/qemu-virt64-aarch64/drivers/board.c delete "rt_fdt_commit_memregion_early" Signed-off-by: Shicheng Chu <[email protected]> Reviewed-by: Chen Wang <[email protected]>
2024-07-24bsp: cvitek: add missing soc type for aarch64Z8MAN8
When compiling CV18xx_arch64, there are the following errors: 1. missing soc type for aarch64 2. uart device objects defined but not used Analysis: a63c07f ("bsp: cvitek: new design for pinmux") and 114e143("bsp:cvitek: add pinmux for uart"), CV18xx_arch64 is not considered. Solution: Refer to the cv18xx_riscv format to add the corresponding chip type SOC_Type_SG2002, as well as the corresponding macro for the serial port pins and interrupts Signed-off-by: Shicheng Chu <[email protected]> Reviewed-by: Chen Wang <[email protected]>
2024-07-24Merge pull request #9242 from heyuanjie87/hyj724Bernard Xiong
[bsp/cvitek]添加ioremap兼容定义以适应smart运行
2024-07-24Merge pull request #9212 from polarvid/shell/opt-gctxBernard Xiong
[libcpu] trimming ARM64 general context
2024-07-24[feat]添加ioremap兼容定义以适应smart运行heyuanjie87
2024-07-24quality: include the essential only to avoid recursionShell
The rtdef.h is a big header with multiple dependency inside, which makes it easier to introduce recursion dependency. Signed-off-by: Shell <[email protected]>
2024-07-24components: net: lwip: port: add netdev callback on link status change settingJiading Xu
- set netdev callback on link status change in netdev_add() Signed-off-by: Jiading Xu <[email protected]>
2024-07-22bsp: cvitek: improve documentationChen Wang
Currently, the documents under bsp/cvitek are a bit messy. There are currently four readme files: - bsp/cvitek/README.md (Chinese) - bsp/cvitek/c906_little/README.md (Chinese/English) - bsp/cvitek/cv18xx_aarch64/README.md (Chinese) - bsp/cvitek/cv18xx_risc-v/README.md (Chinese/English) Regarding the working mode of the big + small cores, it is meaningless to describe the small core alone, or the large core alone. This can also be seen in the existing files. The readme of the small core will also introduce the programming of the large core, and vice versa. Considering that the official default mode is C906B + C906L. ARM large core can be treataed as a special case. So the document structure is modified as follows: - Remove `bsp/cvitek/c906_little/README.md` and `bsp/cvitek/cv18xx_risc-v/README.md`, merge them all into `bsp/cvitek/README.md` - Add a link to `bsp/cvitek/cv18xx_aarch64/README.md` in `bsp/cvitek/README.md` FIXME: The modified document does not provide English version. Is it really necessary? Signed-off-by: Chen Wang <[email protected]>
2024-07-22[utest] feat: print progress on testingShell
This is required so the user will not be confused on waiting for test to complete. Changes: - notify user that the test is not corrupted - expand waiting tick on timed mtx test, for compatibility on different hw. Signed-off-by: Shell <[email protected]>
2024-07-22format checkzhangyan
2024-07-22[BSP/Phytium]适配最新裸机驱动张衍
2024-07-21[ci] add bsp/stm32+renesas examples files' review ownerRbb666
2024-07-21[bsp][cvitek] 修复 cv18xx_aarch64 gpio 驱动相关宏配置Z8MAN8
2024-07-21[bsp][cvitek]: 将adc wdt驱动的局部函数移至源文件Z8MAN8
2024-07-20[action][runner] add the keil ci check for runnerSupper Thomas
Signed-off-by: Supper Thomas <[email protected]>