circuitpython/ports
Jonathan Hogg 7684c996bc esp32/machine_pin: Add new hold keyword argument and remove PULL_HOLD.
The current pull=Pin.PULL_HOLD argument doesn't make a lot of sense in the
context of what it actually does vs what the ESP32 quickref document says
it does.

This commit removes PULL_HOLD and adds a new hold=True|False keyword
argument to Pin()/Pin.init().  Setting this to True will cause the ESP32 to
lock the configuration of the pin – including direction, output value,
drive strength, pull-up/-down – such that it can't be accidentally changed
and will be retained through a watchdog or internal reset.

Fixes issue #8283, and see also #8284.
2022-03-21 23:55:02 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
esp32 esp32/machine_pin: Add new hold keyword argument and remove PULL_HOLD. 2022-03-21 23:55:02 +11:00
esp8266 esp8266/moduos: Convert module to use extmod version. 2022-03-09 10:03:23 +11:00
javascript py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
mimxrt mimxrt/mbedtls: Add NULL pointer check in m_free_mbedtls. 2022-03-17 13:11:39 +11:00
minimal ports: Recompile bytecode tests now that .mpy format changed. 2022-02-24 18:29:02 +11:00
nrf ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
pic16bit all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
powerpc ports: Recompile bytecode tests now that .mpy format changed. 2022-02-24 18:29:02 +11:00
qemu-arm qemu-arm/moduos: Convert module to use extmod version. 2022-03-09 10:03:23 +11:00
rp2 zephyr/moduos: Convert module to use extmod version. 2022-03-09 10:03:23 +11:00
samd samd/moduos: Convert module to use extmod version. 2022-03-09 10:03:23 +11:00
stm32 stm32/mbedtls: Add NULL pointer check in m_free_mbedtls. 2022-03-17 13:11:22 +11:00
teensy py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
unix unix/variants: Enable a few optimisations and features on dev, coverage. 2022-03-10 13:34:43 +11:00
windows windows: Switch to VFS subsystem and use VfsPosix. 2022-03-10 00:26:36 +11:00
zephyr zephyr/moduos: Convert module to use extmod version. 2022-03-09 10:03:23 +11:00