Page 1 of 1

ARM Cortex M0 doesn't work with Ethernet?

PostPosted: Sun Oct 04, 2020 4:25 am
by bjp
I'm trying to compile a sketch that uses the Ethernet.h Arduino library for my Cytron ARM Cortex M0 Arduino but I'm getting the following errors:

CODE: SELECT_ALL_CODE
Arduino: 1.8.13 (Windows 10), Board: "CT-ARM"

libraries\Ethernet\utility\w5100.cpp.o: In function `SPIClass::transfer(void*, unsigned int, SPITransferMode)':

C:\Users\bjpca\AppData\Local\Arduino15\packages\cytron\hardware\arm\1.1.0\libraries\SPI/SPI.h:76: undefined reference to `SPIClass::transfer(unsigned char, void*, unsigned int, SPITransferMode)'

C:\Users\bjpca\AppData\Local\Arduino15\packages\cytron\hardware\arm\1.1.0\libraries\SPI/SPI.h:76: undefined reference to `SPIClass::transfer(unsigned char, void*, unsigned int, SPITransferMode)'

C:\Users\bjpca\AppData\Local\Arduino15\packages\cytron\hardware\arm\1.1.0\libraries\SPI/SPI.h:76: undefined reference to `SPIClass::transfer(unsigned char, void*, unsigned int, SPITransferMode)'

C:\Users\bjpca\AppData\Local\Arduino15\packages\cytron\hardware\arm\1.1.0\libraries\SPI/SPI.h:76: undefined reference to `SPIClass::transfer(unsigned char, void*, unsigned int, SPITransferMode)'

C:\Users\bjpca\AppData\Local\Arduino15\packages\cytron\hardware\arm\1.1.0\libraries\SPI/SPI.h:76: undefined reference to `SPIClass::transfer(unsigned char, void*, unsigned int, SPITransferMode)'

collect2.exe: error: ld returned 1 exit status

exit status 1

Error compiling for board CT-ARM.


I can successfully build, upload, and run the Blink example, and this sketch works fine on a standard Uno. What should I do to get it to work on the Cytron?

Re: ARM Cortex M0 doesn't work with Ethernet?

PostPosted: Mon Oct 05, 2020 10:28 am
by Idris
Hi bjp,

It seems like the library is not compatible. If you wish to involve internet on your project using CT-ARM, I suggest to use with Cytron ESP8266 WiFi Shield.

Hope this helps.