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

cpu/stm32: remove redundant conditional compile block #20495

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

Enoch247
Copy link
Contributor

@Enoch247 Enoch247 commented Mar 20, 2024

Contribution description

This patch removes a largely redundant block of conditional includes.

The removed includes are moved into the family specific headers so that the more specific headers may override defaults defined in the shared headers.

Testing procedure

The changes are paternalistic enough that it should be obvious in review if this breaks anything.

I did do:

$ make -C examples/blinky BOARD=nucleo-f303ze

and

$ make -C examples/blinky BOARD=nucleo-f767zi

Issues/PRs references

This relates to the work I am doing to port RIOT to the STM32H7 family.

This patch removes a largely redundant block of conditional includes.

The removed includes are moved into the family specific headers so that
the more specific headers may override defaults defined in the shared
headers.
@github-actions github-actions bot added Platform: ARM Platform: This PR/issue effects ARM-based platforms Area: cpu Area: CPU/MCU ports labels Mar 20, 2024
@aabadie aabadie added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 20, 2024
@Enoch247 Enoch247 changed the title cpu/stm32: remove redundant conditional compile cpu/stm32: remove redundant conditional compile block Mar 20, 2024
@riot-ci
Copy link

riot-ci commented Mar 20, 2024

Murdock results

✔️ PASSED

1e45261 cpu/stm32: moved includes out of header where not used

Success Failures Total Runtime
10008 0 10009 09m:08s

Artifacts

@aabadie aabadie added this pull request to the merge queue Mar 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 20, 2024
@Enoch247 Enoch247 force-pushed the simplify-stm32-clk-includes branch from 68df35b to 1e45261 Compare March 21, 2024 15:02
@aabadie aabadie enabled auto-merge March 21, 2024 15:49
@aabadie aabadie added this pull request to the merge queue Mar 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 22, 2024
@aabadie aabadie added this pull request to the merge queue Mar 22, 2024
Merged via the queue into RIOT-OS:master with commit 9f51dae Mar 22, 2024
26 checks passed
@MrKevinWeiss MrKevinWeiss added this to the Release 2024.04 milestone Apr 30, 2024
@Enoch247 Enoch247 deleted the simplify-stm32-clk-includes branch October 21, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants