|
|
@ -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) |