From 37e602be139a4fc88df97ee83f0d7f87bd57b8db Mon Sep 17 00:00:00 2001 From: nanosonde <2073569+nanosonde@users.noreply.github.com> Date: Fri, 13 Dec 2019 17:41:16 +0100 Subject: [PATCH] Change platformio config --- examples/knx-usb/.vscode/extensions.json | 7 +++++++ examples/knx-usb/platformio.ini | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 examples/knx-usb/.vscode/extensions.json diff --git a/examples/knx-usb/.vscode/extensions.json b/examples/knx-usb/.vscode/extensions.json new file mode 100644 index 0000000..272828b --- /dev/null +++ b/examples/knx-usb/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "platformio.platformio-ide" + ] +} \ No newline at end of file diff --git a/examples/knx-usb/platformio.ini b/examples/knx-usb/platformio.ini index dde0f60..7570aba 100644 --- a/examples/knx-usb/platformio.ini +++ b/examples/knx-usb/platformio.ini @@ -7,11 +7,14 @@ ; ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html +[platformio] +libdeps_dir = ../../../../libdeps [env:adafruit_feather_m0] platform = atmelsam board = adafruit_feather_m0 framework = arduino +lib_extra_dirs = ../../../ ; VID must be changed to some known KNX Manufacturer ; so that the KNX USB interface gets recognized by ETS @@ -19,8 +22,8 @@ extra_scripts = pre:custom_hwids.py board_build.usb_product="KNX RF - USB Interface" lib_deps = - https://github.com/adafruit/Adafruit_TinyUSB_Arduino SPI + Adafruit TinyUSB Library https://github.com/thelsing/FlashStorage.git knx @@ -32,4 +35,3 @@ build_flags = debug_tool = jlink #upload_protocol = jlink -