circuitpython/ports
Simon Baatz 79ae7098ca esp32/machine_bitstream: Fix signal duplication on output pins.
After changing the bitstream implementation to use the RMT driver in
commit 72d86158121e32bbabaeade08f449d507bf40f9a
("esp32/machine_bitstream.c: Replace with RMT-based driver."), using
multiple `Neopixel` instances shows signal duplication between the
instances (i.e. a `write()` on one instance is written to all instances).

On invocation, the rmt driver configures the GPIO matrix to route the
output signal to the respective GPIO pin.  When called for a different
`NeoPixel` instance using a different pin, the new route is established,
but the old route still exists.  Now, the RMT output signal is sent to both
pins.

Fix this by setting the standard GPIO output function for the current pin
after uninstalling the RMT driver.

Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
2022-01-06 13:21:37 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
esp32 esp32/machine_bitstream: Fix signal duplication on output pins. 2022-01-06 13:21:37 +11:00
esp8266 esp8266: Allow building a board to any dest directory. 2021-12-30 15:47:49 +11:00
javascript py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
mimxrt mimxrt/hal: Allow readSampleClkSrc to be configured by a board. 2022-01-04 15:42:12 +11:00
minimal minimal/mpconfigport.h: Disable features that are not needed. 2021-11-05 13:12:18 +11:00
nrf py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
pic16bit all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
powerpc all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
qemu-arm all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
rp2 py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
samd py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
stm32 stm32/network_wiznet5k: Fix build error with wiznet5k and lwip enabled. 2021-12-30 11:54:19 +11:00
teensy py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
unix ports: Move '.frozen' to second entry in sys.path. 2021-12-29 23:55:36 +11:00
windows windows/appveyor: Build both standard and dev variants. 2022-01-04 15:07:45 +11:00
zephyr py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00