micropython/drivers
robert-hh ee1036023e extmod/machine_spi: Support firstbit=LSB for machine.SoftSPI.
Being able to send data out in LSB format can be useful, and having support
in the low-level driver is much better than requiring Python code to
reorder the bits before sending them / after receiving them.  In particular
if the hardware does not support the LSB format (eg RP2040) then one needs
to use the SoftSPI in LSB mode.

For this change a default definition of `MICROPY_PY_MACHINE_SPI_MSB/_LSB`
was added to `py/mpconfig.h`, making them available to all ports.  The
identical defines in `esp32/mpconfigport.h` were deleted.

Resolves issues #5340, #11404.

Signed-off-by: robert-hh <robert@hammelrath.com>
2024-07-12 22:59:31 +10:00
..
bus extmod/machine_spi: Support firstbit=LSB for machine.SoftSPI. 2024-07-12 22:59:31 +10:00
cc3100 cc3200: Fix various array-based compiler warnings. 2022-07-21 16:26:04 +10:00
cyw43 all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
dht all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
esp-hosted all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
memory drivers/memory: Add IS25LPWP064D chip to list of external flash devices. 2024-03-28 15:52:40 +11:00
ninaw10 extmod/network_nina: Fix the AP security mode constants. 2024-07-12 01:03:46 +10:00
README.md drivers: Remove drivers that are now in micropython-lib. 2022-09-08 11:27:05 +10:00

README.md

This directory contains C drivers for specific hardware. The drivers are intended to work across multiple ports.