Initial commit
This commit is contained in:
commit
2ea27e0cda
26 changed files with 14461 additions and 0 deletions
18
cmake-nRF5x/example/CMakeLists.txt
Normal file
18
cmake-nRF5x/example/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
set(NRF_TARGET nrf52)
|
||||
|
||||
if (NOT DEFINED ARM_NONE_EABI_TOOLCHAIN_PATH)
|
||||
set(ARM_NONE_EABI_TOOLCHAIN_PATH "/usr/local/bin")
|
||||
endif ()
|
||||
|
||||
set(NRF5_SDK_PATH "${CMAKE_CURRENT_LIST_DIR}/../../toolchains/nRF5/nRF5_SDK")
|
||||
set(NRFJPROG "${CMAKE_CURRENT_LIST_DIR}/../../toolchains/nRF5/nrfjprog/nrfjprog")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/../CMake_nRF5x.cmake")
|
||||
|
||||
nRF5x_toolchainSetup()
|
||||
|
||||
project(ExampleProject C)
|
||||
|
||||
add_subdirectory(src)
|
||||
Loading…
Add table
Add a link
Reference in a new issue