ambiot / ambd_arduino

AmebaD Arduino third-party package SDK
MIT License
81 stars 51 forks source link

Create Udp.h to fix Ethernet Lib issue #230

Closed designer2k2 closed 1 month ago

designer2k2 commented 1 month ago

Description of Change

This brings the Udp.h from Arduino to ambd

Source: https://github.com/arduino/ArduinoCore-avr/blob/master/cores/arduino/Udp.h

(this exact file is also used on ESP32/Teensy and other cores: https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/Udp.h
https://github.com/PaulStoffregen/cores/blob/master/teensy4/Udp.h )

Tests and Environments

To be tested with Ethernet shield, for example: https://docs.arduino.cc/tutorials/ethernet-shield-rev2/web-server/

Remark related links

Fixes: https://github.com/ambiot/ambd_arduino/issues/229