Skip to content

Commit

Permalink
Remove debug info from xip_ram_perms.elf (#139)
Browse files Browse the repository at this point in the history
This embedded local paths of the build machine into the elf file, which was undesirable behaviour
  • Loading branch information
will-v-pi committed Sep 9, 2024
1 parent 3ff7c3e commit d0d0f29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ if (NOT PICOTOOL_NO_LIBUSB)
"-DCMAKE_MAKE_PROGRAM:FILEPATH=${CMAKE_MAKE_PROGRAM}"
"-DPICO_SDK_PATH:FILEPATH=${PICO_SDK_PATH}"
"-DUSE_PRECOMPILED:BOOL=${USE_PRECOMPILED}"
"-DPICO_DEBUG_INFO_IN_RELEASE=OFF"
BUILD_ALWAYS 1 # todo remove this
INSTALL_COMMAND ""
)
Expand All @@ -93,6 +94,7 @@ if (NOT PICOTOOL_NO_LIBUSB)
"-DCMAKE_MAKE_PROGRAM:FILEPATH=${CMAKE_MAKE_PROGRAM}"
"-DPICO_SDK_PATH:FILEPATH=${PICO_SDK_PATH}"
"-DUSE_PRECOMPILED:BOOL=${USE_PRECOMPILED}"
"-DPICO_DEBUG_INFO_IN_RELEASE=OFF"
BUILD_ALWAYS 1 # todo remove this
INSTALL_COMMAND ""
)
Expand Down
Binary file modified xip_ram_perms/xip_ram_perms.elf
Binary file not shown.

0 comments on commit d0d0f29

Please sign in to comment.