No description
Find a file
raiden00pl 1178bf4c57 CMakeLists.txt: fix warnings when using upstream boards in out-of-tree configs
When we use upstream board as a target in out-of-tree board configurations we
should not link dummy/Kconfig with a board Kconfig otherwise this file is
included twice which cause cmake warnings.

For example, when out-of-tree configuration is like this:

  CONFIG_ARCH_BOARD_CUSTOM=y
  CONFIG_ARCH_BOARD_CUSTOM_DIR="boards/arm/stm32/b-g431b-esc1/"
  CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y
  CONFIG_ARCH_BOARD_CUSTOM_NAME="b-g431b-esc1"

this results with many warnings during configuration stage:

  CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
    Kconfig Configuration Error: warning: the default selection
    BOARD_STM32_BG431BESC1_USE_HSI (defined at
    boards/arm/stm32/b-g431b-esc1/Kconfig:12,
    /home/raiden00/git/railab/dawn/build_esc1/boards/dummy/Kconfig:12) of
    <choice> (defined at boards/arm/stm32/b-g431b-esc1/Kconfig:8) is not
    contained in the choice

    warning: the choice symbol BOARD_STM32_BG431BESC1_USE_HSI (defined at
    boards/arm/stm32/b-g431b-esc1/Kconfig:12,
    /home/raiden00/git/railab/dawn/build_esc1/boards/dummy/Kconfig:12) is
    defined with a prompt outside the choice

    warning: the choice symbol BOARD_STM32_BG431BESC1_USE_HSE (defined at
    boards/arm/stm32/b-g431b-esc1/Kconfig:15,
    /home/raiden00/git/railab/dawn/build_esc1/boards/dummy/Kconfig:15) is
    defined with a prompt outside the choice

    warning: the choice symbol BOARD_STM32_BG431BESC1_USE_HSI (defined at
    boards/arm/stm32/b-g431b-esc1/Kconfig:12,
    /home/raiden00/git/railab/dawn/build_esc1/boards/dummy/Kconfig:12) is
    defined with a prompt outside the choice

    warning: the choice symbol BOARD_STM32_BG431BESC1_USE_HSE (defined at
    boards/arm/stm32/b-g431b-esc1/Kconfig:15,
    /home/raiden00/git/railab/dawn/build_esc1/boards/dummy/Kconfig:15) is
    defined with a prompt outside the choice

Signed-off-by: raiden00pl <raiden00@railab.me>
2025-03-26 19:24:36 +08:00
.github tools/ci: Added CI system on Windows Native 2025-03-19 19:59:44 +08:00
arch mpfs/mpfs_rcc: Add stub driver for FPGA clock and reset controller 2025-03-25 11:59:47 -03:00
audio audio/composite: merge composite instance allocate to one times 2025-03-17 10:26:54 +01:00
binfmt binfmt/copyactions: fix comments, make the actions life cycle more clear 2025-02-23 09:46:14 +08:00
boards boards/szpi-esp32s3: Init config for PCA9557 2025-03-25 15:46:09 -03:00
cmake [cmake] savedefconfig.cmake: fix EOL changes to defconfig files on Windows 2025-01-23 02:34:50 +08:00
crypto crypto/xform.c: migrate to SPDX identifier 2024-12-19 14:48:18 +08:00
Documentation Documentation/szpi-esp32s3: Add doc for PCA9557 2025-03-25 15:46:09 -03:00
drivers driver/mtd/at45db.c: write to page without built-in erase 2025-03-26 10:29:12 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs fs/vfs/fs_poll: Add noinstrument_function to poll_notify function 2025-03-18 09:17:52 +08:00
graphics move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
include drivers/ioexpander: Add support for PCA9557 2025-03-25 15:46:09 -03:00
libs [nxstyle] fix Relative files path 2025-02-21 15:36:05 +01:00
mm Fix Kconfig style 2025-01-23 23:01:54 +08:00
net net/udp: correct icmp(v6) response from udp_input 2025-03-17 09:57:50 +01:00
openamp Remove all jira and changeid information from the kernel 2024-11-06 02:04:03 +08:00
pass1 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
sched sched: simplify call of get current tcb 2025-03-18 00:22:37 +02:00
syscall syscall: add missing epoll API 2025-01-24 01:30:02 +08:00
tools tools/ci: Added CI system on Windows Native 2025-03-19 19:59:44 +08:00
video Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
wireless bluetooth: miss carrier_[on/off] in bt_netdev 2025-02-10 09:01:03 +01:00
.asf.yaml
.gitignore gitignore: add Emacs auto-save files 2025-01-15 16:10:22 +08:00
.pre-commit-config.yaml Created pre-commit config file 2024-08-19 21:40:56 +02:00
.yamllint
AUTHORS AUTHORS: add Yamamoto Takashi 2024-11-04 22:29:22 +08:00
CMakeLists.txt CMakeLists.txt: fix warnings when using upstream boards in out-of-tree configs 2025-03-26 19:24:36 +08:00
CONTRIBUTING.md 202503 Apache NuttX RTOS Contributing Guidelines update. 2025-03-17 08:30:37 -03:00
INVIOLABLES.md
Kconfig debug symbol level: Use config instead 2024-12-04 22:36:45 +08:00
LICENSE libc string:Separate code. 2024-10-23 09:49:19 +08:00
Makefile tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
NOTICE Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes Documentation: move ReleaseNotes 2023-09-26 20:41:00 +08:00

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.