save work

This commit is contained in:
nanosonde 2019-12-16 15:32:43 +01:00
parent 1dc216d523
commit f53c55a845
2 changed files with 8 additions and 3 deletions

View File

@ -83,13 +83,14 @@
directories:
- "~/.platformio"
env:
- PLATFORMIO_EXTRA_SCRIPTS=pre:~/build/nanosonde/knx/examples/knx-usb/custom_hwids.py
- PLATFORMIO_EXTRA_SCRIPTS=pre:/tmp/scripts/custom_hwids.py
install:
- pip install -U platformio
- platformio update
script:
#- mkdir -p /tmp/scripts
#- cp examples/knx-usb/custom_hwids.py /tmp/scripts
# PRE scripts have to be copied manually as "platformio ci does not care about it"
- mkdir -p /tmp/scripts
- cp examples/knx-usb/custom_hwids.py /tmp/scripts
- platformio settings set force_verbose yes
- echo "-------";pwd;echo "--------";
- platformio ci --lib="." --project-conf=examples/knx-usb/platformio-ci.ini examples/knx-usb/src/main.cpp

View File

@ -8,12 +8,16 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
; We have to keep libdeps dir out the project directory otherwise,
; library scanner seems to have issues so compilation fails
libdeps_dir = /tmp/libdeps
[env:adafruit_feather_m0]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
; We consider that the this projects is opened within its project directory
; while working with VS Code.
lib_extra_dirs = ../../../
; VID must be changed to some known KNX Manufacturer