-
Notifications
You must be signed in to change notification settings - Fork 2.1k
cpu/efm32: preparing introduction of Gecko Series 2 #18764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cpu/efm32: preparing introduction of Gecko Series 2 #18764
Conversation
Gecko Series 2 is shipped with a new IADC peripheral which is backed by its own emlib driver.
Murdock results✔️ PASSED dc8fe69 cpu/efm32: satisfy vera++
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
d68e51b
to
eadd704
Compare
eadd704
to
ed5f7da
Compare
Finally static tests are fine. I'd say this is ready to be reviewed. @gschorcht I renamed the power modes and prefixed |
I will test it later today with my EFM32GG12B board (sltb009a). I have have it not at hand. |
I'll test with my board, as well ;-) But Murdock will take until tomorrow, anyways ... |
I had include diff --git a/cpu/efm32/periph/gpio.c b/cpu/efm32/periph/gpio.c
index bc74bf6fa0..f7c285ee43 100644
--- a/cpu/efm32/periph/gpio.c
+++ b/cpu/efm32/periph/gpio.c
@@ -24,6 +24,7 @@
#include "cpu.h"
#include "periph/gpio.h"
+#include "periph/pm.h"
#include "em_gpio.h" With this change I could compile it. |
73031de
to
dc8fe69
Compare
I inlcuded |
I had success, as well: The (not upstream, yet) board
|
Murdock is also happy :) Thank you for reviewing! |
Contribution description
This is split-off #18760 and provides commits that are useful for #18756.
Testing procedure
tests/periph_gpio
should be able to raise IRQs even withPM_BLOCKER_INITIAL
set to{ 0, 0, 0 }
. Make sure to configureGPIO_INT_PM_BLOCKER
to the lowest power mode that is able to register IRQs.Issues/PRs references
#18760
#18756