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

Tools: create and use AP_Periph_config.h #29217

Closed
wants to merge 2 commits into from

Conversation

shiv-tyagi
Copy link
Contributor

These AP_PERIPH_XX_ENABLED defines might be needed inside other libraries. To handle the scenario where these are not defined but are evaluated in those libraries (which can happen if we are not building for AP_Periph), we need to include this file in those libraries. For example, here when we move from defined(HAL_PERIPH_ENABLE_RPM_STREAM) to AP_PERIPH_RPM_STREAM_ENABLED, we get an error. To fix this, we will need to include AP_Periph_config.h in AP_RPM.h.

@shiv-tyagi shiv-tyagi marked this pull request as draft February 3, 2025 14:31
@shiv-tyagi shiv-tyagi closed this Feb 3, 2025
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