Commit Graph

160 Commits

Author SHA1 Message Date
杨熙
c5c61db6fc [nxp][mcx] add frdm-mcxa366 support (#11243)
* add frdm-mcxa366 support

* add frdm-mcxa366 bsp driver support

* add ALL_BSP_COMPILE.json

* fix co-pliot issue

---------

Co-authored-by: nxp-alexyang <alex.yang@nxp.com>
2026-03-10 15:50:23 +08:00
Rbb666
c2103a5cc9 Revert "修复MCXN947开发板arduino接口中的串口无法使用以及串口再配置后无法收到数据的问题."
This reverts commit 1bcd5c8f16.
2026-02-10 11:39:19 +08:00
vandoul
1bcd5c8f16 修复MCXN947开发板arduino接口中的串口无法使用以及串口再配置后无法收到数据的问题. 2026-02-10 10:18:45 +08:00
Bernard Xiong
743b614875 [components][clock_time] Refactor time subsystem around clock_time (#11111)
* [components][clock_time] Refactor time subsystem around clock_time

Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals.

Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional.

Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer.

* [components][clock_time] Use BSP-provided clock timer frequency on riscv64

* [risc-v] Use runtime clock timer frequency for tick and delays

* [bsp] Add clock timer frequency hooks for riscv64 boards

* [bsp] Update Renesas RA driver doc clock_timer link

* [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh

* [bsp][rk3500] Update rk3500 clock configuration

* [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays

* [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci

* [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk

Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings.

* [bsp][raspi3] select clock time for systimer

* [bsp][hpm5300evk] Trim trailing blank line

* [bsp][hpm5301evklite] Trim trailing blank line

* [bsp][hpm5e00evk] Trim trailing blank line

* [bsp][hpm6200evk] Trim trailing blank line

* [bsp][hpm6300evk] Trim trailing blank line

* [bsp][hpm6750evk] Trim trailing blank line

* [bsp][hpm6750evk2] Trim trailing blank line

* [bsp][hpm6750evkmini] Trim trailing blank line

* [bsp][hpm6800evk] Trim trailing blank line

* [bsp][hpm6e00evk] Trim trailing blank line

* [bsp][nxp] switch lpc178x to gcc and remove mcx timer source

* [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue.

* [docs][clock_time] add clock time documentation

* [docs][clock_time] Update clock time subsystem documentation

- Update device driver index to use correct page reference
- Clarify upper layer responsibilities in architecture overview
- Update README to describe POSIX/libc, Soft RTC, and device driver usage
- Refine architecture diagram with improved layout and color scheme
- Remove obsolete clock_timer.md file

* [kernel][utest] Trim trailing space

* [clock_time] Fix hrtimer wrap handling

* [clock_time] fix the static rt_inline issue

* [clock_time] fix the rt_clock_hrtimer_control result issue
2026-01-31 17:44:27 +08:00
CYFS
c374aa2b19 [bsp][nxp]:fix mcxa346 ci err 2026-01-28 13:54:16 +08:00
xiyao
45511af114 [add][RTduino] Fitter RTduino in frdm-mcxa346 (#11067)
* add mcxa346-RTduino
2026-01-06 09:37:55 +08:00
CYFS
3a78e8e74c feat[nxp][can]:add mcxa346 can device 2025-12-26 21:47:15 +08:00
CXSforHPU
754d5179a8 [nxp/mcxa156] Fix the low-frequency PWM output 2025-12-25 08:41:56 +08:00
Siwei Xu
b75828f079 [bsp][nxp][imx] Add FRDM-i.MX91 bsp #10570 2025-12-12 13:42:35 +08:00
westcity-YOLO
32d2cf17c7 clang format ignore migration 2025-11-13 10:33:25 +08:00
Copilot
c631b39317 [Components] Remove vbus component and realview-a8-vmm libcpu (#10863)
* Initial plan

* Remove vbus component and related code

Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-11-07 17:03:05 +08:00
thomax2
2e1cf8d981 utilize the clang-format-ignore mechanism in bsp/nxp 2025-11-07 17:00:33 +08:00
rbb666
258395a552 cherryusb:Add the missing header files for bsp/frdm-mcxa156. 2025-10-27 17:31:55 +08:00
kurisaw
e2aed47b6c [format][version]: synchronize bsp version configuration 2025-10-23 22:06:51 +08:00
Yucai Liu
982e52e200 [bsp/nxp/mcx/mcxa] Fix UART clock configuration type mismatch
Fixed implicit type conversion warning in UART driver by correctly
separating clock_name_t and clock_attach_id_t enum types.

Changes:
- Use kCLOCK_Fro12M (clock_name_t) for clock_src field
- Keep kFRO12M_to_LPUARTx (clock_attach_id_t) for clock_attach_id field
- Fix mcx_getc() to use correct status flag kLPUART_RxDataRegFullFlag

This resolves the compiler warning:
"implicit conversion from 'int' to 'clock_name_t' changes value from 16777216 to 0"

Signed-off-by: Yucai Liu 1486344514@qq.com
2025-10-21 10:28:06 +08:00
Yonggang Luo
b2d6e2c268 Use time_t for RT_DEVICE_CTRL_RTC_GET_TIME RT_DEVICE_CTRL_RTC_SET_TIME 2025-10-11 15:27:04 +08:00
Yilin Sun
98a12f1c24 [bsp/nxp/mcx/mcxe]: Add MCX E247 and FRDM-MCXE247 support. #10654 2025-09-02 16:58:06 +08:00
杨熙
3fbd23bc63 nxp bsp support: frdm-mcxa346 (#10625)
* update nxp mcxa driver to support frdm-mcxa346

* update NXP bsp README

* update frdm-mcxa346 project
2025-08-21 11:06:06 +08:00
杨熙
329cffd77e inital commit for FRDM-MCXA346 support (#10604)
* inital commit for FRDM-MCXA346 support

* format file

* add frdm-mcxa456 into bsp comople ci

* add some file according to copliot commments
2025-08-15 18:59:03 +08:00
sakumisu
2ac969b4ca update(cherryusb): update to v1.5.0 (#10409) 2025-06-20 16:19:38 +08:00
zhangshuxun
c3da935369 bsp: Add a reminder when dependency packages fail to fetch 2025-06-18 18:03:54 +08:00
沐攸
5f9f522285 format: update all series of BSP configuration items (#10406) 2025-06-17 15:42:49 +08:00
wangqiang
39dca869b4 修复了USB通信概率性挂掉的问题。原因是USB_OSA_ENTER_CRITICAL等宏使用的是禁止调度的函数,无法保护中断与任务的临界资源,修改为禁止中断可以解决这个问题 2025-06-05 12:15:12 +08:00
kurisaw
fe1308976e version: version release preparation 2025-05-30 15:52:45 +08:00
hydevcode
759858127e bsp/nxp:Separate nxp_imx library (#10273) 2025-05-15 15:44:47 +08:00
hydevcode
02287790b5 bsp/nxp:Separate nxp_lpc library (#10265) 2025-05-12 20:18:51 +08:00
hydevcode
27430ca7d4 bsp/nxp:Separate NXP_MCX drivers (#10246) 2025-05-12 15:51:31 +08:00
yixinghua121
983f02151a 修复 MMCSD 宏拼写错误+内核开启LOG_D编译问题 2025-03-12 16:02:43 +08:00
CYFS
bb5be4d19a fix:nxp pwm kconfig 2025-03-01 15:45:19 +08:00
hydevcode
6d8d8884de [bsp][nxp] add cherryusb config for mcxa156 (#10041)
[bsp][nxp] add cherryusb config for mcxa156 and add ci.attachconfig
2025-02-26 20:23:49 +08:00
CYFS
c3cfe6a972 [bsp][nxp]:add p3t1754 sensor 2025-02-26 12:02:05 +08:00
oxlm
a7ba86ef38 模板工程从mcxa153更新成mcxa156,且默认调试器改为cmsisdap,因为板载调试器为cmsisdap 2025-02-24 08:04:41 +08:00
CYFS
0e9b7d9553 [bsp][nxp]:fix frdm-mcxa156 scons --dist err (#10024)
fix:frdm-mcxa156 scons --dist err
2025-02-23 14:52:12 +08:00
Yilin Sun
4e5f95e4f9 bsp: nxp/mcx/mcxa/frdm-mcxa156: Enable SPI driver support.
This patch:
* Enables SPI support
* Adds RW001 driver example
* Increases heap size to 32kB.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2025-02-21 20:16:08 +08:00
Yilin Sun
2e332d3463 bsp: nxp/mcx/mcxa/frdm-mcxa153: Kconfig: Remove ARCH_ARM_CORTEX_SECURE
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 <imi415@imi.moe>
2025-02-20 20:39:34 +08:00
Yilin Sun
27f3c4bab1 bsp: nxp/mcx/mcxa/frdm-mcxa156: Kconfig: Remove ARCH_ARM_CORTEX_SECURE
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 <imi415@imi.moe>
2025-02-20 20:39:34 +08:00
Yilin Sun
a162815129 bsp: nxp/mcx/mcxa/frdm-mcxa156: Added FPU support.
MCXA156 series supports FPU and DSP, adding corresponding compiler
flags.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2025-02-20 20:39:34 +08:00
Yilin Sun
8b482aec54 bsp: nxp/mcx/mcxa/frdm-mcxa156: Add LED blinking demo.
Add LED blinking demo to align with other BSPs.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2025-02-19 22:48:03 +08:00
Yilin Sun
f7feea17a4 bsp: nxp/mcx/mcxa/frdm-mcxa156: Enable PORT and GPIO clocks.
Enable PORT and GPIO peripheral clocks and release resets for all
ports.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2025-02-19 22:48:03 +08:00
Yilin Sun
6a0909ac1a ports: nxp/mcx/mcxa/frdm-mcxa156: Fix GNU toolchain builds.
This patch modifies the original linker script provided by NXP by
adding RT-Thread related constant tables to flash.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2025-02-19 15:18:02 +08:00
Rbb666
d83d71cc05 [drivers/spi]统一软件SPI配置 2025-02-09 15:48:49 +08:00
Rbb666
a63b97e316 [bsp][nxp]support FRDM-MCXA156 (#9971)
support FRDM-MCXA156

Co-authored-by: shannon <xxlong1999@163.com>
2025-02-07 09:45:56 +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
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
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