2846 Commits

Author SHA1 Message Date
simbit18 37152f7a34 boards/arm/stm32wl5: CMake added nucleo-wl55jc board
CMake added nucleo-wl55jc board

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-26 06:20:41 +08:00
Matteo Golin 6d092be2b1 boards/tms570ls31x-usb-kit: Set LOOPSPERMSEC=0 to avoid build errors
This board does not have a calibrated LOOPSPERMSEC value despite needing
one in order for correct operation. This commits sets the value to 0 so
that CI builds may pass, but users who build this board will see a
warning indicate the steps for calibrating a new value.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-25 15:00:03 -03:00
Matteo Golin cd81223ac4 boards/launchxl-tms57004: Set LOOPSPERMSEC=0 to avoid build errors
This board does not have a calibrated LOOPSPERMSEC value despite needing
one in order for correct operation. This commits sets the value to 0 so
that CI builds may pass, but users who build this board will see a
warning indicate the steps for calibrating a new value.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-25 15:00:03 -03:00
Matteo Golin 6e8016e6c6 boards/nucleo-wl55jc: Set LOOPSPERMSEC=0 to avoid build errors
This board does not have a calibrated LOOPSPERMSEC value despite needing
one in order for correct operation. This commits sets the value to 0 so
that CI builds may pass, but users who build this board will see a
warning indicate the steps for calibrating a new value.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-25 15:00:03 -03:00
Matteo Golin 97b8cb4a5f boards/nucleo-g474re: Set LOOPSPERMSEC=0 to avoid build errors
This board does not have a calibrated LOOPSPERMSEC value despite needing
one in order for correct operation. This commits sets the value to 0 so
that CI builds may pass, but users who build this board will see a
warning indicate the steps for calibrating a new value.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-25 15:00:03 -03:00
Matteo Golin 40e5379c88 boards/phy6222: Set LOOPSPERMSEC=0 to avoid build errors
This board does not have a calibrated LOOPSPERMSEC value despite needing
one in order for correct operation. This commits sets the value to 0 so
that CI builds may pass, but users who build this board will see a
warning indicate the steps for calibrating a new value.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-25 15:00:03 -03:00
Matteo Golin ca3c7c6c73 boards/qemu-armv7a: Correct LOOPSPERMSEC value
Use calibrated CONFIG_BOARD_LOOPSPERMSEC value for board configurations.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-25 15:00:03 -03:00
Matteo Golin 9de4557d2c boards/stm32/b-g474e-dpow1: Correct LOOPSPERMSEC value
Propagated correct CONFIG_BOARDS_LOOPSPERMSEC value to remaining
configurations for this board.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-25 15:00:03 -03:00
simbit18 303760b937 boards/arm/a1x: CMake added QuickFeather board
CMake added QuickFeather board

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-25 06:47:58 +08:00
simbit18 9b80988fd1 boards/arm/a1x: CMake added pcDuino board
CMake added pcDuino board

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-24 21:40:48 +08:00
simbit18 802de91155 boards/arm/stm32l5: CMake added boards
CMake added boards:

 - nucleo-l552ze

 - stm32l562e-dk

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-23 22:12:48 +08:00
Peter Barada c4d6b728a0 boards/stm32h7: Add button support to nucleo-h743zi2
This patch adds support for the user button on nuclo-h743zi2 board
(and nucleo-h753zi2 which is also a MB1364 board design) and enables
button support and example in nucleo-h743zi2:jumbo configuration selector.

Signed-off-by: Peter Barada <peter.barada@gmail.com>
2026-02-21 08:50:54 +01:00
simbit18 c036d23051 boards/arm/stm32wb: CMake added boards
CMake added boards:

 - flipperzero

 - nucleo-wb55rg

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-21 07:25:40 +08:00
simbit18 34f52384d8 boards/arm/stm32f0l0g0: CMake fix build b-l072z-lrwan1:nxlines_oled
fix b-l072z-lrwan1:nxlines_oled
b-l072z-lrwan1/src/stm32_lcd_ssd1306.c:38:10: fatal error: stm32_ssd1306.h: No such file or directory
   38 | #include "stm32_ssd1306.h"
      |          ^~~~~~~~~~~~~~~~~

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-19 16:31:21 -03:00
simbit18 11cd472869 boards/arm/samd5e5: CMake added boards
CMake added boards:

 - metro-m4

 - same54-xplained-pro

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-19 15:08:42 -03:00
simbit18 37226646fc boards/arm/samd2l2: CMake added boards
CMake added boards:

 - arduino-m0

 - circuit-express

 - samd20-xplained

 - samd21-xplained

 - saml21-xplained

 - xiao-seeeduino

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-13 17:40:55 -03:00
simbit18 d0417490d2 boards/arm/sam34: CMake added boards
CMake added boards:

  - arduino-due

 - flipnclick-sam3x

 - sam3u-ek

 - sam4cmp-db

 - sam4e-ek

 - sam4l-xplained

 - sam4s-xplained

 - sam4s-xplained-pro

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-12 16:09:20 -03:00
Felipe Moura ef71625ede input: add keyboard matrix driver
Add a generic kmatrix lower-half with polling/debounce, STM32 board adapters, Kconfig options, a public API header, and a test example/documentation.

Signed-off-by: Felipe Moura <moura.fmo@gmail.com>

decouple kbd / keypad.

Fix some comments

add documentation

fix rule issues

Update CMakeLists.txt

update documentation.

improve documentation
2026-02-10 08:15:01 -03:00
Andre Heinemans e83606732d boards/arm: add nxp mr-navq95b support
Build Documentation / build-html (push) Has been cancelled
- Add support for the MR-NAVQ95 which is an open-source development
  board designed for mobile robotics applications.
- Utilizes the NXP i.MX95 processor M7 core
- Configurations:
  'nsh'   A minimal configuration that only enables nsh shell
          on a UART
  'rpmsg' This configuration is similar to nsh but in addition
          it offers the Remote Processing Messaging (RPMsg) service to
          enable heterogeneous inter-core communication.

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2026-02-06 15:28:12 -03:00
simbit18 99db09d050 boards/arm/s32k3xx: CMake added boards
CMake added boards:

  - mr-canhubk3

 -  s32k344evb

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-02-06 15:27:50 -03:00
Andre Heinemans 9ecfff0833 boards/imx95-evk: enable mpu by default
Enabling MPU will fix imx95-evk:rpmsg by making rsc-table and vrings
regions non-cachable. Since the rewrite of RpMsg these regions are not
invalidated anymore.

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2026-02-05 11:17:47 -05:00
yinshengkai 87be79efb3 boardss: add gprof examples
Two Examples of Incorporating gprof into QEMU

Signed-off-by: yinshengkai <yinshengkai@bytedance.com>
2026-02-04 03:03:45 +08:00
Yongrong Wang a286287f4e drivers/virtio and vhost: auto-select parent config from sub-drivers
Change DRIVERS_VIRTIO and DRIVERS_VHOST from menuconfig to hidden config
options. Each virtio/vhost sub-driver now automatically selects its parent
config, eliminating the need to manually enable DRIVERS_VIRTIO or
DRIVERS_VHOST in defconfig files.

This simplifies board configuration by removing redundant CONFIG_DRIVERS_VIRTIO
entries from affected defconfig files.

Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2026-02-04 02:32:02 +08:00
Bartosz Wawrzynek fe184f79f3 boards/arm/stm32: Fix CMake build for protected mode on stm32f4discovery
- Added support for multiple linker scripts preprocessing in CMake
- Changed kernel/CMakeLists.txt to use target_sources for nuttx_user
- Added KEEP() directive in user-space.ld for .userspace section
- Removed hardcoded -funwind-tables to fix binary size bloat
- Updated memory regions: ksram/usram 4KB→16KB, xsram 104KB→80KB
- Enabled CONFIG_ARCH_FPU, CONFIG_STM32_CCMEXCLUDE, adjusted heap size

Fixes protected mode CMake build for stm32f4discovery:kostest configuration.

Signed-off-by: Bartosz <bartol2205@gmail.com>
2026-02-02 13:24:34 +08:00
hujun5 5db4278173 protect: move us_heap to userspace_data_s
Refactor heap pointer storage by moving us_heap field from userspace_s
to the nested userspace_data_s structure, enabling future extensibility
of user-space data without modifying the core userspace_s interface across
all board-specific implementations.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-02-02 11:06:53 +08:00
Bowen Wang 0a96f116bb boards/sim and qemuv7a: enable SCHED_EVENTS for boards used rpmsg port uart
Enable CONFIG_SCHED_EVENTS for the sim:rpproxy_uart,rpserver_uart and
qemu-armv7a:rpproxy,rpserver configurations because rpmsg port uart
depends on the SCHED_EVENTS now.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2026-01-28 19:23:41 +08:00
yinshengkai b777b0acbe boards/sam3u-ek: Increase kflash size from 65K to 80K.
Adjusted memory layout to allocate more space for kernel flash:

