Skip to content

Commit

Permalink
[TerkinData] Deactivate native-radiohead configuration for now
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jun 1, 2023
1 parent 41c3e22 commit b346903
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
21 changes: 21 additions & 0 deletions libraries/TerkinData/examples/platformio-inactive.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 0 additions & 17 deletions libraries/TerkinData/examples/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b346903

Please sign in to comment.