mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
now shipping with platformio.ini as standard
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,9 +9,7 @@
|
|||||||
.pio
|
.pio
|
||||||
.clang_complete
|
.clang_complete
|
||||||
.gcc-flags.json
|
.gcc-flags.json
|
||||||
platformio.ini
|
|
||||||
lib/readme.txt
|
lib/readme.txt
|
||||||
.travis.yml
|
|
||||||
|
|
||||||
# web stuff compiled
|
# web stuff compiled
|
||||||
src/websrc/css/required.css
|
src/websrc/css/required.css
|
||||||
|
|||||||
@@ -5,16 +5,21 @@
|
|||||||
[platformio]
|
[platformio]
|
||||||
;default_envs = release
|
;default_envs = release
|
||||||
default_envs = debug
|
default_envs = debug
|
||||||
|
;default_envs = crash
|
||||||
|
;default_envs = tests
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
; -DMYESP_TIMESTAMP -DTESTS -DCRASH -DFORCE_SERIAL -DNO_GLOBAL_EEPROM -DLOGICANALYZER
|
; -DMYESP_TIMESTAMP -DTESTS -DCRASH -DFORCE_SERIAL -DLOGICANALYZER
|
||||||
|
;general_flags = -DFORCE_SERIAL
|
||||||
general_flags =
|
general_flags =
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
|
;board = esp12e
|
||||||
board = d1_mini
|
board = d1_mini
|
||||||
framework = arduino
|
framework = arduino
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
ESPAsyncTCP
|
||||||
CRC32
|
CRC32
|
||||||
CircularBuffer
|
CircularBuffer
|
||||||
OneWire
|
OneWire
|
||||||
@@ -23,7 +28,6 @@ lib_deps =
|
|||||||
ArduinoJson
|
ArduinoJson
|
||||||
EEPROM_Rotate
|
EEPROM_Rotate
|
||||||
ESP Async WebServer
|
ESP Async WebServer
|
||||||
ESPAsyncTCP
|
|
||||||
ESPAsyncUDP
|
ESPAsyncUDP
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
@@ -39,7 +43,7 @@ monitor_speed = 115200
|
|||||||
[env:buildweb]
|
[env:buildweb]
|
||||||
extra_scripts = pre:scripts/buildweb.py
|
extra_scripts = pre:scripts/buildweb.py
|
||||||
|
|
||||||
[env:test]
|
[env:tests]
|
||||||
build_type = debug
|
build_type = debug
|
||||||
build_flags = ${common.general_flags} -DTESTS
|
build_flags = ${common.general_flags} -DTESTS
|
||||||
extra_scripts =
|
extra_scripts =
|
||||||
@@ -64,12 +68,11 @@ extra_scripts =
|
|||||||
extra_scripts = pre:scripts/clean_fw.py
|
extra_scripts = pre:scripts/clean_fw.py
|
||||||
|
|
||||||
[env:release]
|
[env:release]
|
||||||
build_flags = ${common.general_flags}
|
build_flags = ${common.general_flags} -DNO_GLOBAL_EEPROM
|
||||||
extra_scripts =
|
extra_scripts = pre:scripts/rename_fw.py
|
||||||
pre:scripts/rename_fw.py
|
|
||||||
pre:scripts/buildweb.py
|
|
||||||
|
|
||||||
[env:checkcode]
|
[env:checkcode]
|
||||||
build_type = debug
|
build_type = debug
|
||||||
build_flags = ${common.general_flags} -Wall
|
build_flags = ${common.general_flags} -Wall
|
||||||
extra_scripts = scripts/checkcode.py
|
extra_scripts = scripts/checkcode.py
|
||||||
|
|
||||||
Reference in New Issue
Block a user