Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: utility/Enc28J60Network.cpp
- Revision:
- 36:689bcc358067
- Parent:
- 33:7ba5d53df0f2
- Child:
- 39:deeb00b81cc9
--- a/utility/Enc28J60Network.cpp Mon Feb 20 11:34:22 2017 +0100 +++ b/utility/Enc28J60Network.cpp Wed Feb 22 14:35:30 2017 +0100 @@ -38,6 +38,9 @@ #if !defined(STM32F3) && !defined(__STM32F4__) #include <SPI.h> extern SPIClass SPI; + //#elif defined(ARDUINO_ARCH_AMEBA) + //SPIClass SPI((void *)(&spi_obj), 11, 12, 13, 10); + //SPI _spi(SPI_MOSI,SPI_MISO,SPI_SCK,ENC28J60_CONTROL_CS); #else #include "HardwareSPI.h" extern HardwareSPI SPI(1);