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} - - - - - -