Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMAKE]: Compile Target Options for ESP32 Platform #540

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vinicius-trev
Copy link

Describe your changes

While compiling the project for the ESP32 I was getting two -Wpedantic warnings from ESP libraries (assert and twai). The code is compiling and working fine, but producing build warnings. The idea of this PR is to get rid of them since, as far as I understood, I can't add the compile option only for this library as the espressif CMake fork for won't allow me: source

image

How has this been tested?

The project was compiled both with the ESP_PLATFORM flag enabled and disabled to check the warnings during the build

Using the AgIsoStack-on-ESP32 repository to test the compile logs, we can see that the -Wpedantic warnings were gone.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant