Skip to content

Commit

Permalink
Remove unnecessary warning
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Aug 19, 2024
1 parent 7fbec75 commit f6f507d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake/on_device.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function(pico_add_dis_output TARGET)
add_custom_command(TARGET ${TARGET} POST_BUILD
COMMAND ${CMAKE_OBJDUMP} -h $<TARGET_FILE:${TARGET}> > ${output_path}$<IF:$<BOOL:$<TARGET_PROPERTY:${TARGET},OUTPUT_NAME>>,$<TARGET_PROPERTY:${TARGET},OUTPUT_NAME>,$<TARGET_PROPERTY:${TARGET},NAME>>.dis
COMMAND ${CMAKE_OBJDUMP} -d $<TARGET_FILE:${TARGET}> >> ${output_path}$<IF:$<BOOL:$<TARGET_PROPERTY:${TARGET},OUTPUT_NAME>>,$<TARGET_PROPERTY:${TARGET},OUTPUT_NAME>,$<TARGET_PROPERTY:${TARGET},NAME>>.dis
${EXTRA_COMMAND} || ${CMAKE_COMMAND} -E echo "WARNING: Disassembly is not correct"
${EXTRA_COMMAND}
VERBATIM
)
endfunction()
Expand Down

0 comments on commit f6f507d

Please sign in to comment.