Skip to content

Conversation

@soburi
Copy link
Member

@soburi soburi commented Oct 18, 2021

GD32 and GD32V is different series, so SOC_FAMILY must be different.
(GD32V can't have CONFIG_SOC_FAMILY_GD32 by naming convention in soc/riscv/riscv-privilege, must be CONFIG_SOC_FAMILY_RISCV_PRIVILEGE.)

I think CONFIG_HAS_GDLIB is good to share define between GD32 and GD32V.
The define is respecting @feilongfl branch https://github.com/feilongfl/zephyr/tree/dev-GD32E103_EVAL.
(It is seem to be inherit from stm32. There may be a better name. )

related #34970.

SOC_SERIES variables are not the same between GD32 and GD32V.
Use sharable config value.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@gmarull
Copy link
Member

gmarull commented Oct 20, 2021

Please raise this issue as part of zephyrproject-rtos/zephyr#38658 where CMakeLists.txt is being developed now.

@gmarull gmarull closed this Oct 20, 2021
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.

2 participants