mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-17 18:27:47 -04:00
Demo/RISC-V_RV32_QEMU_VIRT_GCC: Set -march=rv32imac_zicsr
Need to add _zicsr for more recent Risc-V toolchains which don't add this extension to the default set anymore. Signed-off-by: Keith Packard <keithpac@amazon.com>
This commit is contained in:
parent
827493747f
commit
56cdd1ad12
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ SIZE = riscv64-unknown-elf-size
|
|||
MAKE = make
|
||||
|
||||
CFLAGS += $(INCLUDE_DIRS) -DportasmHANDLE_INTERRUPT=handle_trap -fmessage-length=0 \
|
||||
-march=rv32imac -mabi=ilp32 -mcmodel=medlow -ffunction-sections -fdata-sections \
|
||||
-march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medlow -ffunction-sections -fdata-sections \
|
||||
--specs=nano.specs -fno-builtin-printf -Wno-unused-parameter -nostartfiles -g3 -Os
|
||||
|
||||
LDFLAGS += -nostartfiles -Xlinker --gc-sections -Wl,-Map,$(OUTPUT_DIR)/RTOSDemo.map \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue