summaryrefslogtreecommitdiff
path: root/py/py.mk
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-09-01 15:07:20 +1000
committerDamien George <damien.p.george@gmail.com>2016-09-01 15:07:20 +1000
commit0823c1baf864f2e8fd60e49a5e42a958fd89ff43 (patch)
treec5b9792e978600f7ca5b603d82ee015b1047eca2 /py/py.mk
parent9c04ef2a6772cabbd92abe6c826b56cc04a1a7b8 (diff)
extmod: Add machine_spi with generic SPI C-protocol and helper methods.
The idea is that all ports can use these helper methods and only need to provide initialisation of the SPI bus, as well as a single transfer function. The coding pattern follows the stream protocol and helper methods.
Diffstat (limited to 'py/py.mk')
-rw-r--r--py/py.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/py.mk b/py/py.mk
index a110c9f60..abea7215b 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -208,6 +208,7 @@ PY_O_BASENAME = \
../extmod/machine_pinbase.o \
../extmod/machine_pulse.o \
../extmod/machine_i2c.o \
+ ../extmod/machine_spi.o \
../extmod/modussl_axtls.o \
../extmod/modurandom.o \
../extmod/modwebsocket.o \