QUERY · ISSUE
SoftSPI: Implement 'bits' and 'firstbit' parameters
enhancement
SPI offers both this parameters to specify. SoftSPI rejects both of them, although they are really useful (and needed).
But first probably this issue should be fixed along with it.
#5225
CANDIDATE · PULL REQUEST
extmod/machine_spi.c: Support firstbit=machine.LSB for machine.SoftSPI.
extmod
Easy to add, sometimes needed and sought for.
For the change the definition of MICROPY_PY_MACHINE_SPI_MSB/ -LSB was moved to py/mpconfig.h, making them available to all ports. The identical defines in esp32/mpconfigport.h were deleted.
Tested with the RP2 and ESP32 port.