circuitpython/ports
Jeff Epler 09f6919c93
Add ability to read VOLTAGE_MONITOR on Pico W
Because this must be treated like an in-use pin for all other purposes,
unfortunately a special case must be added in shared-bindings.

Multiple AnalogIn objects for VOLTAGE_MONITOR can be created (because
in use tracking isn't working) but this causes no harm.

Testing performed: Read the monitor, then imported wifi. When the
pin state was insufficiently restored, the second step would fail
with debug messages about do_ioctl timeout.

```
import analogio, board
a = analogio.AnalogIn(board.VOLTAGE_MONITOR)
print(a.value)
import wifi
```

Closes: #7020
2022-11-08 09:37:15 -06:00
..
atmel-samd Merge pull request #7154 from dhalbert/alarm-lifetime 2022-10-30 12:28:50 -04:00
broadcom Tweak black_bindings 2022-09-30 11:18:13 -05:00
cxd56 remove redundant port/*/.gitignore; cleanup others 2022-10-01 11:52:36 -04:00
espressif socketpool: make socket objects selectable 2022-11-05 12:05:19 -05:00
litex remove redundant port/*/.gitignore; cleanup others 2022-10-01 11:52:36 -04:00
mimxrt10xx remove redundant port/*/.gitignore; cleanup others 2022-10-01 11:52:36 -04:00
nrf Merge pull request #7154 from dhalbert/alarm-lifetime 2022-10-30 12:28:50 -04:00
raspberrypi Add ability to read VOLTAGE_MONITOR on Pico W 2022-11-08 09:37:15 -06:00
stm store wake_alarm in a static object 2022-10-29 16:26:36 -04:00
unix Make it easy to test just a subset of tests 2022-10-14 17:07:27 -05:00