From 0072feb6d89d90eeaf4823d1dffdd6fadcfc0147 Mon Sep 17 00:00:00 2001 From: Luc <8822552+luc-github@users.noreply.github.com> Date: Mon, 7 Dec 2020 14:17:06 +0100 Subject: [PATCH] Add Serial monitor to PIO Add ESP32 Cam section --- platformio.ini | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index 94a2ebf2..61536ec2 100644 --- a/platformio.ini +++ b/platformio.ini @@ -30,7 +30,29 @@ board_build.f_cpu = 240000000L board_build.f_flash = 80000000L board_build.flash_mode = qio ; None -build_flags = -DCORE_DEBUG_LEVEL=0 +build_flags = -DCORE_DEBUG_LEVEL=0 +board_build.partitions = min_spiffs.csv +upload_speed = 921600 +lib_ignore = + ESPAsyncTCP + +[env:esp32cam] +platform = https://github.com/platformio/platform-espressif32.git +;theboard +board = esp32dev +framework = arduino +monitor_speed = 115200 +monitor_flags = --echo +monitor_filters = send_on_enter, colorize, esp32_exception_decoder +; set frequency to 240MHz +board_build.f_cpu = 240000000L +; set frequency to 80MHz +board_build.f_flash = 80000000L +board_build.flash_mode = qio +; None +build_flags = -DCORE_DEBUG_LEVEL=0 + -DBOARD_HAS_PSRAM + -mfix-esp32-psram-cache-issue board_build.partitions = min_spiffs.csv upload_speed = 921600 lib_ignore = @@ -41,7 +63,7 @@ platform = https://github.com/platformio/platform-espressif8266.git board = esp12e framework = arduino monitor_speed = 115200 -monitor_flags = --echo +monitor_flags = --echo monitor_filters = send_on_enter, colorize, esp8266_exception_decoder ; set frequency to 160MHz board_build.f_cpu = 160000000L @@ -68,7 +90,7 @@ platform = https://github.com/platformio/platform-espressif8266.git board = esp12e framework = arduino monitor_speed = 115200 -monitor_flags = --echo +monitor_flags = --echo monitor_filters = send_on_enter, colorize, esp8266_exception_decoder ; set frequency to 160MHz board_build.f_cpu = 160000000L