summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2021-01-11 16:03:17 -0800
committerGitHub <noreply@github.com>2021-01-11 16:03:17 -0800
commit3cf4d9c57f10d9140027032706d9e715d2b75ad7 (patch)
tree1650794bbc6ae1fa7f2811aa311890d0868b82cf
parentb669b622a305410ec8d31581b9e564b65f356052 (diff)
parent06ab848a0d78594d17b49022174bf0e023b68c60 (diff)
Merge pull request #3954 from anecdata/mpconfigport
ESP32-S2: added sys.platform
-rw-r--r--ports/esp32s2/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp32s2/mpconfigport.h b/ports/esp32s2/mpconfigport.h
index db7393d8e..9c0fd9da3 100644
--- a/ports/esp32s2/mpconfigport.h
+++ b/ports/esp32s2/mpconfigport.h
@@ -32,6 +32,7 @@
#define MICROPY_PY_UJSON (1)
#define MICROPY_USE_INTERNAL_PRINTF (0)
+#define MICROPY_PY_SYS_PLATFORM "Espressif ESP32-S2"
#include "py/circuitpy_mpconfig.h"