feat: update version to v1.2.0 and modify build scripts in platformio.ini; remove unused includes in scale.cpp and website.cpp
This commit is contained in:
parent
4e384d777e
commit
240795a2d0
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.1.0"
|
version = "1.2.0"
|
||||||
|
|
||||||
[env:esp32dev]
|
[env:esp32dev]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
@ -29,6 +29,7 @@ lib_deps =
|
|||||||
bblanchon/ArduinoJson @ ^7.3.0
|
bblanchon/ArduinoJson @ ^7.3.0
|
||||||
knolleary/PubSubClient @ ^2.8
|
knolleary/PubSubClient @ ^2.8
|
||||||
digitaldragon/SSLClient @ ^1.3.2
|
digitaldragon/SSLClient @ ^1.3.2
|
||||||
|
jandrassy/ArduinoOTA @ ^1.1.0
|
||||||
|
|
||||||
; Enable SPIFFS upload
|
; Enable SPIFFS upload
|
||||||
board_build.filesystem = spiffs
|
board_build.filesystem = spiffs
|
||||||
@ -48,9 +49,16 @@ build_flags =
|
|||||||
'-D VERSION="${common.version}"'
|
'-D VERSION="${common.version}"'
|
||||||
|
|
||||||
extra_scripts =
|
extra_scripts =
|
||||||
pre:scripts/pre_build.py
|
scripts/extra_script.py
|
||||||
pre:scripts/combine_html.py
|
pre:scripts/pre_build.py ; wird zuerst ausgeführt
|
||||||
pre:scripts/pre_spiffs.py
|
pre:scripts/pre_spiffs.py ; wird als zweites ausgeführt
|
||||||
pre:scripts/gzip_files.py
|
pre:scripts/combine_html.py ; wird als drittes ausgeführt
|
||||||
pre:scripts/extra_script.py
|
scripts/gzip_files.py
|
||||||
#post:scripts/update_changelog.py
|
|
||||||
|
; Remove or comment out the targets line
|
||||||
|
;targets = buildfs, build
|
||||||
|
|
||||||
|
; Add a custom target to build both
|
||||||
|
[platformio]
|
||||||
|
default_envs = esp32dev
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
#include "HX711.h"
|
#include "HX711.h"
|
||||||
#include <EEPROM.h>
|
#include <EEPROM.h>
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "nfc.h"
|
|
||||||
#include "esp_task_wdt.h"
|
#include "esp_task_wdt.h"
|
||||||
|
|
||||||
HX711 scale;
|
HX711 scale;
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
#include "api.h"
|
#include "api.h"
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <ESPAsyncWebServer.h>
|
#include <ESPAsyncWebServer.h>
|
||||||
//#include <AsyncWebSocket.h>
|
|
||||||
#include "bambu.h"
|
#include "bambu.h"
|
||||||
#include "nfc.h"
|
#include "nfc.h"
|
||||||
#include "scale.h"
|
#include "scale.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user