From 14aef8df03ac55da6cdfe43302283a6076bb06e2 Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Tue, 17 May 2022 20:49:57 +1200 Subject: [PATCH] Change from deprecated src_filter to build_src_filter PlatformIO is also currently broken in it's handling of the deprecated variable! --- targets/common.ini | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/targets/common.ini b/targets/common.ini index 4f79383..c86d36a 100644 --- a/targets/common.ini +++ b/targets/common.ini @@ -10,7 +10,7 @@ lib_deps = ottowinter/ESPAsyncWebServer-esphome @ ^2.0.1 [common_env_data] -src_filter = +<*> -<.git/> - - - - - -<*.py> -<*test*.*> +build_src_filter = +<*> -<.git/> - - - - - -<*.py> -<*test*.*> build_flags = -Wall -Iinclude # ------------------------- COMMON ESP8285 DEFINITIONS ----------------- @@ -50,7 +50,7 @@ build_flags = build_flags = ${common_env_data.build_flags} -D TARGET_TX_BACKPACK -src_filter = ${common_env_data.src_filter} - - - - - - +build_src_filter = ${common_env_data.build_src_filter} - - - - - - # ------------------------- COMMON RAPIDFIRE-BACKPACK DEFINITIONS ----------------- [rapidfire_vrx_backpack_common] @@ -58,7 +58,7 @@ build_flags = ${common_env_data.build_flags} -D TARGET_VRX_BACKPACK -D RAPIDFIRE_BACKPACK -src_filter = ${common_env_data.src_filter} - - - - - +build_src_filter = ${common_env_data.build_src_filter} - - - - - # ------------------------- COMMON RX5808-BACKPACK DEFINITIONS ----------------- [rx5808_vrx_backpack_common] @@ -66,7 +66,7 @@ build_flags = ${common_env_data.build_flags} -D TARGET_VRX_BACKPACK -D RX5808_BACKPACK -src_filter = ${common_env_data.src_filter} - - - - - +build_src_filter = ${common_env_data.build_src_filter} - - - - - # ------------------------- COMMON STEADYVIEW-BACKPACK DEFINITIONS ----------------- [steadyview_vrx_backpack_common] @@ -74,7 +74,7 @@ build_flags = ${common_env_data.build_flags} -D TARGET_VRX_BACKPACK -D STEADYVIEW_BACKPACK -src_filter = ${common_env_data.src_filter} - - - - - +build_src_filter = ${common_env_data.build_src_filter} - - - - - # ------------------------- COMMON FUSION-BACKPACK DEFINITIONS ----------------- [fusion_vrx_backpack_common] @@ -82,7 +82,7 @@ build_flags = ${common_env_data.build_flags} -D TARGET_VRX_BACKPACK -D FUSION_BACKPACK -src_filter = ${common_env_data.src_filter} - - - - - +build_src_filter = ${common_env_data.build_src_filter} - - - - - # ------------------------- COMMON HDZERO-BACKPACK DEFINITIONS ----------------- [hdzero_vrx_backpack_common] @@ -90,4 +90,4 @@ build_flags = ${common_env_data.build_flags} -D TARGET_VRX_BACKPACK -D HDZERO_BACKPACK -src_filter = ${common_env_data.src_filter} - - - - - - +build_src_filter = ${common_env_data.build_src_filter} - - - - - -