diff --git a/build_platform.py b/build_platform.py index c3f60c6..260b498 100644 --- a/build_platform.py +++ b/build_platform.py @@ -430,9 +430,9 @@ def test_examples_in_folder(folderpath): if BUILD_WARN: if os.path.exists(gen_file_name): - cmd = ['arduino-cli', 'compile', '--warnings', 'none', '--fqbn', fqbn, '-e', folderpath] + cmd = ['arduino-cli', 'compile', '--warnings', 'all', '--fqbn', fqbn, '-e', folderpath] else: - cmd = ['arduino-cli', 'compile', '--warnings', 'none', '--fqbn', fqbn, folderpath] + cmd = ['arduino-cli', 'compile', '--warnings', 'all', '--fqbn', fqbn, folderpath] else: cmd = ['arduino-cli', 'compile', '--warnings', 'none', '--export-binaries', '--fqbn', fqbn, folderpath] proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,