From 2138f460dba8e8cc9a9e81deb986004e5538c24b Mon Sep 17 00:00:00 2001 From: BitMaker Date: Tue, 11 Jul 2023 11:49:25 +0200 Subject: [PATCH] Testing ESP32 standard environment --- platformio.ini | 17 +++++++++-------- src/mining.cpp | 1 - 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/platformio.ini b/platformio.ini index f4253e0..3e6eca7 100644 --- a/platformio.ini +++ b/platformio.ini @@ -10,7 +10,7 @@ [platformio] globallib_dir = lib -default_envs = NerminerV2 ;, ESP32-wrover, TTGO-T-Display +default_envs = ESP32-devKitv1 ; NerminerV2, TTGO-T-Display [env:NerminerV2] platform = espressif32 @@ -45,26 +45,27 @@ lib_deps = https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4 -[env:ESP32-wrover] +[env:ESP32-devKitv1] platform = espressif32 -board = esp-wrover-kit +board = esp32dev framework = arduino monitor_filters = esp32_exception_decoder time log2file -board_build.arduino.memory_type = qio_opi +;board_build.arduino.memory_type = qio_opi monitor_speed = 115200 upload_speed = 115200 # 2 x 4.5MB app, 6.875MB SPIFFS ;board_build.partitions = large_spiffs_16MB.csv ;board_build.partitions = default_8MB.csv -board_build.partitions = huge_app.csv -;board_build.partitions = default.csv +;board_build.partitions = huge_app.csv +board_build.partitions = default.csv -;build_flags = -; -D ARDUINO_USB_MODE=1 +build_flags = + -D ARDUINO_USB_MODE=1 + -U FREERTOS ;-D DEBUG_MINING=1 lib_deps = https://github.com/takkaO/OpenFontRender diff --git a/src/mining.cpp b/src/mining.cpp index 83ad5c3..f272b95 100644 --- a/src/mining.cpp +++ b/src/mining.cpp @@ -1,7 +1,6 @@ #include #include #include -#include #include // Graphics and font library for ILI9341 driver chip #include #include "media/Free_Fonts.h"