knx/examples/knx-demo/platformio.ini
Thomas Kunze a510042e78 Squashed commit of the following:
commit 043ba081ff
Merge: eb0d626 277a5d5
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Fri Oct 28 22:09:18 2022 +0200

    Merge branch 'w5500'

commit 277a5d57fa
Merge: cf44c4e 187ab2e
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Fri Oct 28 19:35:32 2022 +0200

    Merge branch 'w5500' of https://github.com/OnlineCaveman/knx-samd51 into w5500

commit cf44c4efe9
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Fri Oct 28 19:35:02 2022 +0200

    Added functionality for W5500

    Initialisation works. Compiling fails on "htonl" expansion. If commented out it compiles fine.

commit 187ab2e9f1
Merge: b0238cf eef3a85
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Thu Oct 27 14:30:17 2022 +0200

    Merge branch 'thelsing:master' into w5500

commit eb0d62666d
Merge: b0238cf eef3a85
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Thu Oct 27 14:29:49 2022 +0200

    Merge branch 'thelsing:master' into master

commit b0238cfe7e
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Tue Oct 25 17:28:00 2022 +0200

    Changed comment lines

    Changed the comment lines to reflect the current possibilities TP and RF

commit d24f6de36f
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Tue Oct 25 17:24:55 2022 +0200

    Added the RF (0x27B0)

    Added checks for RF 0x27B0 as that should work ootb I suppose.

    Builds and uploads successfully.
    Gives the debug output "ERROR, RF transceiver not responding" since I have no RF hw to test.

    Same goes for the TP 0x07B0. Build and uploads successfully.
    Gives the debug output "ERROR, TPUART not responding" since no I have no TP uart hw to test.

commit 7373ab0a87
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Tue Oct 25 16:19:53 2022 +0200

    No IP version yet

commit 76762571ea
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Tue Oct 25 15:56:34 2022 +0200

    Ifdef include requested change

commit 02565a0ba3
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Mon Oct 17 21:10:23 2022 +0200

    Cleanup

    Removed unnecesary Qspi stuff for now. Compiles fine for samd51 and samd21. Have no samd21 platform or tpuart to do thorough testing but nothing fundamental was changed in samd_platform other than the ifdef checks.

commit 598f6bddfd
Merge: 37e056a b403480
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Mon Oct 17 20:38:08 2022 +0200

    Merge branch 'master' of https://github.com/OnlineCaveman/knx-samd51

commit 37e056a91c
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Mon Oct 17 20:37:44 2022 +0200

    ARCH_SAMD

    Now checking for __SAMD21__ and __SAMD51__ in knx_facade, samd_platform (samd21) and samd51_platform (samd51)

    Preparation for external flash functionality in platform.h

commit b403480f0c
Merge: c0e5621 a0134e6
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Mon Oct 17 19:59:28 2022 +0200

    Merge branch 'thelsing:master' into master

commit c0e5621a5f
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Mon Oct 17 19:52:10 2022 +0200

    Rename back to original

commit 6c4a10e189
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Mon Oct 17 19:51:31 2022 +0200

    Fault in change tracking

    Renaming subdir knx to force changes

commit b8107fd62d
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Mon Oct 17 19:48:09 2022 +0200

    SAMD51/SAMD21 files

    Separate files for SAMD51 and SAMD21 platforms.

commit 4248a1f073
Author: OnlineCaveman <115506475+OnlineCaveman@users.noreply.github.com>
Date:   Sat Oct 15 16:15:32 2022 +0200

    Updated for samd51 flash storage compatibility
2024-09-13 17:53:32 +02:00

164 lines
3.9 KiB
INI

;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]
; We have to keep libdeps dir out the project directory otherwise,
; library scanner seems to have issues so compilation fails
libdeps_dir = /tmp/libdeps
src_dir = .
;--- SAMD --------------------------------------------------
[env:adafruit_feather_m0_rf]
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_deps =
SPI
knx=file://../../../knx
build_flags =
-DMASK_VERSION=0x27B0
-Wno-unknown-pragmas
;-----------------------------------------------------------
;--- ESP8266 -----------------------------------------------
#[env:nodemcuv2_ip]
#platform = espressif8266
#board = nodemcuv2
#framework = arduino
; We consider that the this projects is opened within its project directory
; while working with VS Code.
#lib_deps =
# WifiManager
# knx=file://../../../knx
#build_flags =
# -DMASK_VERSION=0x57B0
# -Wno-unknown-pragmas
[env:nodemcuv2_tp]
platform = espressif8266@^2
board = nodemcuv2
framework = arduino
; We consider that the this projects is opened within its project directory
; while working with VS Code.
lib_deps =
WifiManager@0.15.0
knx=file://../../../knx
build_flags =
-DMASK_VERSION=0x07B0
-Wno-unknown-pragmas
;---------------------------------------------------------
;--- ESP32 -----------------------------------------------
[env:esp32dev_ip]
platform = espressif32
board = esp32dev
framework = arduino
; We consider that the this projects is opened within its project directory
; while working with VS Code.
lib_deps =
https://github.com/tzapu/WiFiManager.git
knx=file://../../../knx
build_flags =
-DMASK_VERSION=0x57B0
-Wno-unknown-pragmas
[env:esp32dev_tp]
platform = espressif32
board = esp32dev
framework = arduino
; We consider that the this projects is opened within its project directory
; while working with VS Code.
lib_deps =
knx=file://../../../knx
build_flags =
-DMASK_VERSION=0x07B0
-Wno-unknown-pragmas
;--- STM32/GD32 ---
[env:h8i8o]
platform = ststm32
board = genericSTM32F103CB
framework = arduino
; We consider that the this projects is opened within its project directory
; while working with VS Code.
lib_deps =
knx=file://../../../knx
build_flags =
-DENABLE_HWSERIAL1
-DPIN_SERIAL1_TX=PA9
-DPIN_SERIAL1_RX=PA10
-DKNX_SERIAL=Serial1
-DKNX_BUTTON=PA11
-DKNX_LED=PA12
-DMASK_VERSION=0x07B0
-Wno-unknown-pragmas
extra_scripts = ../scripts/stm32rdu.py
[env:h8c09]
platform = ststm32
board = genericSTM32F103CB
framework = arduino
; We consider that the this projects is opened within its project directory
; while working with VS Code.
lib_deps =
knx=file://../../../knx
build_flags =
-DENABLE_HWSERIAL1
-DPIN_SERIAL1_TX=PA9
-DPIN_SERIAL1_RX=PA10
-DKNX_SERIAL=Serial1
-DKNX_BUTTON=PB0
-DKNX_LED=PB5
-DMASK_VERSION=0x07B0
-Wno-unknown-pragmas
extra_scripts = ../scripts/stm32rdu.py
;--- RP2040 -----------------------------------------------
[env:rp2040]
framework = arduino
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#60d6ae8
platform_packages = framework-arduinopico @ https://github.com/earlephilhower/arduino-pico/releases/download/3.9.3/rp2040-3.9.3.zip
board = rpipico
board_build.core = earlephilhower
; We consider that the this projects is opened within its project directory
; while working with VS Code.
lib_deps =
knx=file://../../../knx
lib_ldf_mode = deep+
build_flags =
-DMASK_VERSION=0x07B0
-DKNX_FLASH_SIZE=4096
-D PIO_FRAMEWORK_ARDUINO_ENABLE_RTTI
-Wno-unknown-pragmas