Migrated to platformio platform
This commit is contained in:
parent
6ecc556966
commit
2ca4513071
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.pio
|
||||||
|
.vscode/.browse.c_cpp.db*
|
||||||
|
.vscode/c_cpp_properties.json
|
||||||
|
.vscode/launch.json
|
||||||
|
.vscode/ipch
|
10
.vscode/extensions.json
vendored
Normal file
10
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
||||||
|
// for the documentation about the extensions.json format
|
||||||
|
"recommendations": [
|
||||||
|
"platformio.platformio-ide"
|
||||||
|
],
|
||||||
|
"unwantedRecommendations": [
|
||||||
|
"ms-vscode.cpptools-extension-pack"
|
||||||
|
]
|
||||||
|
}
|
@ -28,3 +28,6 @@ If you want you can compile the entire project using Arduino, PlatformIO or Expr
|
|||||||
Complete tutorial on YouTube:
|
Complete tutorial on YouTube:
|
||||||
|
|
||||||
[![Ver video aquí](https://img.youtube.com/vi/POUT2R_opDs/0.jpg)](https://youtu.be/POUT2R_opDs)
|
[![Ver video aquí](https://img.youtube.com/vi/POUT2R_opDs/0.jpg)](https://youtu.be/POUT2R_opDs)
|
||||||
|
|
||||||
|
## DEVELOPMENT
|
||||||
|
You can use platformio to develop this project.
|
||||||
|
30
platformio.ini
Normal file
30
platformio.ini
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
; PlatformIO Project Configuration File
|
||||||
|
;
|
||||||
|
; Build options: build flags, source filter
|
||||||
|
; Upload options: custom upload port, speed and extra flags
|
||||||
|
; Library options: dependencies, extra library storages
|
||||||
|
; Advanced options: extra scripting
|
||||||
|
;
|
||||||
|
; Please visit documentation for the other options and examples
|
||||||
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
|
[env:T-Display-S3]
|
||||||
|
platform = espressif32
|
||||||
|
board = esp32-s3-devkitc-1
|
||||||
|
framework = arduino
|
||||||
|
platform_packages =
|
||||||
|
framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.5
|
||||||
|
build_flags =
|
||||||
|
-DLV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
-DBOARD_HAS_PSRAM
|
||||||
|
-DARDUINO_USB_MODE=1
|
||||||
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||||
|
board_build.partitions = default_8MB.csv
|
||||||
|
board_build.arduino.memory_type = qio_opi
|
||||||
|
board_build.flash_size = 8MB
|
||||||
|
board_build.psram_type = opi
|
||||||
|
lib_deps =
|
||||||
|
bodmer/TFT_eSPI@^2.5.23
|
||||||
|
https://github.com/takkaO/OpenFontRender
|
||||||
|
bblanchon/ArduinoJson@^6.21.1
|
||||||
|
https://github.com/tzapu/WiFiManager.git
|
@ -4,11 +4,12 @@
|
|||||||
#include "mbedtls/md.h"
|
#include "mbedtls/md.h"
|
||||||
|
|
||||||
#include <TFT_eSPI.h> // Graphics and font library
|
#include <TFT_eSPI.h> // Graphics and font library
|
||||||
#include "Lib/images.h"
|
#include "media/images.h"
|
||||||
#include "Lib/myFonts.h"
|
#include "media/myFonts.h"
|
||||||
#include "OpenFontRender.h"
|
#include "OpenFontRender.h"
|
||||||
#include "wManager.h"
|
#include "wManager.h"
|
||||||
#include "mining.h"
|
#include "mining.h"
|
||||||
|
#include "../TFT_setup/User_Setup.h"
|
||||||
|
|
||||||
OpenFontRender render;
|
OpenFontRender render;
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
#include "Lib/Free_Fonts.h"
|
#include "media/Free_Fonts.h"
|
||||||
#include "Lib/images.h"
|
#include "media/images.h"
|
||||||
#include "mbedtls/md.h"
|
#include "mbedtls/md.h"
|
||||||
#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 "OpenFontRender.h"
|
#include "OpenFontRender.h"
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include <WiFiManager.h>
|
#include <WiFiManager.h>
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include "Lib/images.h"
|
#include "media/images.h"
|
||||||
#include <TFT_eSPI.h> // Graphics and font library
|
#include <TFT_eSPI.h> // Graphics and font library
|
||||||
|
|
||||||
// JSON configuration file
|
// JSON configuration file
|
Loading…
Reference in New Issue
Block a user