Changed platformio.ini. A few boards are building now

This commit is contained in:
Daniel Wiesendorf 2018-11-11 19:34:19 +01:00
parent b51be31d8a
commit 67013bd58f
2 changed files with 92 additions and 58 deletions

View File

@ -19,49 +19,15 @@
# Travis CI documentation (see above).
#
#
# Template #1: General project. Test it using existing `platformio.ini`.
#
# language: python
# python:
# - "2.7"
#
# sudo: false
# cache:
# directories:
# - "~/.platformio"
#
# install:
# - pip install -U platformio
# - platformio update
#
# script:
# - platformio run
#
# Template #2: The project is intended to be used as a library with examples.
#
# language: python
# python:
# - "2.7"
#
# sudo: false
# cache:
# directories:
# - "~/.platformio"
#
# env:
# - PLATFORMIO_CI_SRC=path/to/test/file.c
# - PLATFORMIO_CI_SRC=examples/file.ino
# - PLATFORMIO_CI_SRC=path/to/test/directory
#
# install:
# - pip install -U platformio
# - platformio update
#
# script:
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- "~/.platformio"
install:
- pip install -U platformio
- platformio update
script:
- platformio run

View File

@ -10,21 +10,89 @@
[platformio]
src_dir = wled00
; env_default = nodemcuv2
[common_env_data]
build_flags =
-D VERSION=0.8.1
-D DEBUG=1
framework = arduino
lib_deps_builtin =
lib_deps_external =
# TODO replace libs in /lib with managed libs in here if possible
#Blynk@0.5.4
#E131@1.0.0
#webserver
FastLED@3.2.1
NeoPixelBus@2.3.4
#PubSubClient@2.7
#Time@1.5
#Timezone@1.2.1
#WS2812FX@1.1.2
# see: http://docs.platformio.org/en/latest/platforms/espressif8266.html
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
monitor_speed = 115200
framework = ${common_env_data.framework}
build_flags =
${common_env_data.build_flags}
lib_deps =
${common_env_data.lib_deps_builtin}
${common_env_data.lib_deps_external}
[env:d1_mini]
platform = espressif8266
board = d1_mini
monitor_speed = 115200
framework = ${common_env_data.framework}
build_flags =
${common_env_data.build_flags}
lib_deps =
${common_env_data.lib_deps_builtin}
${common_env_data.lib_deps_external}
[env:esp01_1m]
platform = espressif8266
board = esp01_1m
monitor_speed = 115200
framework = ${common_env_data.framework}
build_flags =
${common_env_data.build_flags}
lib_deps =
${common_env_data.lib_deps_builtin}
${common_env_data.lib_deps_external}
[env:esp01]
platform = espressif8266
board = esp01
framework = arduino
monitor_speed = 115200
; lib_ldf_mode = chain+ # for overwriting MQTT_MAX_PACKET_SIZE in MqttJsonClient.h, see: http://docs.platformio.org/en/latest/librarymanager/ldf.html#ldf-mode
; build_flags = -DMQTT_MAX_PACKET_SIZE
framework = ${common_env_data.framework}
build_flags =
${common_env_data.build_flags}
-DWLED_DISABLE_MOBILE_UI
-DWLED_DISABLE_OTA
-DWLED_DISABLE_ALEXA
-DWLED_DISABLE_BLYNK
-DWLED_DISABLE_CRONIXIE
-DWLED_DISABLE_HUESYNC
lib_deps =
Blynk
PubSubClient
E131
Time
Timezone
webserver
WS2812FX
NeoPixelBus
FastLED
${common_env_data.lib_deps_builtin}
${common_env_data.lib_deps_external}
# see: http://docs.platformio.org/en/latest/platforms/espressif32.html
[env:esp32dev]
platform = espressif32
board = esp32dev
monitor_speed = 115200
framework = ${common_env_data.framework}
build_flags =
${common_env_data.build_flags}
ARDUINO_ARCH_ESP32
lib_deps =
${common_env_data.lib_deps_builtin}
${common_env_data.lib_deps_external}