nuttx-apps/system/microros/micro_ros_lib
Arjav Patel e764594d26 apps/system/microros: add CMake cross-compile toolchain template.
Add toolchain.cmake.in and include_override/assert.h for the colcon
cross-build.  Key differences from the old robertobucher port:
  - Drop -DCLOCK_MONOTONIC=0: NuttX defines CLOCK_MONOTONIC=1 and
    the override broke nanosleep() on newer kernels.
  - CMAKE_SYSTEM_PROCESSOR is a placeholder substituted per-arch.
  - include_override/assert.h works around the rosidl NDEBUG issue
    (https://github.com/ros2/rosidl/pull/739).

Signed-off-by: Arjav Patel <arjav1528@gmail.com>
2026-05-26 06:57:55 +08:00
..
include_override apps/system/microros: add CMake cross-compile toolchain template. 2026-05-26 06:57:55 +08:00
.keep apps/system/microros: add micro_ros_lib directory skeleton. 2026-05-26 06:57:55 +08:00
colcon.meta.in apps/system/microros: add colcon.meta.in resource-limit template. 2026-05-26 06:57:55 +08:00
toolchain.cmake.in apps/system/microros: add CMake cross-compile toolchain template. 2026-05-26 06:57:55 +08:00