summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platformio.ini21
1 files changed, 10 insertions, 11 deletions
diff --git a/platformio.ini b/platformio.ini
index 8072303..3091b19 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -8,27 +8,26 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
-[env:esp32dev]
+[env:espcommon]
+build_flags =
+ -fdump-rtl-dfinish
+ -fstack-usage
platform = espressif32
-board = esp32dev
framework = arduino
monitor_speed = 115200
-board_build.partitions = ota_part.csv
lib_deps =
zinggjm/GxEPD2@^1.6.4
h2zero/NimBLE-Arduino@^2.3.2
+[env:esp32dev]
+board = esp32dev
+board_build.partitions = ota_part.csv
+extends = env:espcommon
+
# no idea if this is the correct board template
[env:crowpanel]
-platform = espressif32
board = esp32-s3-devkitc-1
-framework = arduino
-monitor_speed = 115200
-lib_deps =
- zinggjm/GxEPD2@^1.6.4
- h2zero/NimBLE-Arduino@^2.3.2
-build_flags =
- -I include/elecrow
+extends = env:espcommon
; [env:esp32_ota]
; extends = env:esp32dev