Skip to content

Conversation

@mathieuchopstm
Copy link

Remove the HAL Legacy definitions header from all series using a little trick to ensure proper compilation despite the missing file, and update the README of all series to remove mention of patches to the header we are getting rid of.

Also remove the other legacy headers (can_legacy / eth_legacy) which are never used from the Zephyr side. This is however more of a cosmectic patch as these headers are not part of the build (they are only included if the corresponding HAL module is enabled, which is not the case in Zephyr).

@mathieuchopstm mathieuchopstm force-pushed the remove_hal_legacy_header branch from b0ab042 to a21a0d7 Compare October 24, 2025 13:58
@mathieuchopstm mathieuchopstm force-pushed the remove_hal_legacy_header branch from a21a0d7 to f0466c7 Compare October 27, 2025 14:48
@mathieuchopstm mathieuchopstm marked this pull request as draft October 27, 2025 14:55
Replace HAL Legacy definitions used in these drivers with the proper,
non-Legacy definitions. Also add a note in the patch list about this
modification.

Signed-off-by: Mathieu Choplain <[email protected]>
Remove the HAL Legacy definitions header from all series using a little
trick to ensure proper compilation despite the missing file, and update
the README of all series to remove mention of patches to the header we are
getting rid of.

Also remove the other legacy headers (can_legacy / eth_legacy) which are
never used from the Zephyr side. This is however more of a cosmectic
patch as these headers are not part of the build (they are only included
if the corresponding HAL module is enabled, which is never done in Zephyr).

Signed-off-by: Mathieu Choplain <[email protected]>
@mathieuchopstm mathieuchopstm force-pushed the remove_hal_legacy_header branch from f0466c7 to f4b6cc1 Compare October 27, 2025 15:29
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