add wfi to idle thread

WIth this change power is reduced by 3mA

Signed-off-by: Kieran Levin <ktl@frame.work>
This commit is contained in:
Kieran Levin 2023-05-26 14:34:22 -07:00 committed by Daniel Schaefer
parent 0c1db9e3cb
commit e42ca81a49

View File

@ -19,3 +19,5 @@ SRC += matrix.c analog.c
SRC += dyn_serial.c factory.c
DEFAULT_FOLDER = framework/ansi
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE