earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 and RP2350 boards
GNU Lesser General Public License v2.1
2.06k stars 431 forks source link

Problem using the Ethernet libraries #687

Closed sstaub closed 2 years ago

sstaub commented 2 years ago

If I include the Ethernet or Ethernet3 library I get a buch of compiler errors. I tried with the Arduino IDE 2 and PlatformIO using following code:

#include "Ethernet.h"

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly
}

Here the compiler errors from Arduino IDE 2

Using board 'rpipico' from platform in folder: /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2
Using core 'rp2040' from platform in folder: /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2
Verwendete Bibliotheken erkennen...
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/sketch/sketch_jul16a.ino.cpp -o /dev/null
Alternativen für Ethernet.h: [Ethernet@2.0.1]
ResolveLibrary(Ethernet.h)
  -> candidates: [Ethernet@2.0.1]
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/sketch/sketch_jul16a.ino.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Dhcp.cpp -o /dev/null
Alternativen für SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Dhcp.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Dns.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/EthernetClient.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/EthernetUdp.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/socket.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/utility/w5100.cpp -o /dev/null
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src/SPI.cpp -o /dev/null
Generating function prototypes...
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Werror=return-type -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -w -x c++ -E -CC -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/sketch/sketch_jul16a.ino.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/preproc/ctags_target_for_gcc_minus_e.cpp
/Users/sstaub/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/preproc/ctags_target_for_gcc_minus_e.cpp
Sketch wird kompiliert...
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/sketch/sketch_jul16a.ino.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/sketch/sketch_jul16a.ino.cpp.o
Bibliotheken werden kompiliert...
Compiling library "Ethernet"
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/libraries/Ethernet/Ethernet.cpp.o
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Dhcp.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/libraries/Ethernet/Dhcp.cpp.o
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/socket.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/libraries/Ethernet/socket.cpp.o
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Dns.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/libraries/Ethernet/Dns.cpp.o
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/utility/w5100.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/libraries/Ethernet/utility/w5100.cpp.o
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/EthernetUdp.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/libraries/Ethernet/EthernetUdp.cpp.o
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/libraries/Ethernet/EthernetServer.cpp.o
/Users/sstaub/Library/Arduino15/packages/rp2040/tools/pqt-gcc/1.4.0-c-0196c06/bin/arm-none-eabi-g++ -c -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSB_VID=0x2e8a -DUSB_PID=0x000a "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=0 -DLWIP_IPV6=1 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/ @/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/lib/platform_inc.txt -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/include -fno-rtti -std=gnu++17 -g -DSERIALUSB_PID=0x000a -DUSBD_MAX_POWER_MA=250 -DF_CPU=133000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME=\"RASPBERRY_PI_PICO\"" -DARDUINO_ARCH_RP2040 -Os -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040 -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/variants/rpipico -I/Users/sstaub/Documents/Arduino/libraries/Ethernet/src -I/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI/src /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/EthernetClient.cpp -o /private/var/folders/vd/yv1mb7lx6gn7ymffgtjk6hx80000gn/T/arduino-sketch-459C1AE824CA2E8C944D22DD3E7A5FE8/libraries/Ethernet/EthernetClient.cpp.o
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In static member function 'static int EthernetClass::begin(uint8_t*, long unsigned int, long unsigned int)':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:38:52: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
   38 |  W5100.setIPAddress(IPAddress(0,0,0,0).raw_address());
      |                                                    ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:47:54: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
   47 |   W5100.setIPAddress(_dhcp->getLocalIp().raw_address());
      |                                                      ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:48:56: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
   48 |   W5100.setGatewayIp(_dhcp->getGatewayIp().raw_address());
      |                                                        ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:49:58: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
   49 |   W5100.setSubnetMask(_dhcp->getSubnetMask().raw_address());
      |                                                          ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In static member function 'static void EthernetClass::begin(uint8_t*, arduino::IPAddress, arduino::IPAddress, arduino::IPAddress, arduino::IPAddress)':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:91:24: error: 'class arduino::IPAddress' has no member named '_address'; did you mean 'raw_address'?
   91 |  W5100.setIPAddress(ip._address.bytes);
      |                        ^~~~~~~~
      |                        raw_address
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:92:29: error: 'class arduino::IPAddress' has no member named '_address'; did you mean 'raw_address'?
   92 |  W5100.setGatewayIp(gateway._address.bytes);
      |                             ^~~~~~~~
      |                             raw_address
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:93:29: error: 'class arduino::IPAddress' has no member named '_address'; did you mean 'raw_address'?
   93 |  W5100.setSubnetMask(subnet._address.bytes);
      |                             ^~~~~~~~
      |                             raw_address
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In static member function 'static int EthernetClass::maintain()':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:142:55: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  142 |    W5100.setIPAddress(_dhcp->getLocalIp().raw_address());
      |                                                       ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:143:57: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  143 |    W5100.setGatewayIp(_dhcp->getGatewayIp().raw_address());
      |                                                         ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:144:59: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  144 |    W5100.setSubnetMask(_dhcp->getSubnetMask().raw_address());
      |                                                           ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In static member function 'static arduino::IPAddress EthernetClass::localIP()':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:168:37: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  168 |  W5100.getIPAddress(ret.raw_address());
      |                                     ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In static member function 'static arduino::IPAddress EthernetClass::subnetMask()':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:177:38: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  177 |  W5100.getSubnetMask(ret.raw_address());
      |                                      ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In static member function 'static arduino::IPAddress EthernetClass::gatewayIP()':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:186:37: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  186 |  W5100.getGatewayIp(ret.raw_address());
      |                                     ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In member function 'void EthernetClass::setLocalIP(arduino::IPAddress)':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:202:36: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  202 |  W5100.setIPAddress(ip.raw_address());
      |                                    ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In member function 'void EthernetClass::setSubnetMask(arduino::IPAddress)':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:210:37: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  210 |  W5100.setSubnetMask(ip.raw_address());
      |                                     ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp: In member function 'void EthernetClass::setGatewayIP(arduino::IPAddress)':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:218:36: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  218 |  W5100.setGatewayIp(ip.raw_address());
      |                                    ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/socket.cpp: In static member function 'static uint8_t EthernetClass::socketBeginMulticast(uint8_t, arduino::IPAddress, uint16_t)':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/socket.cpp:185:42: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  185 |      W5100.writeSnDIPR(s, ip.raw_address());   //239.255.0.1
      |                                          ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/socket.cpp:21:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Dns.cpp: In member function 'uint16_t DNSClient::ProcessResponse(uint16_t, arduino::IPAddress&)':
/Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Dns.cpp:340:35: error: 'uint8_t* arduino::IPAddress::raw_address()' is private within this context
  340 |    iUdp.read(aAddress.raw_address(), 4);
      |                                   ^
In file included from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/ArduinoAPI.h:30,
                 from /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/Arduino.h:28,
                 from /Users/sstaub/Documents/Arduino/libraries/Ethernet/src/Dns.cpp:5:
/Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/cores/rp2040/api/IPAddress.h:58:18: note: declared private here
   58 |         uint8_t* raw_address() {
      |                  ^~~~~~~~~~~

Bibliothek Ethernet in Version 2.0.1 im Ordner: /Users/sstaub/Documents/Arduino/libraries/Ethernet  wird verwendet
Bibliothek SPI in Version 1.0 im Ordner: /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.2/libraries/SPI  wird verwendet
exit status 1

Compilation error: exit status 1
earlephilhower commented 2 years ago

For the Pico W LWIP port, I included the ESP8266 changes to make IPAddress IPv6 compatible. For right now you should be able to edit cores/rp2040/api/IPAddress.h to make that raw_address() function public:. You can also send in a PR, or I'll get one later tonight.

earlephilhower commented 2 years ago

So there are two problems here:

  1. IPAddress lost the friend ::DNSServer which #690 reintroduces
  2. The Arduino Ethernet library is accessing private IP address fields, which do not exist when LWIP 2.x is running in the mode it's configured now (IPv4/IPv6 dual stack).

For #2, the only fix is to either fix the Ethernet library not to twiddle private fields, or provide a way of downgrading to IPv4 only (I think this will fix, but did not dig much). So I need to think about this. Probably another menu item and 2 libpico.a versions to keep up to date. Will make the lwipopts.h header a lot more involved, too...

sstaub commented 2 years ago

I think you should make dedicated IPAddress files for IP6. For an example see https://github.com/Wiznet/Ethernet/tree/DUAL/src they use IP6Address.h and IP6Address.cpp for extensions of the Wiznet W6100 chip.

earlephilhower commented 2 years ago

@sstaub can you give #695 a try and report back? It built the Ethernet class ChatServer example. Make sure you're IPv4 only,of course.

sstaub commented 2 years ago

I can test but how to change this line in the platform.ini ?

platform_packages =
   framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#2.2.2
earlephilhower commented 2 years ago

I think you could try replacing #2.2.2 with #ipv4ipv6, I think, but I'm not a P.IO user so take it with a grain of salt...

sstaub commented 2 years ago

Ok, I can compile and upload to a WizNet W500 EVB Pico via PIO.