Signed-off-by: yinshengkai <yinshengkai@bytedance.com>
2026-01-27 10:37:37 +08:00
zhaoxingyu1 e62ba0adc5 mtdconfig: change the relevant judgments of mtd_config
For the MTD_CONFIG configuration item in
drivers/mtd/Kconfig has changed.

Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com>
2026-01-26 10:52:51 +08:00
zhaoxingyu1 273222c06e mtdconfig: modify mtdconfig kconfig
change filename  mtd/mtd_config_fs.c to mtd/mtd_config_nvs.c
and optimize the configuration related to mtdconfig

Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com>
2026-01-26 10:52:51 +08:00
simbit18 116196da02 boards/arm/s32k1xx: CMake added boards
CMake added boards:

  - s32k118evb

 -  s32k144evb

 -  s32k146evb

 -  s32k148evb

 -  ucans32k146

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-01-26 10:42:24 +08:00
hujun5 6f03601169 arch: rename STACK_ALIGNMENT to STACKFRAME_ALIGN across all architectures
Rename STACK_ALIGNMENT macro to STACKFRAME_ALIGN throughout the codebase
to provide clearer naming semantics. The new name better reflects the macro's
purpose of frame alignment rather than general stack alignment.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-22 15:37:24 +08:00
raiden00pl 491e86762b boards/nrf53: correct rptun names
after recent changes in rptun framework, HCI over rptun was broken due to
wrong cpu names.

