circuitpython/ports
robert-hh 2b8de7436b rp2/machine_adc: Initialise ADC GPIO when a Pin is referenced by int.
The change closes the gap in the API when an integer is used as Pin
reference.  With the change, e.g. ADC(26), ADC(Pin(26)) and ADC("GP26")
behave identically and the GPIO is initialised in ACD/high-Z mode.

Only when using ADC channel numbers 0-3 are the corresponding GPIO left
uninitialised, and then the user is responsible for configuring the GPIO.

Signed-off-by: robert-hh <robert@hammelrath.com>
2024-07-04 11:50:28 +10:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 cc3200/mods: Implement network.ipconfig and network.WLAN.ipconfig. 2024-06-04 12:45:01 +10:00
embed all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 esp32: Rework board variant support to require mpconfigvariant file. 2024-06-28 11:23:55 +10:00
esp8266 esp8266: Rework board variant support to require mpconfigvariant file. 2024-06-28 11:24:08 +10:00
mimxrt shared/tinyusb: Buffer startup CDC data to send to host on connection. 2024-06-04 17:49:19 +10:00
minimal minimal: Use printf instead of echo -e. 2024-02-15 16:36:22 +11:00
nrf shared/tinyusb: Allow ports to use 1200bps-touch without other CDC code. 2024-06-02 23:27:33 +10:00
pic16bit all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
powerpc py/mpconfig: Disable qstr hashing at minimum feature level. 2024-01-25 16:38:17 +11:00
qemu-arm qemu-arm: Clean up header file includes. 2024-06-11 21:43:45 +10:00
qemu-riscv qemu-riscv: Enable native code generation by default. 2024-06-21 15:07:03 +10:00
renesas-ra renesas-ra/mphalport: Refactor to use shared TinyUSB CDC functions. 2024-05-31 19:47:37 +10:00
rp2 rp2/machine_adc: Initialise ADC GPIO when a Pin is referenced by int. 2024-07-04 11:50:28 +10:00
samd samd/mphalport: Refactor to use shared TinyUSB CDC functions. 2024-05-31 19:47:55 +10:00
stm32 stm32: Rework board variant support to require mpconfigvariant file. 2024-06-28 11:24:46 +10:00
unix py/objint: Try to convert big-int back to small-int after binary op. 2024-07-01 13:52:59 +10:00
webassembly webassembly/objjsproxy: Lookup attributes without testing they exist. 2024-06-28 11:40:24 +10:00
windows py/objdeque: Expand implementation to be doubly-ended and support iter. 2024-03-18 14:10:14 +11:00
zephyr zephyr: Link MicroPython with the Zephyr kernel library. 2024-06-18 16:19:07 +10:00