Added line for generate hex formatted output.
This commit is contained in:
parent
77241d1795
commit
e1bc0ec65a
1 changed files with 7 additions and 0 deletions
|
@ -49,7 +49,14 @@ target_link_options(${PROJECT_NAME} PUBLIC
|
|||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES SUFFIX ".elf")
|
||||
|
||||
# Convert output to hex and binary
|
||||
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
|
||||
COMMAND ${CMAKE_OBJCOPY} -O ihex $<TARGET_FILE:${PROJECT_NAME}> ${CMAKE_PROJECT_NAME}.hex
|
||||
)
|
||||
|
||||
|
||||
|
||||
#add_subdirectory(attic)
|
||||
add_subdirectory(ADC)
|
||||
add_subdirectory(RegEdit)
|
||||
add_subdirectory(blink)
|
||||
|
|
Loading…
Add table
Reference in a new issue