made platformio.ini more hardware generic

This commit is contained in:
Klaus K Wilting 2018-07-09 14:35:55 +02:00
parent ab861cf7a2
commit ff7187fd4d
3 changed files with 3 additions and 13 deletions

View File

@ -49,8 +49,9 @@ build_flags =
; override lora settings from LMiC library in lmic/config.h and use main.h instead
-D_lmic_config_h_
-include "src/paxcounter.conf"
-include "src/hal/${PIOENV}.h"
-w
[env:heltec]
platform = ${common_env_data.platform_espressif32}
framework = arduino
@ -63,7 +64,6 @@ lib_deps =
${common_env_data.lib_deps_display}
build_flags =
${common_env_data.build_flags}
-include "src/hal/heltec.h"
[env:ttgov1]
platform = ${common_env_data.platform_espressif32}
@ -77,7 +77,6 @@ lib_deps =
${common_env_data.lib_deps_display}
build_flags =
${common_env_data.build_flags}
-include "src/hal/ttgov1.h"
[env:ttgov2]
platform = ${common_env_data.platform_espressif32}
@ -91,7 +90,6 @@ lib_deps =
${common_env_data.lib_deps_display}
build_flags =
${common_env_data.build_flags}
-include "src/hal/ttgov2.h"
[env:ttgov21]
platform = ${common_env_data.platform_espressif32}
@ -105,7 +103,6 @@ lib_deps =
${common_env_data.lib_deps_display}
build_flags =
${common_env_data.build_flags}
-include "src/hal/ttgov21.h"
[env:ttgobeam]
platform = ${common_env_data.platform_espressif32}
@ -119,8 +116,6 @@ lib_deps =
${common_env_data.lib_deps_gps}
build_flags =
${common_env_data.build_flags}
-include "src/hal/ttgobeam.h"
-include
[env:fipy]
platform = ${common_env_data.platform_espressif32}
@ -134,7 +129,6 @@ lib_deps =
${common_env_data.lib_deps_rgbled}
build_flags =
${common_env_data.build_flags}
-include "src/hal/fipy.h"
[env:lopy]
platform = ${common_env_data.platform_espressif32}
@ -149,7 +143,6 @@ lib_deps =
${common_env_data.lib_deps_gps}
build_flags =
${common_env_data.build_flags}
-include "src/hal/lopy.h"
[env:lopy4]
platform = ${common_env_data.platform_espressif32}
@ -164,7 +157,6 @@ lib_deps =
${common_env_data.lib_deps_gps}
build_flags =
${common_env_data.build_flags}
-include "src/hal/lopy4.h"
[env:lolin32lite]
platform = ${common_env_data.platform_espressif32}
@ -178,7 +170,6 @@ lib_deps =
${common_env_data.lib_deps_rgbled}
build_flags =
${common_env_data.build_flags}
-include "src/hal/lolin32lite_lora.h"
[env:lolin32]
platform = ${common_env_data.platform_espressif32}
@ -191,5 +182,4 @@ lib_deps =
${common_env_data.lib_deps_all}
${common_env_data.lib_deps_rgbled}
build_flags =
${common_env_data.build_flags}
-include "src/hal/lolin32_lora.h"
${common_env_data.build_flags}