KH7 CMake Vanilla Project to test middleware integration
Clone the project
git clone https://github.com/g-rahul/ST-KH7-CMAKE-VANILLA
Go to the project directory
mkdir build
cd build
cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=../arm-none-eabi-gcc.cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . -- -j4
Cmake Clean
cmake --build . --target clean
Here are some related projects
Go to the project directory NUTTX_CMAKE_CXX Pull Nuttx and Apps as required
Note :
-
CONFIG_ARCH_BOARD_COMMON must be set under boards to generate libboard.a - ref# apache/nuttx#10388
-
NUTTX must be defined to include libcxx without errors - ref# apache/nuttx#5530
-
config LIBSUPCXX to enable low-level cxx gnu lib
cd hellocpp
mkdir build
cd build
cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=../arm-none-eabi-gcc.cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . -- -j4