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

hal_st: Make it a zephyr library. #25061

Merged
merged 2 commits into from
May 9, 2020

Conversation

erwango
Copy link
Member

@erwango erwango commented May 7, 2020

@erwango erwango requested a review from avisconti May 7, 2020 08:10
Copy link
Collaborator

@avisconti avisconti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #4
Very good!

@erwango
Copy link
Member Author

erwango commented May 7, 2020

Seems it doesn't work as expected

@erwango erwango added the DNM This PR should not be merged (Do Not Merge) label May 7, 2020
@avisconti
Copy link
Collaborator

Seems it doesn't work as expected

Strange.
Yesterday I tried it out. What I did was to take your commit, apply it on hal/st here and compile/test everything. I'm quite sure I was using your patch.

To be honest I'm not able to get why CI is breaking. I'm not able to download the logs.

@erwango erwango closed this May 7, 2020
@erwango erwango reopened this May 7, 2020
@erwango
Copy link
Member Author

erwango commented May 7, 2020

@avisconti I think I got it: I was declaring zephyr_library outside of HAS_STLIB, which could create an empty lib in some cases.

@erwango erwango removed the DNM This PR should not be merged (Do Not Merge) label May 7, 2020
@erwango
Copy link
Member Author

erwango commented May 7, 2020

@avisconti Interesting failure remains as it seems we should not share HAS_STLIB
between both modules.
I'll fix this tomorrow

@erwango erwango added the DNM This PR should not be merged (Do Not Merge) label May 7, 2020
@erwango erwango changed the title west.yml: hal_st: Make it a zephyr library. hal_st: Make it a zephyr library. May 8, 2020
erwango added 2 commits May 8, 2020 19:27
Both ST and STM32 modules where using same HAS_STLIB Kconfig
symbol.
Now that each module is createing is own lib, we need to be able
to distinguish libs.

Depends on zephyrproject-rtos/hal_stm32/pull/52

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Depends on zephyrproject-rtos/hal_st/pull/4

Fixes zephyrproject-rtos#19614

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
@erwango erwango removed the DNM This PR should not be merged (Do Not Merge) label May 9, 2020
@carlescufi carlescufi merged commit 9df7979 into zephyrproject-rtos:master May 9, 2020
@erwango erwango deleted the hal_st_lib branch January 27, 2022 13:40
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.

Make zephyr_library out of hal_stm32 and hal_st
6 participants