File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
buildroot/share/PlatformIO/scripts Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 16
16
if "teensy" not in env ["PIOENV" ]:
17
17
cxxflags += ["-Wno-register" ]
18
18
env .Append (CXXFLAGS = cxxflags )
19
+ env .Append (CFLAGS = ["-Wno-implicit-function-declaration" ])
19
20
20
21
#
21
22
# Add CPU frequency as a compile time constant instead of a runtime variable
@@ -27,8 +28,8 @@ def add_cpu_freq():
27
28
# Useful for JTAG debugging
28
29
#
29
30
# It will separate release and debug build folders.
30
- # It useful to keep two live versions: a debug version for debugging and another for
31
- # release, for flashing when upload is not done automatically by jlink/stlink.
31
+ # This is useful to keep two live versions: a debug version and a release version,
32
+ # for flashing when upload is not done automatically by jlink/stlink.
32
33
# Without this, PIO needs to recompile everything twice for any small change.
33
34
if env .GetBuildType () == "debug" and env .get ("UPLOAD_PROTOCOL" ) not in ["jlink" , "stlink" , "custom" ]:
34
35
env ["BUILD_DIR" ] = "$PROJECT_BUILD_DIR/$PIOENV/debug"
You can’t perform that action at this time.
0 commit comments