Skip to content

drivers: jtag_uart: use zephyr/posix prefix for posix headers #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cfriedt
Copy link
Member

@cfriedt cfriedt commented Jul 13, 2024

Approximately 2 and 1/2 years ago, Zephyr switched to requiring a prefix of <zephyr/posix/..> for standard posix headers.

It would seem as though the altera hal is unmaintained and nobody bothered to update it.

Note: It is advisable to not use POSIX within drivers since it creates a dependency cycle, so this is still somewhat broken. Additionally, trying to use POSIX features without enabling POSIX is probably a slippery slope.

This fixes a build failure due to lack of maintenance, and the recent removal of deprecated headers in zephyrproject-rtos/zephyr#75775

Fixes zephyrproject-rtos/zephyr#75837 (a workaround really... a better solution would not be to use POSIX below the line).

Approximately 2 and 1/2 years ago, Zephyr switched to requiring
a prefix of <zephyr/posix/..> for standard posix headers.

It would seem as though the altera hal is unmaintained and
nobody bothered to update it.

Note: It is advisable to not use POSIX within drivers since it
creates a dependency cycle, so this is still somewhat broken.

Signed-off-by: Chris Friedt <[email protected]>
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.

Build failures with minimal libC for qemu_nios2 in main CI
1 participant