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