mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-01-11 15:39:29 -05:00
fw: add workaround so objdump can disassemble compressed rv32
instructions
This commit is contained in:
parent
e21961ca0d
commit
a57178f9d9
@ -198,7 +198,11 @@ secret:
|
||||
# Firmware generation.
|
||||
# Included in the bitstream.
|
||||
#-------------------------------------------------------------------
|
||||
LDFLAGS = -T $(P)/fw/tk1/firmware.lds
|
||||
# -Wl,-mllvm,-mattr=+c,-mllvm,-mattr=+zmmul added as a workaround to be able to
|
||||
# disassemble compressed RV32 instructions
|
||||
LDFLAGS = \
|
||||
-T $(P)/fw/tk1/firmware.lds \
|
||||
-Wl,-mllvm,-mattr=+c,-mllvm,-mattr=+zmmul
|
||||
|
||||
$(FIRMWARE_OBJS): $(FIRMWARE_DEPS)
|
||||
$(TESTFW_OBJS): $(FIRMWARE_DEPS)
|
||||
|
Loading…
Reference in New Issue
Block a user