Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.18 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.18 KB

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