Signed-off-by: raiden00pl <raiden00@railab.me>
2026-01-20 17:54:49 +01:00
Bowen Wang 7c484d6436 rptun/configs: refersh the sim/qemu rpmsg configs for new rptun framework
Now the sim, qemu-armv7a, qemu-armv8a can work with the new
rptun framework.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2026-01-19 14:18:27 +08:00
wangchengdong e4ea0a59ea boards: enable CONFIG_ENABLE_ALL_SIGNAL
Enable CONFIG_ENABLE_ALL_SIGNAL to fix build errors

Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
2026-01-18 08:24:13 -03:00
guoshichao 9de3b79e2c nucleo-h743zi/elf: modify the romfs img file path
Since the directory structure of the examples/elf project
has been reorganized, the corresponding ROMFS_IMAGEFILE path
also needs to be adjusted.

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2026-01-16 21:07:33 +08:00
Alexey Matveev 1a00d1b5c7 boards/stm32f103-minimum: Add GPIO in/out/int define
Added conditional compilation guards (#if/#endif) around GPIO function prototypes, operation structures, and interrupt handler to ensure proper compilation when GPIO input, output, or interrupt features are disabled.

Signed-off-by: Alexey Matveev <tippet@yandex.ru>
2026-01-16 08:57:09 -03:00
guoshichao ba63a4d234 ghs: fix the UsageFault:INVSTATE error triggered by exception_common
when we build with greenhills compiler, if the exception_common function
is put into a separate section: ".text.exception_common", then the
address of exception_common function is an even number, for example "0x16a6c",
in this case, it will trigger the UsageFaults:INVSTATE error.
The reason for this error is that in the GHS compiler, a section declared
through the ".section" directive must specify at least the "a" attribute.
Otherwise, this section will not be linked into the final file, and this
is why the address of exception_common function is invalid.
The following is the official explanation in the GHS compiler documentation:
"The reason for this error is that in the GHS compiler, a section
declared through the .section directive must specify at least the "a"
attribute. Otherwise, this section will not be linked into the final
file. The following is the official explanation in the documentation:
"Sections that are intended be part of the final linked output should
have at least the `a` attribute"
and for GHS compiler, the .text section is recommended specify the
attribute of `ax`.

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2026-01-16 09:41:13 +08:00
zhanghongyu 49f94e5e95 lpcxpresso-lpc54628/netnsh: enable CONFIG_NET_SOCKOPTS to adapt icmpv6 changes
The new icmpv6 uses setsockopt to set the filter.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-01-15 16:12:10 -03:00
simbit18 02831b0863 boards/arm/am335x: CMake build for BeagleBone Black board
- CMake added the BeagleBone Black board

Signed-off-by: simbit18 <simbit18@gmail.com>
2026-01-15 01:14:26 +08:00
lpxiao a174dbb2f7 bugfix:k28_usbhshost.c:380:47: error: 'errcode' undeclared
arm/kinetis/freedom-k28f: fix usb automount compile error

This patch fix k28_usbhshost.c:380:47: error: 'errcode' undeclared

Signed-off-by: lipan118<lp.xiao@foxmail.com>
2026-01-14 15:48:25 +01:00
Huang Qi 8b3862d19b style: Fix case statement formatting in power management callbacks.
Remove unnecessary parentheses around case labels in switch statements
for power management callback functions. This fixes checkpatch style
violations for case statement formatting.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-01-10 12:59:14 -03:00
simbit18 3015b87e97 boards/arm/xmc4: CMake added XMC4500 Relax and XMC4700 Relax
CMake added boards:

- XMC4500 Relax

- XMC4700 Relax

Signed-off-by: simbit18 <simbit18@gmail.com>

Update CMakeLists.txt
2026-01-09 07:34:53 +08:00
Bowen Wang 7dfc62bac5 qemuv7a/v8a-rpserver/proxy: remove "_ivshmem" suffix and update documents
Now the qemu-armv7a:rpserver_ivshmem, qemu-armv7a:rpproxy_ivshmem and
qemu-armv8a:rpserver_ivshmem, qemu-armv8a:rpproxy_ivshmem are not
only based on the ivshmem device but also the virtio-serial, so
remove the "_ivshmem" suffix and update documents.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2026-01-06 02:15:43 +08:00
Bowen Wang 0ff7014f75 qemu-armv7a/rpserver and rpproxy: support the rpmsg port uart
Use virtio-serial as the rpmsg-port-uart serial device, so we
can bringup the rpmsg-port-uart in qemu platform.

And update the documents:
nuttx/Documentation/platforms/arm/qemu/boards/qemu-armv7a/index.rst

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2026-01-06 02:15:43 +08:00
p-szafonimateusz 0721dfd171 boards/sabre-6quad/citest: migrate to NTFC
migrate sabre-6quad/citest to NTFC test cases

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
2026-01-05 22:03:01 +08:00
p-szafonimateusz b88f86ba5d boards/citest: rename run scripts to run.sh
Executable files called "run" don't pass checkpath verification,
so we change the name to "run.sh"

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
2026-01-04 09:40:12 -03:00
dongjiuzhu1 179cd569f0 board/lm3s6432-s2e/nsh: disable LIBC_LONG_LONG to avoid 64bit caluclar
00086373 00000634 T __aeabi_dsub
00086373 00000634 T __subdf3
00087841 00000724 T __udivmoddi4
and other small symbol, save total flash size 3K

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2025-12-31 08:47:23 -03:00
raiden00pl 53fccb56c9 boards/{nrf53|stm32h7}: mark shmem region as NOLOAD
Build Documentation / build-html (push) Has been cancelled
Shmem region lives in RAM and should not be load in FLASH.

This fixes the issue with wrong binary size when build AMP
configurations with RPTUN enabled. Before this change shmem
region was exported by objcopy to binary file which caused
the bin size to be huge and impossible to flash.

Signed-off-by: raiden00pl <raiden00@railab.me>
2025-12-30 22:26:28 +08:00
raiden00pl d14a5c8b30 boards/leds: remove dependency on leds example for some boards
Userled register path shouldn't depend on LED example.
This dependency is broken, kernel code should not depend on apps code.

Signed-off-by: raiden00pl <raiden00@railab.me>
2025-12-21 14:13:39 -05:00
raiden00pl a3ada5ce30 boards/nucleo-c0xxx: fix leds handling
Fix LED handling for nucleo-c092rc and nucleo-c071rb.
These boards have two LEDs but one is activated with HIGH the other is activated
with LOW.

Also fix userled registration.

Signed-off-by: raiden00pl <raiden00@railab.me>
2025-12-21 14:08:38 +01:00