From b346903edb749d742513fbeb8ea47879bf2a3a05 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 1 Jun 2023 12:34:22 +0200 Subject: [PATCH] [TerkinData] Deactivate native-radiohead configuration for now --- .../examples/platformio-inactive.ini | 21 +++++++++++++++++++ libraries/TerkinData/examples/platformio.ini | 17 --------------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/libraries/TerkinData/examples/platformio-inactive.ini b/libraries/TerkinData/examples/platformio-inactive.ini index e7b8885..b55b908 100644 --- a/libraries/TerkinData/examples/platformio-inactive.ini +++ b/libraries/TerkinData/examples/platformio-inactive.ini @@ -1,3 +1,24 @@ +[env:native-radiohead] +# Native build with RadioHead, for simulation purposes. +# http://www.airspayce.com/mikem/arduino/RadioHead/classRH__TCP.html +platform = native +lib_compat_mode = off +lib_deps = + ${env:native.lib_deps} +#SPI + mikem/RadioHead@^1.120 +lib_extra_dirs = + ${env:native.lib_extra_dirs} +build_flags = + ${env:native.build_flags} +# FIXME: Why is that needed? What overwrites it? + -I ${platformio.libdeps_dir}/${this.__env__}/RadioHead + -D RH_SIMULATOR=true +#-D SERIAL_PORT_HARDWARE=Serial + -D LOW 0x0 + -D HIGH 0x1 + + [env:esp32s2] #platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master #platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git diff --git a/libraries/TerkinData/examples/platformio.ini b/libraries/TerkinData/examples/platformio.ini index 7fc75ea..8ae8cd9 100644 --- a/libraries/TerkinData/examples/platformio.ini +++ b/libraries/TerkinData/examples/platformio.ini @@ -59,23 +59,6 @@ build_flags = # -Wextra -[env:native-radiohead] -# Native build with RadioHead, for simulation purposes. -# http://www.airspayce.com/mikem/arduino/RadioHead/classRH__TCP.html -platform = native -lib_deps = - ${env:native.lib_deps} - mikem/RadioHead@^1.120 -lib_extra_dirs = - ${env:native.lib_extra_dirs} -build_flags = - ${env:native.build_flags} - # FIXME: Why is that needed? What overwrites it? - -I ${platformio.libdeps_dir}/${this.__env__}/RadioHead - -D RH_SIMULATOR=true - -D SERIAL_PORT_HARDWARE= - - [env:avr328] platform = atmelavr board = pro8MHzatmega328