mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
Add new pio config for CI
This commit is contained in:
parent
b4becfe3c6
commit
cbc5a56389
37
examples/knx-usb/platformio-ci.ini
Normal file
37
examples/knx-usb/platformio-ci.ini
Normal file
@ -0,0 +1,37 @@
|
||||
;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
|
||||
[platformio]
|
||||
libdeps_dir = /tmp/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
|
||||
extra_scripts = pre:custom_hwids.py
|
||||
board_build.usb_product="KNX RF - USB Interface"
|
||||
|
||||
lib_deps =
|
||||
SPI
|
||||
Adafruit TinyUSB Library
|
||||
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
|
Loading…
Reference in New Issue
Block a user