Skip to content

Commit 39192cc

Browse files
committed
C6 works
1 parent 7bad82a commit 39192cc

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

ports/espressif/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ endif
182182
ifeq ($(IDF_TARGET_ARCH),xtensa)
183183
CFLAGS += -mlongcalls
184184
else ifeq ($(IDF_TARGET_ARCH),riscv)
185-
CFLAGS += -march=rv32imc
185+
CFLAGS += -march=rv32imac_zicsr_zifencei
186186
endif
187187

188188
LDFLAGS = $(CFLAGS) -Wl,-nostdlib -Wl,-Map=$@.map -Wl,-cref -Wl,--undefined=uxTopUsedPriority

ports/espressif/esp-idf-config/sdkconfig.defaults

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ CONFIG_GPTIMER_SUPPRESS_DEPRECATE_WARN=y
2727

2828
# end of Driver Configurations
2929

30+
#
31+
# PHY
32+
#
33+
# CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE is not set
34+
# end of PHY
35+
3036
#
3137
# ESP System Settings
3238
#

0 commit comments

Comments
 (0)