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

west.yml: hal_stm32: Don't include legacy headers anymore #73363

Merged

Conversation

erwango
Copy link
Member

@erwango erwango commented May 27, 2024

We're not supposed to rely on symbols provided by these files. In case it is required stm32 zephyr code base should be updated rather than relying on legacy definitions.

Additionally:
Fixes #70136

@zephyrbot
Copy link
Collaborator

zephyrbot commented May 27, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_stm32 zephyrproject-rtos/hal_stm32@366c5c9 zephyrproject-rtos/hal_stm32@54724a8 (main) zephyrproject-rtos/hal_stm32@366c5c90..54724a81

Note: This message is automatically posted and updated by the Manifest GitHub Action.

We're not supposed to rely on symbols provided by these files.
In case it is required stm32 zephyr code base should be updated rather
than relying on legacy definitions.

Additionally:
Fixes zephyrproject-rtos#70136

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
@erwango erwango force-pushed the dev/legacy_headers_cleanup branch from acc45aa to fd92e96 Compare May 30, 2024 13:20
@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label May 30, 2024
@erwango erwango self-assigned this Jun 3, 2024
@erwango erwango requested a review from ajarmouni-st June 3, 2024 12:15
@aescolar aescolar merged commit a8b0460 into zephyrproject-rtos:main Jun 3, 2024
24 of 25 checks passed
erwango added a commit to erwango/zephyr that referenced this pull request Jun 17, 2024
PAGESIZE definition from legacy.h conflicts with POSIX definition.
Since this definition comes from legacy.h file which is only there
for Cube backward compatibility that we don't maintain in Zephyr,
simply remove it.

Note:
This is a second fix for zephyrproject-rtos#73363 which wasn't sufficiently tested.
Legacy file is included in stm32yyxx_hal_def.h headers and actually
removing it generates build errors as we're relying on some of the
definitions. Removing this inclusion is necessary and will be done
but on next release.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
erwango added a commit to erwango/zephyr that referenced this pull request Jun 19, 2024
PAGESIZE definition from legacy.h conflicts with POSIX definition.
Since this definition comes from legacy.h file which is only there
for Cube backward compatibility that we don't maintain in Zephyr,
simply remove it.

Note:
This is a second fix for zephyrproject-rtos#73363 which wasn't sufficiently tested.
Legacy file is included in stm32yyxx_hal_def.h headers and actually
removing it generates build errors as we're relying on some of the
definitions. Removing this inclusion is necessary and will be done
but on next release.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
nashif pushed a commit that referenced this pull request Jun 21, 2024
PAGESIZE definition from legacy.h conflicts with POSIX definition.
Since this definition comes from legacy.h file which is only there
for Cube backward compatibility that we don't maintain in Zephyr,
simply remove it.

Note:
This is a second fix for #73363 which wasn't sufficiently tested.
Legacy file is included in stm32yyxx_hal_def.h headers and actually
removing it generates build errors as we're relying on some of the
definitions. Removing this inclusion is necessary and will be done
but on next release.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
ekleezg pushed a commit to ekleezg/zephyr that referenced this pull request Jun 22, 2024
PAGESIZE definition from legacy.h conflicts with POSIX definition.
Since this definition comes from legacy.h file which is only there
for Cube backward compatibility that we don't maintain in Zephyr,
simply remove it.

Note:
This is a second fix for zephyrproject-rtos#73363 which wasn't sufficiently tested.
Legacy file is included in stm32yyxx_hal_def.h headers and actually
removing it generates build errors as we're relying on some of the
definitions. Removing this inclusion is necessary and will be done
but on next release.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Jun 26, 2024
PAGESIZE definition from legacy.h conflicts with POSIX definition.
Since this definition comes from legacy.h file which is only there
for Cube backward compatibility that we don't maintain in Zephyr,
simply remove it.

Note:
This is a second fix for zephyrproject-rtos#73363 which wasn't sufficiently tested.
Legacy file is included in stm32yyxx_hal_def.h headers and actually
removing it generates build errors as we're relying on some of the
definitions. Removing this inclusion is necessary and will be done
but on next release.

(cherry picked from commit e1b13b6)

Original-Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
GitOrigin-RevId: e1b13b6
Change-Id: I8a505ed45fabc04c49a0043a9fdcd209c7541838
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5649642
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
fogzot pushed a commit to dndg/zephyr that referenced this pull request Jul 23, 2024
PAGESIZE definition from legacy.h conflicts with POSIX definition.
Since this definition comes from legacy.h file which is only there
for Cube backward compatibility that we don't maintain in Zephyr,
simply remove it.

Note:
This is a second fix for zephyrproject-rtos#73363 which wasn't sufficiently tested.
Legacy file is included in stm32yyxx_hal_def.h headers and actually
removing it generates build errors as we're relying on some of the
definitions. Removing this inclusion is necessary and will be done
but on next release.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to build hello world with CONFIG_POSIX_SYSCONF_IMPL_FULL=y
5 participants