Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

modmachine.c

Blame
    • Paul Sokolovsky's avatar
      dba40afa
      esp8266/modmachine: Simplify SPI class implementation multiplexing. · dba40afa
      Paul Sokolovsky authored
      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, ...)
      dba40afa
      History
      esp8266/modmachine: Simplify SPI class implementation multiplexing.
      Paul Sokolovsky authored
      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, ...)