Browse Source

Using PlatformIO library manager for Embedis library

fastled
Xose Pérez 8 years ago
parent
commit
e3c52ba66f
5 changed files with 30 additions and 20 deletions
  1. +0
    -3
      .gitmodules
  2. +1
    -1
      code/platformio.custom.ini
  3. +1
    -1
      code/platformio.ini
  4. +28
    -14
      code/platformio.official.ini
  5. +0
    -1
      code/vendor/embedis

+ 0
- 3
.gitmodules View File

@ -1,6 +1,3 @@
[submodule "code/vendor/embedis"]
path = code/vendor/embedis
url = https://github.com/thingSoC/embedis.git
[submodule "code/vendor/nofuss"] [submodule "code/vendor/nofuss"]
path = code/vendor/nofuss path = code/vendor/nofuss
url = https://bitbucket.org/xoseperez/nofuss.git url = https://bitbucket.org/xoseperez/nofuss.git


+ 1
- 1
code/platformio.custom.ini View File

@ -12,7 +12,7 @@ env_default = node-debug
[common] [common]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = 19,31,44,64,305,306,346,408,727
extra_script = pio_hooks.py extra_script = pio_hooks.py
[ota] [ota]


+ 1
- 1
code/platformio.ini View File

@ -2,7 +2,7 @@
env_default = node-debug env_default = node-debug
[common] [common]
lib_install = 19,31,44,64,305,306,346,727
lib_install = 19,31,44,64,305,306,346,408,727
[env:sonoff-debug] [env:sonoff-debug]
platform = espressif8266 platform = espressif8266


+ 28
- 14
code/platformio.official.ini View File

@ -1,10 +1,13 @@
[platformio] [platformio]
env_default = sonoff-pow-debug
env_default = node-debug
[common]
lib_install = 19,31,44,64,305,306,346,408,727
[env:sonoff-debug] [env:sonoff-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
@ -12,7 +15,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
[env:sonoff-debug-ota] [env:sonoff-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
@ -23,15 +26,26 @@ upload_flags = --auth=fibonacci --port 8266
[env:sonoff-pow-debug] [env:sonoff-pow-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
[env:sonoff-pow-debug-ota]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:slampher-debug] [env:slampher-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
@ -39,7 +53,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
[env:slampher-debug-ota] [env:slampher-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
@ -50,7 +64,7 @@ upload_flags = --auth=fibonacci --port 8266
[env:s20-debug] [env:s20-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
@ -58,7 +72,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
[env:s20-debug-ota] [env:s20-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
@ -69,7 +83,7 @@ upload_flags = --auth=fibonacci --port 8266
[env:node-debug] [env:node-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = nodemcuv2 board = nodemcuv2
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
@ -77,7 +91,7 @@ build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
[env:node-debug-ota] [env:node-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = nodemcuv2 board = nodemcuv2
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
@ -91,7 +105,7 @@ upload_flags = --auth=fibonacci --port 8266
topic = /home/cellar/airconditioner/ip topic = /home/cellar/airconditioner/ip
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
@ -103,7 +117,7 @@ upload_flags = --auth=fibonacci --port 8266
topic = /home/cellar/washer/ip topic = /home/cellar/washer/ip
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
upload_speed = 115200 upload_speed = 115200
@ -115,7 +129,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE
topic = /home/studio/lamp/ip topic = /home/studio/lamp/ip
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
@ -127,7 +141,7 @@ upload_flags = --auth=fibonacci --port 8266
topic = /home/living/lamp/ip topic = /home/living/lamp/ip
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
lib_install = 19,31,44,64,89,549,727
lib_install = ${common.lib_install}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF


+ 0
- 1
code/vendor/embedis

@ -1 +0,0 @@
Subproject commit abf54647b3f41d85a8fa13e76106e34f4699db55

Loading…
Cancel
Save