diff --git a/code/extra_scripts.py b/code/extra_scripts.py index 75fd5f9a..c4946f25 100644 --- a/code/extra_scripts.py +++ b/code/extra_scripts.py @@ -10,7 +10,7 @@ from platformio import util import distutils.spawn -Import("env") +Import("env", "projenv") # ------------------------------------------------------------------------------ # Utils @@ -86,6 +86,9 @@ def check_size(source, target, env): # Hooks # ------------------------------------------------------------------------------ +# Always show warnings for project code +projenv.ProcessUnFlags("-w") + remove_float_support() env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", check_size)