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

Fix compat tests due to esp-idf moving include files #102

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

wnienhaus
Copy link
Collaborator

@wnienhaus wnienhaus commented Dec 15, 2024

Peripheral register definitions were moved to a new directory inside the ESP-IDF: components/soc/{cpu_type}/register.

This change caused our compat tests to fail because they depended on predefined register constants.

This PR resolves the issue by adding the new directory to GCC's include search path using the -I option.

Additionally, all header files in this new directory are now added to the DefinesDB for the compat tests with RTC macros.

Fixes #101.

Peripheral register definitions were moved to a new directory
inside the ESP-IDF: components/soc/{cpu_type}/register.

This change caused our compat tests to fail because they
depended on predefined register constants.

This commit resolves the issue by adding the new directory to
GCC's include search path using the -I option.

Additionally, all header files in this new directory are now
added to the DefinesDB for the compat tests with RTC macros.

Fixes micropython#100.
@wnienhaus wnienhaus merged commit c7f7f42 into micropython:master Dec 15, 2024
1 check passed
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.

test failure
1 participant