diff --git a/32blit-stm32/executable.cmake b/32blit-stm32/executable.cmake index da8ff39bf..b7a3f61d3 100644 --- a/32blit-stm32/executable.cmake +++ b/32blit-stm32/executable.cmake @@ -7,10 +7,8 @@ function(blit_executable_common NAME) set_property(TARGET ${NAME} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-Map=${NAME}.map,--cref") add_custom_command(TARGET ${NAME} POST_BUILD COMMENT "Building ${NAME}.bin" - COMMAND ${CMAKE_OBJCOPY} -O ihex $ ${NAME}.hex COMMAND ${CMAKE_OBJCOPY} -O binary -S $ ${NAME}.bin COMMAND ${CMAKE_SIZE} $ - COMMAND ${CMAKE_READELF} -S $ ) endfunction()