Implement tool to upgrade mcu firmware (wip)
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
70689b76a9
commit
06911014f8
3 changed files with 99 additions and 0 deletions
17
examples/mcu_firmware/CMakeLists.txt
Normal file
17
examples/mcu_firmware/CMakeLists.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
project(nrealAirUpgradeMCU C)
|
||||
|
||||
set(CMAKE_C_STANDARD 17)
|
||||
|
||||
add_executable(
|
||||
nrealAirUpgradeMCU
|
||||
src/upgrade.c
|
||||
)
|
||||
|
||||
target_include_directories(nrealAirUpgradeMCU
|
||||
BEFORE PUBLIC ${NRA_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(nrealAirUpgradeMCU
|
||||
${NRA_LIBRARY}
|
||||
)
|
Reference in a new issue