summaryrefslogtreecommitdiff
path: root/ports/esp32/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp32/mpconfigport.h')
-rw-r--r--ports/esp32/mpconfigport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h
index 55503ff0b..69419ce00 100644
--- a/ports/esp32/mpconfigport.h
+++ b/ports/esp32/mpconfigport.h
@@ -44,6 +44,9 @@
#define MICROPY_EMIT_RV32 (0)
#else
#define MICROPY_EMIT_RV32 (1)
+#if CONFIG_IDF_TARGET_ESP32P4
+#define MICROPY_EMIT_RV32_ZCMP (1)
+#endif
#endif
#else
#define MICROPY_EMIT_XTENSAWIN (1)