Commit 7ac93a55 authored by Nitek's avatar Nitek

* Added platform.io build* Added travis-ci file* Optimized wiring* Play files in alphabetical order

parent 6cdd20dc
.pioenvs
.piolibdeps
language: python
python:
- "2.7"
# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
directories:
- "~/.platformio"
env:
- PLATFORMIO_CI_SRC=RfidShelf/RfidShelf.ino
install:
- pip install -U platformio
script:
- platformio ci --board=<ID_1> --board=<ID_2> --board=<ID_N>
notifications:
email:
on_success: change
on_failure: change
\ No newline at end of file
This diff is collapsed.
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = .
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
; using my fork of Adafruit_VS1052 to allow long file names
lib_deps =
TheNitek/Adafruit_VS1053_Library
Adafruit VS1053 Library
ArduinoOTA
DNSServer
ESP8266mDNS
ESP8266WebServer
ESP8266WiFi
MFRC522@1.3.6
SdFat@1.0.1
SPI
WifiManager@0.12
extra_script = platformio_script.py
Import("env")
import os
import shutil
def after_build(source, target, env):
shutil.copy(target[0].path, "./build/latest.bin")
env.AddPostAction("$BUILD_DIR/firmware.bin", after_build)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment