diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-09-04 20:33:11 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-09-04 20:33:11 +0300 |
commit | dba40afa706a1ac4b102dceba217844dc1540ce7 (patch) | |
tree | 5f423c2d7a4a1c3245a8d0654d26f61babd5238e /esp8266/esp8266.ld | |
parent | 7ddd1a58f6ec90a35e2ca815f62358acfb801c52 (diff) | |
download | micropython-dba40afa706a1ac4b102dceba217844dc1540ce7.tar.gz micropython-dba40afa706a1ac4b102dceba217844dc1540ce7.zip |
esp8266/modmachine: Simplify SPI class implementation multiplexing.
modpybhspi now does the needed multiplexing, calling out to modpybspi
(bitbanging SPI) for suitable peripheral ID's. modmachinespi (previous
multiplexer class) thus not needed and removed.
modpybhspi also updated to following standard SPI peripheral naming:
SPI0 is used for FlashROM and thus not supported so far. SPI1 is available
for users, and thus needs to be instantiated as:
spi = machine.SPI(1, ...)
Diffstat (limited to 'esp8266/esp8266.ld')
-rw-r--r-- | esp8266/esp8266.ld | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/esp8266/esp8266.ld b/esp8266/esp8266.ld index 853f8fb0f1..c726790d38 100644 --- a/esp8266/esp8266.ld +++ b/esp8266/esp8266.ld @@ -141,7 +141,6 @@ SECTIONS *modpybadc.o(.literal*, .text*) *modpybuart.o(.literal*, .text*) *modpybi2c.o(.literal*, .text*) - *modmachinespi.o(.literal*, .text*) *modmachinewdt.o(.literal*, .text*) *modpybspi.o(.literal*, .text*) *modpybhspi.o(.literal*, .text*) |