18 lines
310 B
CMake
18 lines
310 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE toolchain-arm-none-eabi.cmake)
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|
|
|
project(stm32)
|
|
|
|
add_subdirectory(app) #application
|
|
add_subdirectory(bsp) #board support package, lwip
|
|
add_subdirectory(lib) #stm32f4xx library
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|