---
title: "Ethernet_RP2040"
url: "https://maker.wiznet.io/WIZnet/projects/ethernet-rp2040/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/ethernet-rp2040/md"
type: "UCC: User Created Content"
author: "khoih-prog"
author_url: "https://github.com/khoih-prog/Ethernet_Manager/tree/main/examples/Ethernet_RP2040"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "khoih-prog"
original_url: "https://github.com/khoih-prog/Ethernet_Manager/tree/main/examples/Ethernet_RP2040"
published: "2023-02-12"
language: "en"
likes: 6
views: 317
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Ethernet_RP2040

> Ethernet_RP2040

Original author: khoih-prog (source: https://github.com/khoih-prog/Ethernet_Manager/tree/main/examples/Ethernet_RP2040)

## Article

### **Important Notes about Nano_RP2040_Connect**

The LittleFS of the new **Nano_RP2040_Connect** board ( see [New board](https://github.com/khoih-prog/Ethernet_Manager/blob/main/pics/New_Board.png) ), using ISSI Flash chip, is currently not working with [`Arduino mbed_rp2040 core 2.4.1`](https://github.com/arduino/ArduinoCore-mbed/releases/tag/2.4.1). Please downgrade to [`Arduino mbed_rp2040 core 2.3.1`](https://github.com/arduino/ArduinoCore-mbed/releases/tag/2.3.1)

#### **8. For RP2040-based boards using **[**Earle Philhower arduino-pico core**](https://github.com/earlephilhower/arduino-pico)

#### **8.1 To use BOARD_NAMETo be able to automatically detect and display BOARD_NAME on RP2040-based boards (RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040, GENERIC_RP2040, etc) boards**, you have to copy the file [RP2040 platform.txt](https://github.com/khoih-prog/Ethernet_Manager/blob/main/Packages_Patches/rp2040/hardware/rp2040/1.4.0) into rp2040 directory (~/.arduino15/packages/rp2040/hardware/rp2040/1.4.0).

Supposing the rp2040 core version is 1.4.0. This file must be copied into the directory:

- `~/.arduino15/packages/rp2040/hardware/rp2040/1.4.0/platform.txt`

Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz This file must be copied into the directory:

- `~/.arduino15/packages/rp2040/hardware/rp2040/x.yy.zz/platform.txt`

With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add -DBOARD_NAME=”{build.board}” #136](https://github.com/earlephilhower/arduino-pico/pull/136).

#### **8.2 To avoid compile error relating to microsecondsToClockCycles**

Some libraries, such as [Adafruit DHT-sensor-library](https://github.com/adafruit/DHT-sensor-library), require the definition of microsecondsToClockCycles(). **To be able to compile and run on RP2040-based boards**, you have to copy the files in [**RP2040 Arduino.h**](https://github.com/khoih-prog/Ethernet_Manager/blob/main/Packages_Patches/rp2040/hardware/rp2040/1.4.0/cores/rp2040/Arduino.h) into rp2040 directory (~/.arduino15/packages/rp2040/hardware/rp2040/1.4.0).

Supposing the rp2040 core version is 1.4.0. This file must be copied to replace:

- `~/.arduino15/packages/rp2040/hardware/rp2040/1.4.0/cores/rp2040/Arduino.h`

Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz This file must be copied to replace:

- `~/.arduino15/packages/rp2040/hardware/rp2040/x.yy.zz/cores/rp2040/Arduino.h`

With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add defs for compatibility #142](https://github.com/earlephilhower/arduino-pico/pull/142).

---

Source: https://maker.wiznet.io/WIZnet/projects/ethernet-rp2040/
