Skip to content

Commit

Permalink
* Fix out of box failure when ARM toolchain is not in path
Browse files Browse the repository at this point in the history
  - Add expansion of PICO_TOOLCHAIN_PATH for arm-none-eabi-ld
  • Loading branch information
awjlogan authored and Gadgetoid committed Aug 11, 2023
1 parent d93839d commit 377c8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function(add_resource target file)
${CMAKE_CURRENT_SOURCE_DIR}/${FILENAME}
${CMAKE_CURRENT_BINARY_DIR}

COMMAND arm-none-eabi-ld -r -b binary -o ${NAME}.o ${FILENAME}
COMMAND $ENV{PICO_TOOLCHAIN_PATH}arm-none-eabi-ld -r -b binary -o ${NAME}.o ${FILENAME}
DEPENDS ${FILENAME}
)

Expand Down

0 comments on commit 377c8dc

Please sign in to comment.