Skip to content

Commit

Permalink
Changed platformio.ini. A few boards are building now
Browse files Browse the repository at this point in the history
  • Loading branch information
wiesendaniel committed Nov 14, 2018
1 parent b51be31 commit 67013bd
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 58 deletions.
58 changes: 12 additions & 46 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
92 changes: 80 additions & 12 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
#[email protected]
#[email protected]
#webserver
[email protected]
[email protected]
#[email protected]
#[email protected]
#[email protected]
#[email protected]


# 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 =
${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 =
Blynk
PubSubClient
E131
Time
Timezone
webserver
WS2812FX
NeoPixelBus
FastLED
${common_env_data.lib_deps_builtin}
${common_env_data.lib_deps_external}

0 comments on commit 67013bd

Please sign in to comment.