efm32-base icon indicating copy to clipboard operation
efm32-base copied to clipboard

EFM32GG11B/EFM32GG12B wrong architecture detected

Open quirxmode opened this issue 5 years ago • 4 comments

The architecture of the new GG11/GG12 is Cortex M4 but falls through to M3 in toolchain/efm32-base.cmake.

quirxmode avatar Aug 18 '19 19:08 quirxmode

hey thanks for the issue! looks like we're missing the GG families here.

if you'd like to add them, a PR would be great, otherwise i'll add it to the list ^_^

ryankurte avatar Aug 19 '19 01:08 ryankurte

Np you can add them if it's fine with you. :)

quirxmode avatar Aug 19 '19 17:08 quirxmode

I realize this is a really old ticket, but since it is still open, I'll jump in. the BGM113A256V2 is a cortex-m4 but falls under BGM1 which has some cortex-m3's in it. What would be the best way of handling something like this?

linted avatar May 08 '20 03:05 linted

ahh what an exercise in edge case discovery ^_^ i think probably another if statement here matching the family with a nested if to override weird devices / fall through to whatever is most common?

ryankurte avatar May 08 '20 03:05 ryankurte