micropython/ports/nrf/modules
Damien George 03b4c60fc1 nrf/modules/machine/spi: Print SPI baudrate, polarity and phase.
On most ports, printing an instance of machine.SPI gives something like:

    >>> machine.SPI(1)
    SPI(1, baudrate=328125, polarity=0, phase=0, bits=8)

This commit makes the nrf port do the same.

The reason for this change is:
- make nrf consistent with other ports
- allow the `tests/extmod/machine_spi_rate.py` to run on the nrf port (this
  tests parses the output of str(spi) to get the actual baudrate)

Signed-off-by: Damien George <damien@micropython.org>
2025-09-26 13:44:43 +10:00
..
ble all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
board ports: Include py/mphal.h instead of mphalport.h. 2024-10-09 14:39:34 +11:00
machine nrf/modules/machine/spi: Print SPI baudrate, polarity and phase. 2025-09-26 13:44:43 +10:00
music all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
nrf nrf/modules: Fix access of read-only buffer in Flash.writeblocks. 2025-03-06 12:48:22 +11:00
os nrf: Only process interrupt chars on UARTs used for REPL. 2025-05-21 13:10:01 +10:00
scripts ports: Use vfs module instead of os. 2024-02-07 13:25:09 +11:00
ubluepy ports: Include py/mphal.h instead of mphalport.h. 2024-10-09 14:39:34 +11:00
manifest.py extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00