updates for change to platformio
This commit is contained in:
parent
30e1abb3b8
commit
8bf0ab1f3e
18
.gitignore
vendored
18
.gitignore
vendored
|
|
@ -1,15 +1,9 @@
|
||||||
.metadata
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
ESPNTPServer.code-workspace
|
||||||
*.bak
|
*.bak
|
||||||
*-bak
|
*-bak
|
||||||
/.setup_hook.sh
|
.pio
|
||||||
/ESPNTPServer/.ino.cpp
|
.vscode
|
||||||
/ESPNTPServer/.project
|
eagle/ESPNTPServer/ESPNTPServer.b#*
|
||||||
/ESPNTPServer/.cproject
|
eagle/ESPNTPServer/ESPNTPServer.s#*
|
||||||
/ESPNTPServer/.settings
|
eagle/ESPNTPServer/ESPNTPServer_*.zip
|
||||||
/ESPNTPServer/Release
|
|
||||||
/ESPNTPServer/Debug
|
|
||||||
/ESPNTPServer/libraries
|
|
||||||
/ESPNTPServer/core
|
|
||||||
/ESPNTPServer/spec.d
|
|
||||||
/RemoteSystemsTempFiles
|
|
||||||
|
|
|
||||||
49
.travis.yml
49
.travis.yml
|
|
@ -1,46 +1,17 @@
|
||||||
language: python
|
language: python
|
||||||
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
|
||||||
sudo: required
|
sudo: false
|
||||||
|
|
||||||
env:
|
cache:
|
||||||
global:
|
directories:
|
||||||
- APPLICATION_FOLDER="${HOME}/arduino-ide"
|
- "~/.platformio"
|
||||||
- SKETCHBOOK_FOLDER="${TRAVIS_BUILD_DIR}"
|
|
||||||
- ESP8266_DEVICE="esp8266com:esp8266:generic:CpuFrequency=160,CrystalFreq=26,FlashFreq=40,FlashMode=qio,FlashSize=4M1M,led=2,LwIPVariant=v2mss536,Debug=Serial1,DebugLevel=None____"
|
|
||||||
- ESPNTPSERVER_DIR="${TRAVIS_BUILD_DIR}/ESPNTPServer"
|
|
||||||
|
|
||||||
before_install:
|
install:
|
||||||
- echo HOME is "'${HOME}'"
|
- pip install -U platformio
|
||||||
- id
|
- platformio update
|
||||||
- cd "${TRAVIS_BUILD_DIR}"
|
|
||||||
- ./setup.sh
|
|
||||||
# setup arduino-ci-script
|
|
||||||
- git clone https://github.com/per1234/arduino-ci-script.git "${HOME}/scripts"
|
|
||||||
- cd "${HOME}/scripts"
|
|
||||||
# Get new tags from the remote
|
|
||||||
- git fetch --tags
|
|
||||||
# Checkout the latest tag
|
|
||||||
- git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
|
||||||
- source "${HOME}/scripts/arduino-ci-script.sh"
|
|
||||||
|
|
||||||
# Uncomment the following lines to get verbose output for debugging
|
|
||||||
# 0 (minimum/default) - 2 (maximum) verbosity
|
|
||||||
#- set_script_verbosity 1
|
|
||||||
# Turn on verbose output during compilation
|
|
||||||
#- set_verbose_output_during_compilation "true"
|
|
||||||
|
|
||||||
# Don't for library issues that don't affect compilation
|
|
||||||
- set_library_testing "false"
|
|
||||||
|
|
||||||
- set_application_folder "$APPLICATION_FOLDER"
|
|
||||||
- set_sketchbook_folder "$SKETCHBOOK_FOLDER"
|
|
||||||
|
|
||||||
- install_ide "1.8.5"
|
|
||||||
|
|
||||||
# make it look like a sketch for arduino
|
|
||||||
- touch "${ESPNTPSERVER_DIR}/ESPNTPServer.ino"
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# build with arduino
|
- platformio run
|
||||||
- build_sketch "${ESPNTPSERVER_DIR}" "${ESP8266_DEVICE}" "false" "1.8.5"
|
|
||||||
|
|
|
||||||
10
README.md
10
README.md
|
|
@ -1,13 +1,11 @@
|
||||||
# ESPNTPServer
|
# ESPNTPServer
|
||||||
|
|
||||||
GPS fueled ESP8266 based NTP Server
|
GPS fueled ESP8266 based NTP Server
|
||||||
|
|
||||||
[](https://travis-ci.org/liebman/ESPNTPServer)
|
<<<<<<< HEAD
|
||||||
|
[](https://travis-ci.org/liebman/ESPNTPServer.svg)
|
||||||
|
|
||||||
[ESPNTPServer](ESPNTPServer) Contains the code for the NTP Server. I used [Eclipse with an Arduino plugin](http://sloeber.io) for development. If you want to use the Arduino IDE then create an empty file named ESPNTPServer.ino
|
[src](src) Contains the code for the NTP Server
|
||||||
|
|
||||||
[hardware](hardware) contains the esp8266 arduino core version used as a git submodule
|
|
||||||
|
|
||||||
[libraries](libraries) has all needed libraries as git submodules
|
|
||||||
|
|
||||||
[eagle](eagle) contains the schematic and board designs in Eagle cad.
|
[eagle](eagle) contains the schematic and board designs in Eagle cad.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user