Author: JF002 <JF002@users.noreply.github.com>
Merge pull request #36 from darnel/fix-ld Fix link error because of missing file "nrf_common.ld"
src/CMakeLists.txt | 3 ++-
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1609196a05d1cd1bfc8bad6a08c8a8a4e0132dc7..9f43c782b11cf5006d1054cd9777d3d122954aff 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -534,6 +534,7 @@ ) link_directories( + ../ ) @@ -666,4 +667,4 @@ COMMAND ${OPENOCD_BIN_PATH} -c "tcl_port disabled" -c "gdb_port 3333" -c "telnet_port 4444" -f interface/stlink.cfg -c 'transport select hla_swd' -f target/nrf52.cfg -c "program \"${EXECUTABLE_NAME}.hex\"" -c reset -c shutdown COMMENT "flashing ${EXECUTABLE_NAME}.hex" ) -endif() \ No newline at end of file +endif()