micropython/ports
Damien Tournoud fd1e66edb3 esp32/usb: Cleanup connection detection.
This was introduced by 35fb90bd57, but
it is much simpler and essentially the same to just use
`tud_cdc_n_connected()`.

The only difference is that tud_cdc_n_connected() only checks for DTR,
but this is correct anyway: DTR indicates device presence, RTS indicates
that the host wants to receive data.

Signed-off-by: Damien Tournoud <damien@platform.sh>
2022-12-13 20:46:32 -08: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 esp32/usb: Cleanup connection detection. 2022-12-13 20:46:32 -08:00
esp8266 esp8266/machine_pin: Disable open drain when pin becomes input/output. 2022-11-15 12:51:39 +11:00
mimxrt mimxrt/sdcard: Remove obsolete code already excluded by preprocessor. 2022-12-14 13:05:27 +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: Support entering bootloader via USB CDC 1200bps touch. 2022-12-14 12:50:04 +11:00
stm32 stm32/boards/NUCLEO_F429ZI: Enable I2C1 and I2C2 with default pins. 2022-12-13 17:35:55 +11:00
teensy extmod: Make extmod.mk self-contained. 2022-10-11 23:31:49 +11:00
unix unix/moduos: Implement 2-arg version of os.getenv(). 2022-12-14 13:38:39 +11:00
webassembly webassembly/library: Extract and send data to print as UInt8Array. 2022-12-13 17:16:37 +11:00
windows windows/.gitignore: Simplify by removing build artefacts. 2022-12-13 17:22:11 +11:00
zephyr zephyr: Rename machine I2C and SPI types consistently across ports. 2022-10-22 12:58:21 +11:00