Open chrysn opened 5 years ago
libopencm3 has been somewhat battle tested here and has a bunch of efm support https://github.com/libopencm3/libopencm3/tree/master/include/libopencm3/efm32
They appear to have the: ezr32wg g gg hg lg tg wg
the ezr32wg and efm32hg use different usb implementations
they rename a few registers on ezr32wg
hg has its own cmu implementation from the others
Otherwise theyre using a common implementation for those peripherals they support with no ifdefs or anything in them
how about we dont get too ahead of ourselves here with your hal anyway, you're trying to use gg, im trying to use hg, lets just make something that supports both of them, or just series 0 until someone else comes along who wants to help make more forward progress
Some of this is already in efr32xg1-pac, some encoded in the features of efm32gg-hal.
OpenOCD has some knowledge of this, as illustrated in https://github.com/ntfreak/openocd/commit/6d390e1b2a393505b38e1d0fcd741cd0b1cf92aa.
We should become able to tell