2019-12-09 19:53:08 +01:00
|
|
|
;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
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
2019-12-16 19:52:10 +01:00
|
|
|
[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
|
2019-12-09 19:53:08 +01:00
|
|
|
|
|
|
|
[env:adafruit_feather_m0]
|
|
|
|
platform = atmelsam
|
|
|
|
board = adafruit_feather_m0
|
|
|
|
framework = arduino
|
2019-12-16 19:52:10 +01:00
|
|
|
; We consider that the this projects is opened within its project directory
|
|
|
|
; while working with VS Code.
|
|
|
|
lib_extra_dirs = ../../../
|
2019-12-09 19:53:08 +01:00
|
|
|
|
|
|
|
; VID must be changed to some known KNX Manufacturer
|
|
|
|
; so that the KNX USB interface gets recognized by ETS
|
|
|
|
extra_scripts = pre:custom_hwids.py
|
|
|
|
board_build.usb_product="KNX RF - USB Interface"
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
SPI
|
2019-12-16 19:52:10 +01:00
|
|
|
Adafruit TinyUSB Library
|
2019-12-09 19:53:08 +01:00
|
|
|
https://github.com/thelsing/FlashStorage.git
|
|
|
|
knx
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-DMEDIUM_TYPE=2
|
|
|
|
-DUSE_CEMI_SERVER
|
|
|
|
-DUSE_TINYUSB
|
|
|
|
-Wno-unknown-pragmas
|
|
|
|
|
|
|
|
debug_tool = jlink
|
|
|
|
#upload_protocol = jlink
|