-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
stm32: eth: build issue after PHY address resolution fix (84889d4) #77705
Comments
Hi @scaprile! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
@AlexFabre Can you have a look ? |
Only the STM32 |
@scaprile are you building a sample or a custom project ? I didn't mange to reproduce your problem yet. |
Same here. zephyr/drivers/ethernet/Kconfig.stm32_hal Lines 61 to 65 in 25e90e7
|
@AlexFabre : custom project, I posted my prj.conf at the discussion. I can see
Adding it to my prj.conf makes no difference. Here is my prj.conf:
and I build with |
All right, it looks like GCC complaint about token pasting comes from a wrong macro call. Instead of "__CONCAT" it should be "_CONCAT" (only one leading underscore). |
I changed that locally, and I can confirm that all the boards now build OK. |
@AlexFabre Setting
Please note that not adding that line, or even setting |
That is the point we highlighted in #76978 that still needs to be addressed. The PHY address has yet to be the same for both the DTS label and the A possible simplification would be to restrict the PHY address resolution to the DTS label only, and delete Regarding the stm32h745i_disco
As @erwango said, by default, when not set, That's why the code will build. However, to fulfill the hardware schematic, |
Oh, thanks, now I understand. I didn't get that, I'm not familiar with your internals and I bypass ST's HAL as much as possible. |
Discussed in #77662
Originally posted by scaprile August 27, 2024
The following boards stopped building after 84889d4:
nucleo_h563zi
stm32h573i_dk
nucleo_h743zi
stm32h735g_disco
stm32h745i_disco/stm32h745xx/m7
stm32h747i_disco/stm32h747xx/m7
nucleo_h753zi
nucleo_h755zi_q/stm32h755xx/m7
The error is this one:
looks like
CONFIG_ETH_STM32_HAL_PHY_ADDRESS
does not get a value (hence alsoPHY_ADDR
)nucleo_h563zi
, for example, builds again when rolling back that commit.My prj.conf is bare minimum
Is this an error on my side ? Something essential is missing that breaks Kconfig reading ?
These boards, nevertheless, build OK with that very same prj.conf:
nucleo_f207zg
nucleo_f429zi
nucleo_f746zg
nucleo_f767zi
The text was updated successfully, but these errors were encountered: