回复: [Zephyr-devel] How to add support for Silabs EFM32JG12B?
I had added boards stk-3700 of EFM32GG for zephyr .I take the efm32hg as reference. the address is https://github.com/niexuzhong/STK3700-for-zephyr you have to add boards and socs file.
发件人: devel@... <devel@...> 代表 Christian Taedcke <hacking@...>
发送时间: 2019年11月19日 20:02
收件人: devel@... <devel@...>
主题: [Zephyr-devel] How to add support for Silabs EFM32JG12B?
i want to add support for the Silabs EFM32JG12B soc. It is nearly the same as the already supported EFM32PG12B. It has the exact same peripherals, memory etc, only a different core. The EFM32JG12B has a Cortex-M3, the EFM32PG12B a Cortex-M4.
Because of this Silabs does not provide an extra development board, since binaries built for the EFM32JG12B can run on the EFM32PG12B. So the recommended development board for the EFM32JG12B is efm32pg_stk3402a
1. How to deal with a soc that only differs in the core? I would like to reuse (without copying) a lot of stuff from the efm32pg12b (i.e. the folder soc/arm/silabs_exx32/efm32pg12b and the device tree stuff). Any hints on how to do that?
2. Since there is no development board for the EFM32JG12B soc, i would like to add the possibility to the board efm32pg_stk3402a to compile for the EFM32JG12B instead of the EFM32PG12B. Is that possible or are there other recommendations?