Skip to content

Commit

Permalink
Merge pull request f4pga#1972 from nickoe/picosoc_add_mabi
Browse files Browse the repository at this point in the history
Fix build error with picosoc example
  • Loading branch information
litghost committed Jan 26, 2021
2 parents a34660f + ea6f3b1 commit 2af9ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/9-soc/picosoc/firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CC = ${RISCV}/bin/riscv32-unknown-elf-gcc
OC = ${RISCV}/bin/riscv32-unknown-elf-objcopy
OD = ${RISCV}/bin/riscv32-unknown-elf-objdump

CFLAGS = -march=rv32im -Wl,-Bstatic,-T,sections.lds,--strip-debug -ffreestanding -nostdlib -mstrict-align -O0
CFLAGS = -march=rv32im -mabi=ilp32 -Wl,-Bstatic,-T,sections.lds,--strip-debug -ffreestanding -nostdlib -mstrict-align -O0

all: firmware_noflash_25.hex firmware_noflash_50.hex firmware_noflash_100.hex firmware_25.hex firmware_50.hex firmware_100.hex

Expand Down

0 comments on commit 2af9ab8

Please sign in to comment.