Closed fkromer closed 3 years ago
The library works with any client that is derived from the Arduino Stream or Client base classes. If you can give me a "hello world" sketch that serves a website without any external libraries I think I should be able to create a working example for the platform that uses this library.
Basically I used patched examples like shown here for trying out if they work with Portenta Machine Control Board.
I mean give me an example sketch that serves a simple one page website that works for you that does not use external libraries. Something like this: https://www.arduino.cc/en/Tutorial/LibraryExamples/WebServer. Once you have something like that running it should be easy for me to make an example with this library. Unless you get that working there is no point trying to make it work using this library.
@lasselukkari I've no interest in getting aWot running on Portenta Machine Control Board anymore.
The compatibility list does not include the Portenta H7. In the source code I could find some conditional logic dependent on the microcontroller. The logic distinguishes between low (
LOW_MEMORY_MCU
) and high memory MCUs. The Portenta H7 is a high memory MCU means this should not be a problem. The Ethernet part of the Portenta H7 should be handled by the arduino/mbed-os (corresponding PR) and arduino/ArduinoCore-mbed and the Machine Control Board part arduino-libraries/Arduino_MachineControl. Means adding#include <PortentaEthernet.h>
to the example sketch should be enough to make the example work.Nevertheless I was not able to successfully run the patched example sketch with the Portenta Machine Control Board so far. Can you think of something which needs to be patched to get the example working?