mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
Don't run coprodis on Risc-V or RP2040 binaries (#1875)
This commit is contained in:
parent
dd4aacbd1c
commit
a2a4c2041e
1 changed files with 2 additions and 1 deletions
|
|
@ -29,7 +29,8 @@ function(pico_add_dis_output TARGET)
|
|||
pico_get_runtime_output_directory(${TARGET} output_path)
|
||||
|
||||
# PICO_CMAKE_CONFIG: PICO_NO_COPRO_DIS, Disable disassembly listing postprocessing that disassembles RP2350 coprocessor instructions, type=bool, default=0, group=build
|
||||
if (NOT (PICO_NO_COPRO_DIS OR PICO_NO_PICOTOOL))
|
||||
if (NOT (PICO_NO_COPRO_DIS OR PICO_NO_PICOTOOL OR PICO_RISCV OR PICO_RP2040))
|
||||
# Don't run coprocessor dissassembly on Risc-V or RP2040, as those don't have the RP2350 coprocessors
|
||||
pico_init_picotool()
|
||||
if(picotool_FOUND)
|
||||
# add custom disassembly if we have picotool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue