nuttx/cmake
Marco Casaroli 7eb9bb0be6 cmake: Omit default priority ELF symbol.
nuttx_add_application() encoded SCHED_PRIORITY_DEFAULT as a zero-valued nx_priority linker symbol. A zero priority is invalid for a runnable ELF application task.

Do not emit nx_priority for the symbolic default. When the symbol is absent, the ELF loader retains its scheduler default. Continue emitting nx_priority for explicit numeric priorities.

Companion to apache/nuttx-apps#3667.

Assisted-by: Zed:GPT-5.6 Terra

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-07-27 14:30:42 +08:00
..
menuconfig.cmake cmake: add olddefconfig target for CMake builds 2026-04-02 13:16:54 +08:00
nuttx_3rdparty.cmake cmake: Moved the creation of the nxtmpdir folder to the root CMake file 2026-04-22 06:22:36 +08:00
nuttx_add_application.cmake cmake: Omit default priority ELF symbol. 2026-07-27 14:30:42 +08:00
nuttx_add_dependencies.cmake style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nuttx_add_library.cmake cmake(feat):define elf option and enable apps module build 2026-01-19 14:45:37 +08:00
nuttx_add_module.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_add_romfs.cmake !tools/mkpasswd: PBKDF2 host tool and ROMFS passwd build integration 2026-07-21 20:19:14 +08:00
nuttx_add_subdirectory.cmake cmake: pass exclusion list to nuttx_add_subdirectory 2025-10-03 11:34:56 +08:00
nuttx_add_symtab.cmake style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nuttx_create_symlink.cmake cmake: nuttx_create_symlink: Remove warning for CMP0205 2026-05-26 15:11:35 -03:00
nuttx_export_header.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_extensions.cmake cmake(enhance):cmake support DYNLIB build 2026-01-19 14:45:37 +08:00
nuttx_generate_headers.cmake style: Fix "the the" typo across the codebase. 2026-03-23 11:07:49 +01:00
nuttx_generate_outputs.cmake arch/tricore: Remove tasking compiler tool specific code from 2025-09-26 13:26:31 +02:00
nuttx_generate_sim_ld.cmake cmake:bugfix refine gen sim link script to independent cmake module 2024-09-15 10:01:07 +08:00
nuttx_kconfig.cmake cmake: Fix SIM_TOOLCHAIN using CMake on macOS. 2026-05-25 14:32:48 +02:00
nuttx_mkconfig.cmake cmake: Enhance .config handling and comparison logic 2026-02-26 09:46:02 -03:00
nuttx_mkversion.cmake cmake(bugfix):fix VERSION genarator strip error in CMake build 2025-06-18 15:45:30 -04:00
nuttx_multiple_link.cmake boards/arm/qemu: Fix KASAN global sections placement in linker script 2026-07-03 07:51:11 +02:00
nuttx_overrides.cmake cmake(bugfix):change default compile obj extension to .o 2026-01-27 20:54:26 +08:00
nuttx_parse_function_args.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_process_config.cmake cmake(enhance):include-style defconfig can modified via menuconfig 2026-01-15 15:42:17 -03:00
nuttx_redefine_symbols.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_remove_compile_options.cmake style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nuttx_sethost.cmake tools/rust: Fix aarch64 NuttX Rust target specs 2026-05-29 10:25:10 +02:00
nuttx_source_file_properties.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_toolchain.cmake cmake/nuttx_toolchain.cmake: track preprocessed include deps 2026-06-04 17:22:43 +08:00
savedefconfig.cmake !tools/mkpasswd: PBKDF2 host tool and ROMFS passwd build integration 2026-07-21 20:19:14 +08:00
symtab.c.in cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00