|
@@ -15,19 +15,6 @@ env = DefaultEnvironment()
|
15
|
15
|
platform = env.PioPlatform()
|
16
|
16
|
board = env.BoardConfig()
|
17
|
17
|
variant = board.get("build.variant")
|
18
|
|
-variant_dir = ' +<buildroot/share/PlatformIO/variants/' + variant + '>';
|
19
|
|
-src_filter = env.get("SRC_FILTER")
|
20
|
|
-print("Starting SRC Filter:", env.get("SRC_FILTER"))
|
21
|
|
-src_filter_value = src_filter[0];
|
22
|
|
-
|
23
|
|
-src_filter_value = src_filter_value + variant_dir
|
24
|
|
-src_filter[0] = src_filter_value;
|
25
|
|
-env["SRC_FILTER"] = src_filter
|
26
|
|
-
|
27
|
|
-print("Modified SRC Filter:", env.get("SRC_FILTER"))
|
28
|
|
-
|
29
|
|
-cxx_flags = env['CXXFLAGS']
|
30
|
|
-print("CXXFLAGS", cxx_flags)
|
31
|
18
|
|
32
|
19
|
FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoststm32")
|
33
|
20
|
assert os.path.isdir(FRAMEWORK_DIR)
|