summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-02-21bsp: nxp/mcx/mcxa/frdm-mcxa156: Enable SPI driver support.Yilin Sun
This patch: * Enables SPI support * Adds RW001 driver example * Increases heap size to 32kB. Signed-off-by: Yilin Sun <[email protected]>
2025-02-21[bsp][hpmicro] fix 'scons -dist' issue in the hpmicro bsps. (#10013)Fan Yang
- added tools and dist_handle function Signed-off-by: Fan YANG <[email protected]>
2025-02-20components: libc: fix array overflow in rt_object name assignmentkenneth.liu
[Problem Description] When assigning name to rt_object, strncpy() uses size equal to RT_NAME_MAX, which causes missing null-terminator and overflows into adjacent 'type' field. This corruption leads to unexpected system behavior. [Problem Analysis] The rt_object structure defines: | char name[RT_NAME_MAX] | -> buffer | rt_uint8_t type | -> adjacent field Original code calculates size as: size = end - first + 1; if (size > RT_NAME_MAX) size = RT_NAME_MAX; When size equals RT_NAME_MAX, strncpy() will copy exactly RT_NAME_MAX bytes without adding terminating '\0', causing two issues: 1. name buffer is not null-terminated 2. The implicit null-byte writes beyond name[] into type field [Solution] Change boundary check from: if (size > RT_NAME_MAX) size = RT_NAME_MAX; to: if (size >= RT_NAME_MAX) size = RT_NAME_MAX - 1; This ensures: 1. Always leaves space for null-terminator 2. Prevents overflow into type field 3. Maintains maximum valid name length (RT_NAME_MAX-1 + '\0') Signed-off-by: Liu Gui <[email protected]>
2025-02-20bsp: nxp/mcx/mcxa/frdm-mcxa153: Kconfig: Remove ARCH_ARM_CORTEX_SECUREYilin Sun
MCXA153 does not support CMSE (Secure Extension). Remove it from Kconfig. Minor: Fixed a typo in Kconfig which makes Kconfig fail on case-sensitive operating system. Minor: Fixed a Kconfig defined incorrect SOC name (SOC_MCXN947 -> SOC_MCXA156) Signed-off-by: Yilin Sun <[email protected]>
2025-02-20bsp: nxp/mcx/mcxa/frdm-mcxa156: Kconfig: Remove ARCH_ARM_CORTEX_SECUREYilin Sun
MCXA156 does not support CMSE (Secure Extension). Remove it from Kconfig. Minor: Fixed a typo in Kconfig which makes Kconfig fail on case-sensitive operating system. Signed-off-by: Yilin Sun <[email protected]>
2025-02-20bsp: nxp/mcx/mcxa/frdm-mcxa156: Added FPU support.Yilin Sun
MCXA156 series supports FPU and DSP, adding corresponding compiler flags. Signed-off-by: Yilin Sun <[email protected]>
2025-02-19fix: fixed an issue where rt_typeof was not supported in the MDK toolchainkurisaw
2025-02-19fix: without KConfig in rsource and without command help.ZhaoCake
2025-02-19[fix]Some components do not have explicit KconfigZhaoCake
2025-02-19[fix] not ignore notes inZhaoCake
2025-02-19[feat][tools]Only add used components to distubution package.ZhaoCake
2025-02-19bsp: nxp/mcx/mcxa/frdm-mcxa156: Add LED blinking demo.Yilin Sun
Add LED blinking demo to align with other BSPs. Signed-off-by: Yilin Sun <[email protected]>
2025-02-19bsp: nxp/mcx/mcxa/frdm-mcxa156: Enable PORT and GPIO clocks.Yilin Sun
Enable PORT and GPIO peripheral clocks and release resets for all ports. Signed-off-by: Yilin Sun <[email protected]>
2025-02-19doxygen: More strict checks on build results (#10007)Chen Wang
Github CI doc_doxygen is very strict in checking the build results, and will output failure even if there are warnings. In order to match CI's checks, local build scripts are also checked more strictly to detect potential errors and even warnings as early as possible. Signed-off-by: Chen Wang <[email protected]>
2025-02-19doxygen: finsh: Normalize macro definitions (#10006)Chen Wang
Regular macro definitions according to [1]. Note: for variadic macros such as MSH_CMD_EXPORT, we can not use normal @param command, otherwise doxygen will report "@param is not found in the argument list of ...". So I just write the parameters by manual. Link: https://rt-thread.github.io/rt-thread/page_howto_macro.html [1] Signed-off-by: Chen Wang <[email protected]>
2025-02-19ports: nxp/mcx/mcxa/frdm-mcxa156: Fix GNU toolchain builds.Yilin Sun
This patch modifies the original linker script provided by NXP by adding RT-Thread related constant tables to flash. Signed-off-by: Yilin Sun <[email protected]>
2025-02-19[drivers][bsp][reness] Add Etherkit bsp and RZ series driver compatibility ↵kurisaw
adaptation
2025-02-19Add recommanded script and extension for writing doxygen comments on … ↵wumingzi
(#10001) Add recommanded script and extension for writing doxygen comments on vscode Signed-off-by: 1078249029 <[email protected]>
2025-02-19[bsp][wch] move ch32v307 sdk to package (#9983)Kai
* [bsp][wch] move ch32v307 sdk to package * [bsp][wch] move ch32v307 sdk to package * [bsp][wch] use a fixed version * [bsp][wch]fix: ch32v307v-r1 build * [bsp][wch] add yd board to ci * [bsp][wch] revert toolchain path
2025-02-18[lwp]add comments for lwp system calls. (#9934)Guorui Li
2025-02-18[lwp]检查killpg的signo参数的有效性 (#9981)heyuanjie87
* [lwp]对检查killpg的signo参数的有效性
2025-02-18[ulog]Fix the problem of file_buf being released incorrectlyRbb666
2025-02-18[tools/iar] iar.py fix scons --target=iar --dist (#9997)蒙蒙plus
#9996
2025-02-16[src/ktime] fix the bug when use keil AC6 and open RT_USING_HOOKLIST … (#9993)Supper Thomas
* [src/ktime] fix the bug when use keil AC6 and open RT_USING_HOOKLIST and RT_USING_KTIME
2025-02-15doxygen: add prefix for groups (#9991)Chen Wang
* doxygen: add prefix for groups Add "group_" prefix to doxygen group names. This makes it easier to grep with group name later. This patch only modifies the groups defined in the pathes of INPUT of documentation/Doxyfile: INPUT = . \ ../src \ ../include \ ../components/finsh \ ../components/drivers/include/drivers \ ../components/drivers/clk \ ../components/dfs/dfs_v2/src \ ../components/dfs/dfs_v2/include Other groups are not touched. Signed-off-by: Chen Wang <[email protected]> * ci: fixed error report when run file_check.py Such as: - "please delete extra space at the end of this line." - "the RT-Thread error code should return negative value. e.g. return -RT_ERROR" Signed-off-by: Chen Wang <[email protected]> --------- Signed-off-by: Chen Wang <[email protected]>
2025-02-13doxygen: add prefix for page name (#9989)Chen Wang
Add prefix "page_" to the name of pages. Add this as a rule in guide of writing doxygen documents. Signed-off-by: Chen Wang <[email protected]>
2025-02-12[bsp][mm32f526x] 1.fix adc device; (#9978)Chasel
2025-02-11[bsp][stm32f103c8t6 bule pill] fix the problem that is The linked list ↵cxs
obtained by calling rt_object_get_information is empty, so the system cannot get up.
2025-02-11ci: add qemua9 yml file (#9986)Li-Dongze
2025-02-11doxygen: add documentation for doxygenChen Wang
Documentation is provided to clarify how to write doxygen documentation for RT-Thread. This document is also integrated as part of RT-Thread doxygen documentation. An example is also provided. The original README.md is removed and integrated into this document. Updated github actions for doxygen too. Signed-off-by: Chen Wang <[email protected]>
2025-02-11[DM/THERMAL] Remove unused code in update pollGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM/LED] Rename LED register/unregisterGuEe-GUI
rt_hw_* is use for DM and not DM, but LED only use in DM. Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM] Replace spinlock static init by RT_DEFINE_SPINLOCKGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DFS/ISO9660] Remove warning for opsGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM/PIN] Reset the value of PIN_NONEGuEe-GUI
PIN_NONE is '-1', is similar to '-RT_ERROR', '-RT_EEMPTY' is better. Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM/CORE] Add IDA init in runtimeGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[AARCH64] Update kernel's boot link for ARM64GuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM/SPI] Make CS pin config fixed in system (#9977)GUI
Make a max CS pin value (16) for SPI, that will not alloc `*cs_pins` by malloc, because drivers call `rt_device_unregister` may not free item. Fixup the QSPI init configure member in DM mode. Make SoC Kconfig import easy. Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[drivers/spi]修复spi configure会执行两次的问题 (#9972)Rbb666
* [drivers/spi]修复spi configure会执行两次的问题
2025-02-11更新 bsp_buildings.ymlSupper Thomas
2025-02-10ci: remove spell_checkChen Wang
We often get wrong report when documentation related are changed, such as: ``` Getting action download info Error: This request has been automatically failed because it uses a deprecated version of `actions/download-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/. This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ ``` Just remove this action till now. Signed-off-by: Chen Wang <[email protected]>
2025-02-10[DM/FDT] Fixup earlycon loss old messages.GuEe-GUI
The `rt_fdt_scan_chosen_stdout` will init fdt_earlycon data without `msg` only, the `msg_idx` should not clean, too. Because we check if have old messages by `msg_idx` Signed-off-by: GuEe-GUI <[email protected]>
2025-02-09[dfs]mmap的文件在关闭后释放file指针 (#9917)heyuanjie87
* [dfs]mmap的文件在关闭后释放file指针
2025-02-09[drivers/spi]统一软件SPI配置Rbb666
2025-02-08[lwp]修正kill(pid < -1)时的返回值错误heyuanjie87
2025-02-07[bsp][nxp]support FRDM-MCXA156 (#9971)Rbb666
support FRDM-MCXA156 Co-authored-by: shannon <[email protected]>
2025-02-05[action]add online packages checking in rt-spark. (#9969)Rbb666
2025-02-03bsp: cvitek: fix build error for aarch64Chen Wang
This patch fixed the error "bash: mksdimg.sh: No such file or directory" when building cv18xx_aarch64. The issue is introduced by commit "bsp: cvitek: removed useless files after using rttpkgtool". In addition, in order to unify the logic with riscv as much as possible, the name of the "milkv-duo256m" directory under cv18xx_aarch64 is uniformly changed to "duo256m". This patch also improve the README, adding instructions to install xz-utils. Signed-off-by: Chen Wang <[email protected]>
2025-02-03[bsp][mm32f526x] 1.add mm32f526x bsp; (#9940)Chasel
[bsp][mm32f526x] 1.add a bsp for mm32f526x;
2025-02-03[bsp][stm32]Add an STM32H730 Board (#9962)Kai
* Add an STM32H730 bsp