(“No DEFAULT_ETH_INT_Pin defined, please set in being function”)
Looking through the library file (boardsupport.h) I see that Teensy isn’t in there. I have tried adding a block of code setting the default pins for (ARDUINO_TEENSY_MICROMOD) in this file, but I am having trouble determining what I should put. For reference, the ESP32 is
#if defined(ARDUINO_ESP32_MICROMOD)
#define DEFAULT_ETH_INT_Pin D0
#define DEFAULT_ETH_RESET_Pin G2
#define DEFAULT_ETH_SPI_CS_Pin SS
#endif
How do I determine which pins these would be for the Teensy (or any other processor for that matter)? Also my single pair ethernet function card is on slot 0. Any help would be appreciated. Thanks.
I found the schematics for the processer, carrier board, and function board and added this to the boardsupport.h file in the ADIN1110 library:
#if defined(ARDUINO_TEENSY_MICROMOD)
#define DEFAULT_ETH_INT_Pin 10
#define DEFAULT_ETH_RESET_Pin 44
#define DEFAULT_ETH_SPI_CS_Pin 55
#endif
However, when I run any of the examples (1a BasicSendRecieve, or 1b BasicEcho, for example), the program hangs on the adin1110.begin(deviceMAC) command. I am no longer getting the compile error I was getting earlier, but the processor is still failing to connect to the ethernet function board (if I am understanding this correctly).
I ran into the same problem. Thank you for the pinouts. Also did not work with the pinout. I put the processors that came with the Kit-19628 (ESP32 and Apollo3) into the boards and this worked fine once all the board definition files were installed. Not sure why they ship two different processors, but it is cool to see the same code compile for different boards. Lastly, if using the same computer for both boards, make sure you start the IDE twice so that you can upload to each board separately. (don’t just open the other file from the first IDE instance).
Hopefully they will post an update for the pinouts or code that will allow two of the Teensy boards to work. I would like to standardize on that processor on micromod.