From d0daea1037df56b712d656d515035f47c117d87e Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 12 May 2020 14:54:18 +0200 Subject: [PATCH] Change ESP32 from Wemos to ESP32dev - Change ESP32 from Wemos to ESP32dev - Add environment tasmota32-webcam using esp32cam --- platformio_override_sample.ini | 5 +++-- platformio_tasmota_env32.ini | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index e14e570c8..5a66a3efb 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -27,6 +27,7 @@ default_envs = ; tasmota-display ; tasmota-ir ; tasmota32 +; tasmota32-webcam ; tasmota32-minimal ; tasmota32-lite ; tasmota32-knx @@ -160,13 +161,13 @@ build_type = debug [common32] platform = espressif32@1.12.0 platform_packages = tool-esptoolpy@1.20800.0 -board = wemos_d1_mini32 +board = esp32dev board_build.ldscript = esp32_out.ld board_build.partitions = esp32_partition_app1984k_spiffs64k.csv board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} - -Wpointer-arith + -Wpointer-arith monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} diff --git a/platformio_tasmota_env32.ini b/platformio_tasmota_env32.ini index 0c2e40fe3..b5b2dcb78 100644 --- a/platformio_tasmota_env32.ini +++ b/platformio_tasmota_env32.ini @@ -17,6 +17,11 @@ lib_ignore = ${common32.lib_ignore} build_unflags = ${common32.build_unflags} build_flags = ${common32.build_flags} +[env:tasmota32-webcam] +extends = env:tasmota32 +board = esp32cam +board_build.f_cpu = 240000000L + [env:tasmota32-minimal] extends = env:tasmota32 build_flags = ${common32.build_flags} -DFIRMWARE_MINIMAL