Compiling for normal Arduino ( Samd21 Ard Zero )fails
Xtreemtec opened this issue · comments
Trying to adapt and run your FTP server on a Arduino Zero with W5500 and SD card.
But it's a bit unclear how to setup the FtpServerKey.h / NoConf.h files. Opening up the default Arduino Ethernet examples do not do any Config towards what to use.
The library kept complaining about WiFiNINA.h Which i guess came from the fact that it see's the board as a SAMD and directly configs it for Wifi as the MKR Wifi and Vidor4000 have Wifi. But the Zero and M0 ( and respective clones do not )
So i changed it that it would config >>FTP_SERVER_NETWORK_TYPE == NETWORK_W5100
But now at compiling i keep getting
#error "network type ESP8266 ASYNC only possible on the ESP mcu!"
But this is strange as it should not even Pass line 87 in FTPServerNoConf.h
So did i do something wrong in the config or setup that it does not enter the correct setup? Or did i completely overlooked something in instructions?
Fixed it. What was not clear was that you have to de-activate all other configs. Better have all configs but 1 de-activated as that would be much more clear in instructions.