circuitpython/ports
yn386 2154ee2163 stm32/adc: Fix reading internal ADC channels on L4 MCUs.
For STM32L4 series, the internal sensors are connected to:
- ADC1_IN0: Internal voltage reference
- ADC1_IN17: Temperature sensor
- ADC1_IN18: VBAT battery voltage monitoring
but ADC_CHANNEL_VREFINT, ADC_CHANNEL_VBAT, ADC_CHANNEL_TEMPSENSOR are not
defined as 0, 17, 18.

This commit converts channel 0, 17, 18 to ADC_CHANNEL_x in
adc_get_internal_channel().
2022-11-18 14:38:58 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 extmod: Make extmod.mk self-contained. 2022-10-11 23:31:49 +11:00
esp32 extmod/extmod.cmake: Add MICROPY_PY_BTREE compiler definition. 2022-11-17 23:20:58 +11:00
esp8266 esp8266/machine_pin: Disable open drain when pin becomes input/output. 2022-11-15 12:51:39 +11:00
mimxrt mimxrt/Makefile: Set MPY_CROSS_FLAGS. 2022-11-17 22:10:40 +11:00
minimal minimal/Makefile: Set linker to $(CC). 2022-11-15 17:09:37 +11:00
nrf shared/tinyusb: Further refactor static USB device implementation. 2022-11-11 16:47:36 +11:00
pic16bit all: Use += rather than = everywhere for CFLAGS/LDFLAGS/LIBS. 2022-10-11 23:17:41 +11:00
powerpc all: Use += rather than = everywhere for CFLAGS/LDFLAGS/LIBS. 2022-10-11 23:17:41 +11:00
qemu-arm py/objstr: Add hex/fromhex to bytes/memoryview/bytearray. 2022-08-12 12:44:30 +10:00
renesas-ra renesas-ra: Change file system size to 64KB for RA6M1. 2022-11-15 10:01:36 +11:00
rp2 rp2/boards/ARDUINO_NANO_RP2040: Add more modules and enable MD5 hash. 2022-11-14 19:06:51 +11:00
samd samd/Makefile: Set MPY_CROSS_FLAGS. 2022-11-17 22:10:41 +11:00
stm32 stm32/adc: Fix reading internal ADC channels on L4 MCUs. 2022-11-18 14:38:58 +11:00
teensy extmod: Make extmod.mk self-contained. 2022-10-11 23:31:49 +11:00
unix extmod/extmod.mk: Set default mbedtls config file in extmod Makefile. 2022-11-09 18:43:13 +01:00
webassembly webassembly/library: Make use of CustomEvent detail property. 2022-11-11 13:21:28 +11:00
windows windows: Make project file read-only for IDE. 2022-11-15 16:37:31 +11:00
zephyr zephyr: Rename machine I2C and SPI types consistently across ports. 2022-10-22 12:58:21 +11:00