Skip to content

Commit b67b57b

Browse files
committed
tests/extmod: Add alif port to machine_spi_rate test.
Signed-off-by: Damien George <damien@micropython.org>
1 parent 03274d4 commit b67b57b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/extmod/machine_spi_rate.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313

1414
# Configure pins based on the port/board details.
1515
# Values are tuples of (spi_id, sck, mosi, miso)
16-
if "pyboard" in sys.platform:
16+
if "alif" in sys.platform:
17+
MAX_DELTA_MS = 20
18+
spi_instances = ((0, None, None, None),)
19+
elif "pyboard" in sys.platform:
1720
spi_instances = (
1821
(1, None, None, None), # "explicit choice of sck/mosi/miso is not implemented"
1922
(2, None, None, None),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy