Testing ESP32 standard environment

This commit is contained in:
BitMaker 2023-07-11 11:49:25 +02:00
parent 54ace9455d
commit 2138f460db
2 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@
[platformio] [platformio]
globallib_dir = lib globallib_dir = lib
default_envs = NerminerV2 ;, ESP32-wrover, TTGO-T-Display default_envs = ESP32-devKitv1 ; NerminerV2, TTGO-T-Display
[env:NerminerV2] [env:NerminerV2]
platform = espressif32 platform = espressif32
@ -45,26 +45,27 @@ lib_deps =
https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4 https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
[env:ESP32-wrover] [env:ESP32-devKitv1]
platform = espressif32 platform = espressif32
board = esp-wrover-kit board = esp32dev
framework = arduino framework = arduino
monitor_filters = monitor_filters =
esp32_exception_decoder esp32_exception_decoder
time time
log2file log2file
board_build.arduino.memory_type = qio_opi ;board_build.arduino.memory_type = qio_opi
monitor_speed = 115200 monitor_speed = 115200
upload_speed = 115200 upload_speed = 115200
# 2 x 4.5MB app, 6.875MB SPIFFS # 2 x 4.5MB app, 6.875MB SPIFFS
;board_build.partitions = large_spiffs_16MB.csv ;board_build.partitions = large_spiffs_16MB.csv
;board_build.partitions = default_8MB.csv ;board_build.partitions = default_8MB.csv
board_build.partitions = huge_app.csv ;board_build.partitions = huge_app.csv
;board_build.partitions = default.csv board_build.partitions = default.csv
;build_flags = build_flags =
; -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_MODE=1
-U FREERTOS
;-D DEBUG_MINING=1 ;-D DEBUG_MINING=1
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender

View File

@ -1,7 +1,6 @@
#include <Arduino.h> #include <Arduino.h>
#include <ArduinoJson.h> #include <ArduinoJson.h>
#include <WiFi.h> #include <WiFi.h>
#include <algorithm>
#include <TFT_eSPI.h> // Graphics and font library for ILI9341 driver chip #include <TFT_eSPI.h> // Graphics and font library for ILI9341 driver chip
#include <wolfssl/wolfcrypt/sha256.h> #include <wolfssl/wolfcrypt/sha256.h>
#include "media/Free_Fonts.h" #include "media/Free_Fonts.h"