/indiflo-gtest-cmake

KH7 CMake Vanilla Project to test middleware integration

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

ST-KH7-CMAKE-VANILLA

KH7 CMake Vanilla Project to test middleware integration

Run Locally

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

Related

Here are some related projects

tfazli/stm_cmake_template

Pierre Gradot/CMake on SMT32

NUTTX CMAKE LIBCXX

Go to the project directory NUTTX_CMAKE_CXX Pull Nuttx and Apps as required

Note :

  1. CONFIG_ARCH_BOARD_COMMON must be set under boards to generate libboard.a - ref# apache/nuttx#10388

  2. NUTTX must be defined to include libcxx without errors - ref# apache/nuttx#5530

  3. 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