drivers/usbdev_synopsys_dwc2: add EFM32 support#18756
drivers/usbdev_synopsys_dwc2: add EFM32 support#18756bors[bot] merged 10 commits intoRIOT-OS:masterfrom
Conversation
339f4a1 to
00c9a44
Compare
00c9a44 to
34a0082
Compare
|
Not much time for reviewing, but testing I can fit in, on stk3700 and a custom board.
|
|
I still have some work to do. I had to realize that the EFM32GG family does not have the USHFRCO clock that is used as USB_CLK on EFM32GG12B. That means we have to use different clock sources for different families 😟 |
|
Please squash this one |
`cpu/cortexm_common/include/cpu.h` has to be included in `cpu/efm32/periph_cpu.h` so that `PROVIDES_PM_SET_LOWEST` is defined if only `periph_cpu.h` is included. Otherwise `pm_set_lowest` is defined multiple times if the `pm_layered` module is not used. `PROVIDES_PM_OFF` has to be defined in case `pm_layered` is not used, e.g. in riotboot.
540e6a9 to
c6bae0b
Compare
|
Squashed and compiled successfully. |
@chrysn Is there a chance you could test it on your |
|
Tested with stk3700: Confirming that this works on stk3700. Thanks a lot! |
@chrysn Many thanks for testing. |
|
What's missing to get all lights green? "bors merge" or "bors try" or anything else? |
|
bors merge |
|
Ah, and @jue89 has not cleared his review position. (Weird, I'd like to click "re-request review" but don't find the button). Juergen, are you happy with the responses to your earlier review? Please update it. |
jue89
left a comment
There was a problem hiding this comment.
ACK from my side. Everything has been addressed.
|
bors merge |
|
Already running a review |
|
Build succeeded: |
|
Thanks for reviewing and testing. |
Contribution description
This PR provides the changes for the Synopsys USB OTG IP core DWC2 driver for EFM32 MCUs. It also provides the changes of the board definition for
stk3600andstk3700for testing.Testing procedure
tests/usbus_hidshould work on the EFM32 boardsstk3600(EFM32LG family) andstk3700(EFM32GG family).It is already tested for a
sltb009aboard (EFM32GG12 family).Issues/PRs references