nuttx-apps/testing/drivers
Alan Carvalho de Assis cc8a6c8b85 cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR)
This companion change updates the nuttx-apps CMake build to use
NuttX’s NUTTX_DIR and NUTTX_BINARY_DIR instead of CMAKE_SOURCE_DIR
and CMAKE_BINARY_DIR, which incorrectly refer to the outermost project
when NuttX is embedded via add_subdirectory(). Since apps/ is itself
included from NuttX’s top-level CMakeLists.txt, these variables were
effectively being used as references to NuttX’s root and inherited
the same bug fixed in the matching NuttX change for #19697. All
self-referencing uses are replaced while intentionally preserving
standalone projects and unrelated custom variables or hardcoded paths.
The change affects only the CMake build system, preserves normal
standalone behavior, and was tested with sim:nsh both standalone and
embedded, with apps such as hello and ostest successfully built and
available in NSH.

Fixes #19697.

Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2026-08-09 10:43:01 -03:00
..
crypto crypto: Fix CRC-32 test case 8 2026-07-10 13:02:44 +08:00
drivertest testing/drivers: add watchdog notifier cmocka coverage 2026-07-21 15:37:01 -03:00
fftest testing/drivers/fftest/fftest.c: fix compilation error 2025-11-02 22:33:46 +08:00
nand_sim netutils/dropbear, testing/nand_sim: do not use fork() to run in background. 2026-08-03 09:22:39 -03:00
pcitest apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder 2025-01-21 16:22:56 +08:00
rng/nist-sts cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
rpmsgdev testing: Move rpmsgdev to drivers/rpmsgdev 2025-01-26 09:53:02 -03:00
sd_stress testing/sd_stress: Harden file creation cleanup 2026-05-25 10:28:32 +08:00
ser testing: Add Serial Error Reporting testing app 2025-03-24 21:52:26 +08:00
setest testing: Move crypto/setest to drivers and open_memstream to libc 2025-01-26 07:32:53 +01:00
.gitignore apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder 2025-01-21 16:22:56 +08:00
CMakeLists.txt apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder 2025-01-21 16:22:56 +08:00
Make.defs apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder 2025-01-21 16:22:56 +08:00
Makefile apps/testing: fix typo 2025-05-26 18:56:32 +02:00