Skip to content

Commit fbe6e52

Browse files
committed
Fix Assembly build flags
1 parent 0ce5e89 commit fbe6e52

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

esp32p4/platformio-build.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,14 @@
7272

7373
env.Append(
7474
ASFLAGS=[
75-
"-march=rv32imc"
75+
"-march=rv32imafc_zicsr_zifencei_xesppie",
76+
"-mabi=ilp32f"
7677
],
7778

7879
ASPPFLAGS=[
79-
"-x", "assembler-with-cpp"
80+
"-x", "assembler-with-cpp",
81+
"-march=rv32imafc_zicsr_zifencei_xesppie",
82+
"-mabi=ilp32f"
8083
],
8184

8285
CFLAGS=[

0 commit comments

Comments
 (0)