rp-hal-boards/boards
Jan Niehusmann 44019781e2 Use wfi in otherwise empty infinite loops in examples
- Clippy warns about empty loops, https://github.com/rust-lang/rust-clippy/issues/6161
- wfi allows to CPU to save some power

WFI was avoided in examples for fear of ill interactions with debuggers.
However the rp2040 debug port does continue to work, as long as the
relevant clocks are not disabled in SLEEP_EN0/SLEEP_EN1. (By default,
all clocks stay enabled in sleep mode.)

This patch replaces several different workarounds with just calling wfi.
2022-08-01 14:54:03 +00:00
..
adafruit-feather-rp2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
adafruit-itsy-bitsy-rp2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
adafruit-kb2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
adafruit-macropad Fix incorrect pin for speaker 2022-07-10 14:29:10 +10:00
adafruit-qt-py-rp2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
adafruit-trinkey-qt2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
arduino_nano_connect BSP fixes (#362) 2022-06-21 16:36:02 +10:00
pimoroni-badger2040 Initial BSP for Pimoroni Badger2040 (#334) 2022-07-11 19:45:44 +10:00
pimoroni-pico-explorer Explorer base improvements (#363) 2022-06-23 19:19:32 +10:00
pimoroni-pico-lipo-16mb BSP fixes (#362) 2022-06-21 16:36:02 +10:00
pimoroni-plasma-2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
pimoroni-tiny2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
rp-pico Use wfi in otherwise empty infinite loops in examples 2022-08-01 14:54:03 +00:00
seeeduino-xiao-rp2040 Match Seeeduino XIAO pin name to function (#396) 2022-07-24 20:50:12 +10:00
solderparty-rp2040-stamp BSP fixes (#362) 2022-06-21 16:36:02 +10:00
sparkfun-pro-micro-rp2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
sparkfun-thing-plus-rp2040 BSP fixes (#362) 2022-06-21 16:36:02 +10:00
vcc-gnd-yd-rp2040 Add BSP for VCC-GND YD-RP2040 (#388) 2022-07-18 15:35:00 +10:00