Skip to content

Commit

Permalink
bgfirmware utility works, without encryption.
Browse files Browse the repository at this point in the history
  • Loading branch information
clydebarrow committed Mar 25, 2017
1 parent 84622d3 commit 3c873ad
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bootload/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ IF (CMAKE_BUILD_TYPE MATCHES Release)
add_custom_command(TARGET ${PROJECT_NAME}.elf POST_BUILD
COMMAND ${CMAKE_OBJCOPY} -Osrec -j .text_stack\* $<TARGET_FILE:${PROJECT_NAME}.elf> file.srec
COMMAND ${CMAKE_OBJCOPY} -Osrec -j .text_app\* $<TARGET_FILE:${PROJECT_NAME}.elf> file.srec
#COMMAND rm file.srec
COMMAND rm file.srec
)
ENDIF (CMAKE_BUILD_TYPE MATCHES Release)

20 changes: 20 additions & 0 deletions utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
cmake_minimum_required(VERSION 3.6)
project(utils)

set(CMAKE_CXX_STANDARD 11)

set(SOURCE_FILES
firmware.c
vector.c
vector.h)

find_library(uuid /usr/local/lib)
find_path(UUID_INCLUDE_DIR uuid/uuid.h
/usr/local/include
/opt/local/include
/usr/include
)
include_directories(${UUID_INCLUDE_DIR})


add_executable(bgfirmware ${SOURCE_FILES})

0 comments on commit 3c873ad

Please sign in to comment.