From 5626b5ff1848ac1af7a9ad38a8db94a27529e4e5 Mon Sep 17 00:00:00 2001
From: schneider <schneider@blinkenlichts.net>
Date: Sun, 13 Aug 2023 17:46:45 +0200
Subject: [PATCH] micropython: increase REPL history to 32 lines

---
 components/micropython/vendor/ports/esp32/mpconfigport.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/micropython/vendor/ports/esp32/mpconfigport.h b/components/micropython/vendor/ports/esp32/mpconfigport.h
index 5d35429c47..c878105e4a 100644
--- a/components/micropython/vendor/ports/esp32/mpconfigport.h
+++ b/components/micropython/vendor/ports/esp32/mpconfigport.h
@@ -56,6 +56,7 @@
 #define MICROPY_USE_INTERNAL_PRINTF         (0) // ESP32 SDK requires its own printf
 #define MICROPY_SCHEDULER_DEPTH             (8)
 #define MICROPY_VFS                         (1)
+#define MICROPY_READLINE_HISTORY_SIZE       (32)
 
 // control over Python builtins
 #define MICROPY_PY_STR_BYTES_CMP_WARN       (1)
-- 
GitLab