Ignore build file warnings for Arduino; Update examples #7329
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Defines
WOLFSSL_IGNORE_FILE_WARN
for the Arduino platform to ignore compile-time warnings in Arduino due to build system limitations noted in wolfSSL/Arduino-wolfSSL#1 with a root cause described in arduino/arduino-cli#631.Both the wolfcrypt default
settings.h
and example Arduinouser_settings.h
file have been updated.This is a nice-to-have, but not essential update to hopefully make it into the upcoming release.
Without this update, there are warnings such as this one observed in the PlatformIO Arduino build:
The Arduino warnings (and in fact the entire log) is hidden unless otherwise turned enabled for the Arduino IDE. PlatformIO is the opposite: showing the entire compiler log by default.
wolfssl_version.ino
example.Fixes zd# n/a
Fixes #7330
Testing
How did you test?
Tested in Arduino only.
Checklist