Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca30518510 | ||
|
|
17aab7e373 | ||
|
|
083d86d251 | ||
|
|
7a0adfebd1 | ||
|
|
db4b167aaa | ||
|
|
5a428647d4 | ||
|
|
6c8d62fdb8 | ||
|
|
64156c42b1 | ||
|
|
f5c4136b94 | ||
|
|
c4b6521849 | ||
|
|
593b3bece4 |
@@ -0,0 +1,48 @@
|
||||
# Run whenever it is manually triggered, a pull request or a push is done that modifes the libpico configuration
|
||||
|
||||
name: libpico Builder
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- tools/libpico/**
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- tools/libpico/**
|
||||
jobs:
|
||||
build-libpico:
|
||||
name: Build libpico precompiled libraries
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: false
|
||||
- name: Get submodules for pico-sdk
|
||||
run: cd pico-sdk && git submodule update --init --recursive
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install cmake make build-essential wget
|
||||
# Automatically get correct toolchain
|
||||
cd tools && python3 get.py && cd ..
|
||||
# add to PATH
|
||||
echo "$GITHUB_WORKSPACE/system/riscv32-unknown-elf/bin" >> "$GITHUB_PATH"
|
||||
echo "$GITHUB_WORKSPACE/system/arm-none-eabi/bin" >> "$GITHUB_PATH"
|
||||
# Needed until we switch to Pico-SDK 2.0.1.
|
||||
- name: Patch Pico-SDK (Fix Assembly for newer GCC)
|
||||
run: |
|
||||
cd pico-sdk
|
||||
wget https://patch-diff.githubusercontent.com/raw/raspberrypi/pico-sdk/pull/2000.patch
|
||||
patch -p1 < 2000.patch
|
||||
- name: Build libpico
|
||||
run: |
|
||||
cd tools/libpico
|
||||
./make-libpico.sh
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: libpico
|
||||
path: |
|
||||
tools/libpico/build-rp2040/*.a
|
||||
tools/libpico/build-rp2350/*.a
|
||||
tools/libpico/build-rp2350-riscv/*.a
|
||||
@@ -91,6 +91,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
|
||||
* SparkFun ProMicro RP2040
|
||||
* SparkFun ProMicro RP2350
|
||||
* SparkFun Thing Plus RP2040
|
||||
* SparkFun Thing Plus RP2350
|
||||
* uPesy RP2040 DevKit
|
||||
* VCC-GND YD-RP2040
|
||||
* Viyalab Mizu RP2040
|
||||
@@ -102,7 +103,10 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
|
||||
* Waveshare RP2040 Matrix
|
||||
* Waveshare RP2040 PiZero
|
||||
* WIZnet W5100S-EVB-Pico
|
||||
* WIZnet W5100S-EVB-Pico2
|
||||
* WIZnet W5500-EVB-Pico
|
||||
* WIZnet W5500-EVB-Pico2
|
||||
* WIZnet W55RP20-EVB-Pico
|
||||
* WIZnet WizFi360-EVB-Pico
|
||||
* Generic RP2040 (configurable flash, I/O pins)
|
||||
* Generic RP2350 (configurable flash, I/O pins)
|
||||
|
||||
+809
@@ -24921,6 +24921,341 @@ sparkfun_thingplusrp2040.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_da
|
||||
sparkfun_thingplusrp2040.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap
|
||||
sparkfun_thingplusrp2040.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap
|
||||
|
||||
# -----------------------------------
|
||||
# SparkFun Thing Plus RP2350
|
||||
# -----------------------------------
|
||||
sparkfun_thingplusrp2350.name=SparkFun Thing Plus RP2350
|
||||
sparkfun_thingplusrp2350.vid.0=0x1b4f
|
||||
sparkfun_thingplusrp2350.pid.0=0x0038
|
||||
sparkfun_thingplusrp2350.vid.1=0x1b4f
|
||||
sparkfun_thingplusrp2350.pid.1=0x0138
|
||||
sparkfun_thingplusrp2350.vid.2=0x1b4f
|
||||
sparkfun_thingplusrp2350.pid.2=0x4038
|
||||
sparkfun_thingplusrp2350.vid.3=0x1b4f
|
||||
sparkfun_thingplusrp2350.pid.3=0x4138
|
||||
sparkfun_thingplusrp2350.vid.4=0x1b4f
|
||||
sparkfun_thingplusrp2350.pid.4=0x8038
|
||||
sparkfun_thingplusrp2350.vid.5=0x1b4f
|
||||
sparkfun_thingplusrp2350.pid.5=0x8138
|
||||
sparkfun_thingplusrp2350.vid.6=0x1b4f
|
||||
sparkfun_thingplusrp2350.pid.6=0xc038
|
||||
sparkfun_thingplusrp2350.vid.7=0x1b4f
|
||||
sparkfun_thingplusrp2350.pid.7=0xc138
|
||||
sparkfun_thingplusrp2350.upload_port.0.vid=0x1b4f
|
||||
sparkfun_thingplusrp2350.upload_port.0.pid=0x0038
|
||||
sparkfun_thingplusrp2350.upload_port.1.vid=0x1b4f
|
||||
sparkfun_thingplusrp2350.upload_port.1.pid=0x0138
|
||||
sparkfun_thingplusrp2350.upload_port.2.vid=0x1b4f
|
||||
sparkfun_thingplusrp2350.upload_port.2.pid=0x4038
|
||||
sparkfun_thingplusrp2350.upload_port.3.vid=0x1b4f
|
||||
sparkfun_thingplusrp2350.upload_port.3.pid=0x4138
|
||||
sparkfun_thingplusrp2350.upload_port.4.vid=0x1b4f
|
||||
sparkfun_thingplusrp2350.upload_port.4.pid=0x8038
|
||||
sparkfun_thingplusrp2350.upload_port.5.vid=0x1b4f
|
||||
sparkfun_thingplusrp2350.upload_port.5.pid=0x8138
|
||||
sparkfun_thingplusrp2350.upload_port.6.vid=0x1b4f
|
||||
sparkfun_thingplusrp2350.upload_port.6.pid=0xc038
|
||||
sparkfun_thingplusrp2350.upload_port.7.vid=0x1b4f
|
||||
sparkfun_thingplusrp2350.upload_port.7.pid=0xc138
|
||||
sparkfun_thingplusrp2350.build.usbvid=-DUSBD_VID=0x1b4f
|
||||
sparkfun_thingplusrp2350.build.usbpid=-DUSBD_PID=0x0038
|
||||
sparkfun_thingplusrp2350.build.usbpwr=-DUSBD_MAX_POWER_MA=250
|
||||
sparkfun_thingplusrp2350.build.board=SPARKFUN_THINGPLUS_RP2350
|
||||
sparkfun_thingplusrp2350.build.variant=sparkfun_thingplusrp2350
|
||||
sparkfun_thingplusrp2350.upload.maximum_size=16777216
|
||||
sparkfun_thingplusrp2350.upload.wait_for_upload_port=true
|
||||
sparkfun_thingplusrp2350.upload.erase_cmd=
|
||||
sparkfun_thingplusrp2350.serial.disableDTR=false
|
||||
sparkfun_thingplusrp2350.serial.disableRTS=false
|
||||
sparkfun_thingplusrp2350.build.f_cpu=125000000
|
||||
sparkfun_thingplusrp2350.build.led=
|
||||
sparkfun_thingplusrp2350.build.core=rp2040
|
||||
sparkfun_thingplusrp2350.build.ldscript=memmap_default.ld
|
||||
sparkfun_thingplusrp2350.build.boot2=none
|
||||
sparkfun_thingplusrp2350.build.usb_manufacturer="SparkFun"
|
||||
sparkfun_thingplusrp2350.build.usb_product="Thing Plus RP2350"
|
||||
sparkfun_thingplusrp2350.build.psram_length=0x800000
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_0=16MB (no FS)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_0.upload.maximum_size=16769024
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_0.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_0.build.flash_length=16769024
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_0.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_0.build.fs_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_0.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_65536=16MB (Sketch: 16320KB, FS: 64KB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_65536.upload.maximum_size=16703488
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_65536.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_65536.build.flash_length=16703488
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_65536.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_65536.build.fs_start=285138944
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_65536.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_131072=16MB (Sketch: 16256KB, FS: 128KB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_131072.upload.maximum_size=16637952
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_131072.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_131072.build.flash_length=16637952
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_131072.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_131072.build.fs_start=285073408
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_131072.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_262144=16MB (Sketch: 16128KB, FS: 256KB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_262144.upload.maximum_size=16506880
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_262144.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_262144.build.flash_length=16506880
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_262144.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_262144.build.fs_start=284942336
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_262144.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_524288=16MB (Sketch: 15872KB, FS: 512KB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_524288.upload.maximum_size=16244736
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_524288.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_524288.build.flash_length=16244736
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_524288.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_524288.build.fs_start=284680192
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_524288.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_1048576=16MB (Sketch: 15MB, FS: 1MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_1048576.upload.maximum_size=15720448
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_1048576.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_1048576.build.flash_length=15720448
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_1048576.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_1048576.build.fs_start=284155904
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_1048576.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_2097152=16MB (Sketch: 14MB, FS: 2MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_2097152.upload.maximum_size=14671872
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_2097152.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_2097152.build.flash_length=14671872
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_2097152.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_2097152.build.fs_start=283107328
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_2097152.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_3145728=16MB (Sketch: 13MB, FS: 3MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_3145728.upload.maximum_size=13623296
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_3145728.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_3145728.build.flash_length=13623296
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_3145728.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_3145728.build.fs_start=282058752
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_3145728.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_4194304=16MB (Sketch: 12MB, FS: 4MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_4194304.upload.maximum_size=12574720
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_4194304.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_4194304.build.flash_length=12574720
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_4194304.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_4194304.build.fs_start=281010176
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_4194304.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_5242880=16MB (Sketch: 11MB, FS: 5MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_5242880.upload.maximum_size=11526144
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_5242880.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_5242880.build.flash_length=11526144
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_5242880.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_5242880.build.fs_start=279961600
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_5242880.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_6291456=16MB (Sketch: 10MB, FS: 6MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_6291456.upload.maximum_size=10477568
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_6291456.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_6291456.build.flash_length=10477568
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_6291456.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_6291456.build.fs_start=278913024
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_6291456.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_7340032=16MB (Sketch: 9MB, FS: 7MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_7340032.upload.maximum_size=9428992
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_7340032.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_7340032.build.flash_length=9428992
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_7340032.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_7340032.build.fs_start=277864448
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_7340032.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_8388608=16MB (Sketch: 8MB, FS: 8MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_8388608.upload.maximum_size=8380416
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_8388608.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_8388608.build.flash_length=8380416
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_8388608.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_8388608.build.fs_start=276815872
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_8388608.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_9437184=16MB (Sketch: 7MB, FS: 9MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_9437184.upload.maximum_size=7331840
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_9437184.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_9437184.build.flash_length=7331840
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_9437184.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_9437184.build.fs_start=275767296
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_9437184.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_10485760=16MB (Sketch: 6MB, FS: 10MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_10485760.upload.maximum_size=6283264
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_10485760.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_10485760.build.flash_length=6283264
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_10485760.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_10485760.build.fs_start=274718720
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_10485760.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_11534336=16MB (Sketch: 5MB, FS: 11MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_11534336.upload.maximum_size=5234688
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_11534336.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_11534336.build.flash_length=5234688
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_11534336.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_11534336.build.fs_start=273670144
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_11534336.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_12582912=16MB (Sketch: 4MB, FS: 12MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_12582912.upload.maximum_size=4186112
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_12582912.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_12582912.build.flash_length=4186112
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_12582912.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_12582912.build.fs_start=272621568
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_12582912.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_13631488=16MB (Sketch: 3MB, FS: 13MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_13631488.upload.maximum_size=3137536
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_13631488.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_13631488.build.flash_length=3137536
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_13631488.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_13631488.build.fs_start=271572992
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_13631488.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_14680064=16MB (Sketch: 2MB, FS: 14MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_14680064.upload.maximum_size=2088960
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_14680064.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_14680064.build.flash_length=2088960
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_14680064.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_14680064.build.fs_start=270524416
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_14680064.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_15728640=16MB (Sketch: 1MB, FS: 15MB)
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_15728640.upload.maximum_size=1040384
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_15728640.build.flash_total=16777216
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_15728640.build.flash_length=1040384
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_15728640.build.eeprom_start=285204480
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_15728640.build.fs_start=269475840
|
||||
sparkfun_thingplusrp2350.menu.flash.16777216_15728640.build.fs_end=285204480
|
||||
sparkfun_thingplusrp2350.menu.arch.arm=ARM
|
||||
sparkfun_thingplusrp2350.menu.arch.arm.build.chip=rp2350
|
||||
sparkfun_thingplusrp2350.menu.arch.arm.build.toolchain=arm-none-eabi
|
||||
sparkfun_thingplusrp2350.menu.arch.arm.build.toolchainpkg=pqt-gcc
|
||||
sparkfun_thingplusrp2350.menu.arch.arm.build.toolchainopts=-mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse
|
||||
sparkfun_thingplusrp2350.menu.arch.arm.build.uf2family=--family rp2350-arm-s --abs-block
|
||||
sparkfun_thingplusrp2350.menu.arch.riscv=RISC-V
|
||||
sparkfun_thingplusrp2350.menu.arch.riscv.build.chip=rp2350-riscv
|
||||
sparkfun_thingplusrp2350.menu.arch.riscv.build.toolchain=riscv32-unknown-elf
|
||||
sparkfun_thingplusrp2350.menu.arch.riscv.build.toolchainpkg=pqt-gcc-riscv
|
||||
sparkfun_thingplusrp2350.menu.arch.riscv.build.toolchainopts=-march=rv32imac_zicsr_zifencei_zba_zbb_zbs_zbkb -mabi=ilp32
|
||||
sparkfun_thingplusrp2350.menu.arch.riscv.build.uf2family=--family rp2350-riscv --abs-block
|
||||
sparkfun_thingplusrp2350.menu.freq.150=150 MHz
|
||||
sparkfun_thingplusrp2350.menu.freq.150.build.f_cpu=150000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.50=50 MHz
|
||||
sparkfun_thingplusrp2350.menu.freq.50.build.f_cpu=50000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.100=100 MHz
|
||||
sparkfun_thingplusrp2350.menu.freq.100.build.f_cpu=100000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.120=120 MHz
|
||||
sparkfun_thingplusrp2350.menu.freq.120.build.f_cpu=120000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.125=125 MHz
|
||||
sparkfun_thingplusrp2350.menu.freq.125.build.f_cpu=125000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.128=128 MHz
|
||||
sparkfun_thingplusrp2350.menu.freq.128.build.f_cpu=128000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.133=133 MHz
|
||||
sparkfun_thingplusrp2350.menu.freq.133.build.f_cpu=133000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.175=175 MHz (Overclock)
|
||||
sparkfun_thingplusrp2350.menu.freq.175.build.f_cpu=175000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.200=200 MHz (Overclock)
|
||||
sparkfun_thingplusrp2350.menu.freq.200.build.f_cpu=200000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.225=225 MHz (Overclock)
|
||||
sparkfun_thingplusrp2350.menu.freq.225.build.f_cpu=225000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.240=240 MHz (Overclock)
|
||||
sparkfun_thingplusrp2350.menu.freq.240.build.f_cpu=240000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.250=250 MHz (Overclock)
|
||||
sparkfun_thingplusrp2350.menu.freq.250.build.f_cpu=250000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.275=275 MHz (Overclock)
|
||||
sparkfun_thingplusrp2350.menu.freq.275.build.f_cpu=275000000L
|
||||
sparkfun_thingplusrp2350.menu.freq.300=300 MHz (Overclock)
|
||||
sparkfun_thingplusrp2350.menu.freq.300.build.f_cpu=300000000L
|
||||
sparkfun_thingplusrp2350.menu.opt.Small=Small (-Os) (standard)
|
||||
sparkfun_thingplusrp2350.menu.opt.Small.build.flags.optimize=-Os
|
||||
sparkfun_thingplusrp2350.menu.opt.Optimize=Optimize (-O)
|
||||
sparkfun_thingplusrp2350.menu.opt.Optimize.build.flags.optimize=-O
|
||||
sparkfun_thingplusrp2350.menu.opt.Optimize2=Optimize More (-O2)
|
||||
sparkfun_thingplusrp2350.menu.opt.Optimize2.build.flags.optimize=-O2
|
||||
sparkfun_thingplusrp2350.menu.opt.Optimize3=Optimize Even More (-O3)
|
||||
sparkfun_thingplusrp2350.menu.opt.Optimize3.build.flags.optimize=-O3
|
||||
sparkfun_thingplusrp2350.menu.opt.Fast=Fast (-Ofast) (maybe slower)
|
||||
sparkfun_thingplusrp2350.menu.opt.Fast.build.flags.optimize=-Ofast
|
||||
sparkfun_thingplusrp2350.menu.opt.Debug=Debug (-Og)
|
||||
sparkfun_thingplusrp2350.menu.opt.Debug.build.flags.optimize=-Og
|
||||
sparkfun_thingplusrp2350.menu.rtti.Disabled=Disabled
|
||||
sparkfun_thingplusrp2350.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
|
||||
sparkfun_thingplusrp2350.menu.rtti.Enabled=Enabled
|
||||
sparkfun_thingplusrp2350.menu.rtti.Enabled.build.flags.rtti=
|
||||
sparkfun_thingplusrp2350.menu.stackprotect.Disabled=Disabled
|
||||
sparkfun_thingplusrp2350.menu.stackprotect.Disabled.build.flags.stackprotect=
|
||||
sparkfun_thingplusrp2350.menu.stackprotect.Enabled=Enabled
|
||||
sparkfun_thingplusrp2350.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector
|
||||
sparkfun_thingplusrp2350.menu.exceptions.Disabled=Disabled
|
||||
sparkfun_thingplusrp2350.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions
|
||||
sparkfun_thingplusrp2350.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++
|
||||
sparkfun_thingplusrp2350.menu.exceptions.Enabled=Enabled
|
||||
sparkfun_thingplusrp2350.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions
|
||||
sparkfun_thingplusrp2350.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc
|
||||
sparkfun_thingplusrp2350.menu.dbgport.Disabled=Disabled
|
||||
sparkfun_thingplusrp2350.menu.dbgport.Disabled.build.debug_port=
|
||||
sparkfun_thingplusrp2350.menu.dbgport.Serial=Serial
|
||||
sparkfun_thingplusrp2350.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
|
||||
sparkfun_thingplusrp2350.menu.dbgport.Serial1=Serial1
|
||||
sparkfun_thingplusrp2350.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
|
||||
sparkfun_thingplusrp2350.menu.dbgport.Serial2=Serial2
|
||||
sparkfun_thingplusrp2350.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.None=None
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.None.build.debug_level=
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.Core=Core
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.SPI=SPI
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.Wire=Wire
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.Bluetooth=Bluetooth
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.Bluetooth.build.debug_level=-DDEBUG_RP2040_BLUETOOTH
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.All=All
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -DDEBUG_RP2040_BLUETOOTH
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.NDEBUG=NDEBUG
|
||||
sparkfun_thingplusrp2350.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
|
||||
sparkfun_thingplusrp2350.menu.usbstack.picosdk=Pico SDK
|
||||
sparkfun_thingplusrp2350.menu.usbstack.picosdk.build.usbstack_flags=
|
||||
sparkfun_thingplusrp2350.menu.usbstack.tinyusb=Adafruit TinyUSB
|
||||
sparkfun_thingplusrp2350.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
|
||||
sparkfun_thingplusrp2350.menu.usbstack.tinyusb_host=Adafruit TinyUSB Host (native)
|
||||
sparkfun_thingplusrp2350.menu.usbstack.tinyusb_host.build.usbstack_flags=-DUSE_TINYUSB -DUSE_TINYUSB_HOST "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
|
||||
sparkfun_thingplusrp2350.menu.usbstack.nousb=No USB
|
||||
sparkfun_thingplusrp2350.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4only=IPv4 Only
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4only.build.libpicow=libipv4.a
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4only.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6=IPv4 + IPv6
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6.build.libpicow=libipv4-ipv6.a
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4btcble=IPv4 + Bluetooth
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4btcble.build.libpicow=libipv4-bt.a
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4btcble.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6btcble=IPv4 + IPv6 + Bluetooth
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6btcble.build.libpicow=libipv4-ipv6-bt.a
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6btcble.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4onlybig=IPv4 Only - 32K
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4onlybig.build.libpicow=libipv4-big.a
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4onlybig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6big=IPv4 + IPv6 - 32K
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6big.build.libpicow=libipv4-ipv6-big.a
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6big.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4btcblebig=IPv4 + Bluetooth - 32K
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4btcblebig.build.libpicow=libipv4-bt-big.a
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4btcblebig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6btcblebig=IPv4 + IPv6 + Bluetooth - 32K
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicow=libipv4-ipv6-bt-big.a
|
||||
sparkfun_thingplusrp2350.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.default=Default (UF2)
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.default.build.ram_length=512k
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.default.build.debugscript=picoprobe_cmsis_dap.tcl
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.default.upload.maximum_data_size=524288
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.default.upload.tool=uf2conv
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.default.upload.tool.default=uf2conv
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.default.upload.tool.network=uf2conv-network
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picotool=Picotool
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picotool.build.ram_length=512k
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picotool.build.debugscript=picoprobe.tcl
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picotool.build.picodebugflags=-DENABLE_PICOTOOL_USB
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picotool.upload.maximum_data_size=524288
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picotool.upload.tool=picotool
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picotool.upload.tool.default=picotool
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picoprobe_cmsis_dap=Picoprobe/Debugprobe (CMSIS-DAP)
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picoprobe_cmsis_dap.build.ram_length=512k
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picoprobe_cmsis_dap.build.debugscript=picoprobe_cmsis_dap.tcl
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_size=524288
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap
|
||||
sparkfun_thingplusrp2350.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap
|
||||
|
||||
# -----------------------------------
|
||||
# uPesy RP2040 DevKit
|
||||
# -----------------------------------
|
||||
@@ -28782,6 +29117,243 @@ wiznet_5100s_evb_pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_
|
||||
wiznet_5100s_evb_pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap
|
||||
wiznet_5100s_evb_pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap
|
||||
|
||||
# -----------------------------------
|
||||
# WIZnet W5100S-EVB-Pico2
|
||||
# -----------------------------------
|
||||
wiznet_5100s_evb_pico2.name=WIZnet W5100S-EVB-Pico2
|
||||
wiznet_5100s_evb_pico2.vid.0=0x2e8a
|
||||
wiznet_5100s_evb_pico2.pid.0=0x1027
|
||||
wiznet_5100s_evb_pico2.vid.1=0x2e8a
|
||||
wiznet_5100s_evb_pico2.pid.1=0x1127
|
||||
wiznet_5100s_evb_pico2.vid.2=0x2e8a
|
||||
wiznet_5100s_evb_pico2.pid.2=0x5027
|
||||
wiznet_5100s_evb_pico2.vid.3=0x2e8a
|
||||
wiznet_5100s_evb_pico2.pid.3=0x5127
|
||||
wiznet_5100s_evb_pico2.vid.4=0x2e8a
|
||||
wiznet_5100s_evb_pico2.pid.4=0x9027
|
||||
wiznet_5100s_evb_pico2.vid.5=0x2e8a
|
||||
wiznet_5100s_evb_pico2.pid.5=0x9127
|
||||
wiznet_5100s_evb_pico2.vid.6=0x2e8a
|
||||
wiznet_5100s_evb_pico2.pid.6=0xd027
|
||||
wiznet_5100s_evb_pico2.vid.7=0x2e8a
|
||||
wiznet_5100s_evb_pico2.pid.7=0xd127
|
||||
wiznet_5100s_evb_pico2.upload_port.0.vid=0x2e8a
|
||||
wiznet_5100s_evb_pico2.upload_port.0.pid=0x1027
|
||||
wiznet_5100s_evb_pico2.upload_port.1.vid=0x2e8a
|
||||
wiznet_5100s_evb_pico2.upload_port.1.pid=0x1127
|
||||
wiznet_5100s_evb_pico2.upload_port.2.vid=0x2e8a
|
||||
wiznet_5100s_evb_pico2.upload_port.2.pid=0x5027
|
||||
wiznet_5100s_evb_pico2.upload_port.3.vid=0x2e8a
|
||||
wiznet_5100s_evb_pico2.upload_port.3.pid=0x5127
|
||||
wiznet_5100s_evb_pico2.upload_port.4.vid=0x2e8a
|
||||
wiznet_5100s_evb_pico2.upload_port.4.pid=0x9027
|
||||
wiznet_5100s_evb_pico2.upload_port.5.vid=0x2e8a
|
||||
wiznet_5100s_evb_pico2.upload_port.5.pid=0x9127
|
||||
wiznet_5100s_evb_pico2.upload_port.6.vid=0x2e8a
|
||||
wiznet_5100s_evb_pico2.upload_port.6.pid=0xd027
|
||||
wiznet_5100s_evb_pico2.upload_port.7.vid=0x2e8a
|
||||
wiznet_5100s_evb_pico2.upload_port.7.pid=0xd127
|
||||
wiznet_5100s_evb_pico2.build.usbvid=-DUSBD_VID=0x2e8a
|
||||
wiznet_5100s_evb_pico2.build.usbpid=-DUSBD_PID=0x1027
|
||||
wiznet_5100s_evb_pico2.build.usbpwr=-DUSBD_MAX_POWER_MA=250
|
||||
wiznet_5100s_evb_pico2.build.board=WIZNET_5100S_EVB_PICO2
|
||||
wiznet_5100s_evb_pico2.build.variant=wiznet_5100s_evb_pico2
|
||||
wiznet_5100s_evb_pico2.upload.maximum_size=2097152
|
||||
wiznet_5100s_evb_pico2.upload.wait_for_upload_port=true
|
||||
wiznet_5100s_evb_pico2.upload.erase_cmd=
|
||||
wiznet_5100s_evb_pico2.serial.disableDTR=false
|
||||
wiznet_5100s_evb_pico2.serial.disableRTS=false
|
||||
wiznet_5100s_evb_pico2.build.f_cpu=125000000
|
||||
wiznet_5100s_evb_pico2.build.led=
|
||||
wiznet_5100s_evb_pico2.build.core=rp2040
|
||||
wiznet_5100s_evb_pico2.build.ldscript=memmap_default.ld
|
||||
wiznet_5100s_evb_pico2.build.boot2=none
|
||||
wiznet_5100s_evb_pico2.build.usb_manufacturer="WIZnet"
|
||||
wiznet_5100s_evb_pico2.build.usb_product="W5100S-EVB-Pico2"
|
||||
wiznet_5100s_evb_pico2.build.psram_length=0x000000
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_0=2MB (no FS)
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_0.upload.maximum_size=2088960
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_0.build.flash_total=2097152
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_0.build.flash_length=2088960
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_0.build.eeprom_start=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_0.build.fs_start=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_0.build.fs_end=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_65536=2MB (Sketch: 1984KB, FS: 64KB)
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_65536.upload.maximum_size=2023424
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_65536.build.flash_total=2097152
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_65536.build.flash_length=2023424
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_65536.build.eeprom_start=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_65536.build.fs_start=270458880
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_65536.build.fs_end=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_131072=2MB (Sketch: 1920KB, FS: 128KB)
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_131072.upload.maximum_size=1957888
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_131072.build.flash_total=2097152
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_131072.build.flash_length=1957888
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_131072.build.eeprom_start=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_131072.build.fs_start=270393344
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_131072.build.fs_end=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_262144=2MB (Sketch: 1792KB, FS: 256KB)
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_262144.upload.maximum_size=1826816
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_262144.build.flash_total=2097152
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_262144.build.flash_length=1826816
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_262144.build.eeprom_start=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_262144.build.fs_start=270262272
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_262144.build.fs_end=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_524288=2MB (Sketch: 1536KB, FS: 512KB)
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_524288.upload.maximum_size=1564672
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_524288.build.flash_total=2097152
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_524288.build.flash_length=1564672
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_524288.build.eeprom_start=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_524288.build.fs_start=270000128
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_524288.build.fs_end=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_1048576=2MB (Sketch: 1MB, FS: 1MB)
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_1048576.upload.maximum_size=1040384
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_1048576.build.flash_total=2097152
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_1048576.build.flash_length=1040384
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_1048576.build.eeprom_start=270524416
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_1048576.build.fs_start=269475840
|
||||
wiznet_5100s_evb_pico2.menu.flash.2097152_1048576.build.fs_end=270524416
|
||||
wiznet_5100s_evb_pico2.menu.arch.arm=ARM
|
||||
wiznet_5100s_evb_pico2.menu.arch.arm.build.chip=rp2350
|
||||
wiznet_5100s_evb_pico2.menu.arch.arm.build.toolchain=arm-none-eabi
|
||||
wiznet_5100s_evb_pico2.menu.arch.arm.build.toolchainpkg=pqt-gcc
|
||||
wiznet_5100s_evb_pico2.menu.arch.arm.build.toolchainopts=-mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse
|
||||
wiznet_5100s_evb_pico2.menu.arch.arm.build.uf2family=--family rp2350-arm-s --abs-block
|
||||
wiznet_5100s_evb_pico2.menu.arch.riscv=RISC-V
|
||||
wiznet_5100s_evb_pico2.menu.arch.riscv.build.chip=rp2350-riscv
|
||||
wiznet_5100s_evb_pico2.menu.arch.riscv.build.toolchain=riscv32-unknown-elf
|
||||
wiznet_5100s_evb_pico2.menu.arch.riscv.build.toolchainpkg=pqt-gcc-riscv
|
||||
wiznet_5100s_evb_pico2.menu.arch.riscv.build.toolchainopts=-march=rv32imac_zicsr_zifencei_zba_zbb_zbs_zbkb -mabi=ilp32
|
||||
wiznet_5100s_evb_pico2.menu.arch.riscv.build.uf2family=--family rp2350-riscv --abs-block
|
||||
wiznet_5100s_evb_pico2.menu.freq.150=150 MHz
|
||||
wiznet_5100s_evb_pico2.menu.freq.150.build.f_cpu=150000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.50=50 MHz
|
||||
wiznet_5100s_evb_pico2.menu.freq.50.build.f_cpu=50000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.100=100 MHz
|
||||
wiznet_5100s_evb_pico2.menu.freq.100.build.f_cpu=100000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.120=120 MHz
|
||||
wiznet_5100s_evb_pico2.menu.freq.120.build.f_cpu=120000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.125=125 MHz
|
||||
wiznet_5100s_evb_pico2.menu.freq.125.build.f_cpu=125000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.128=128 MHz
|
||||
wiznet_5100s_evb_pico2.menu.freq.128.build.f_cpu=128000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.133=133 MHz
|
||||
wiznet_5100s_evb_pico2.menu.freq.133.build.f_cpu=133000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.175=175 MHz (Overclock)
|
||||
wiznet_5100s_evb_pico2.menu.freq.175.build.f_cpu=175000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.200=200 MHz (Overclock)
|
||||
wiznet_5100s_evb_pico2.menu.freq.200.build.f_cpu=200000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.225=225 MHz (Overclock)
|
||||
wiznet_5100s_evb_pico2.menu.freq.225.build.f_cpu=225000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.240=240 MHz (Overclock)
|
||||
wiznet_5100s_evb_pico2.menu.freq.240.build.f_cpu=240000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.250=250 MHz (Overclock)
|
||||
wiznet_5100s_evb_pico2.menu.freq.250.build.f_cpu=250000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.275=275 MHz (Overclock)
|
||||
wiznet_5100s_evb_pico2.menu.freq.275.build.f_cpu=275000000L
|
||||
wiznet_5100s_evb_pico2.menu.freq.300=300 MHz (Overclock)
|
||||
wiznet_5100s_evb_pico2.menu.freq.300.build.f_cpu=300000000L
|
||||
wiznet_5100s_evb_pico2.menu.opt.Small=Small (-Os) (standard)
|
||||
wiznet_5100s_evb_pico2.menu.opt.Small.build.flags.optimize=-Os
|
||||
wiznet_5100s_evb_pico2.menu.opt.Optimize=Optimize (-O)
|
||||
wiznet_5100s_evb_pico2.menu.opt.Optimize.build.flags.optimize=-O
|
||||
wiznet_5100s_evb_pico2.menu.opt.Optimize2=Optimize More (-O2)
|
||||
wiznet_5100s_evb_pico2.menu.opt.Optimize2.build.flags.optimize=-O2
|
||||
wiznet_5100s_evb_pico2.menu.opt.Optimize3=Optimize Even More (-O3)
|
||||
wiznet_5100s_evb_pico2.menu.opt.Optimize3.build.flags.optimize=-O3
|
||||
wiznet_5100s_evb_pico2.menu.opt.Fast=Fast (-Ofast) (maybe slower)
|
||||
wiznet_5100s_evb_pico2.menu.opt.Fast.build.flags.optimize=-Ofast
|
||||
wiznet_5100s_evb_pico2.menu.opt.Debug=Debug (-Og)
|
||||
wiznet_5100s_evb_pico2.menu.opt.Debug.build.flags.optimize=-Og
|
||||
wiznet_5100s_evb_pico2.menu.rtti.Disabled=Disabled
|
||||
wiznet_5100s_evb_pico2.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
|
||||
wiznet_5100s_evb_pico2.menu.rtti.Enabled=Enabled
|
||||
wiznet_5100s_evb_pico2.menu.rtti.Enabled.build.flags.rtti=
|
||||
wiznet_5100s_evb_pico2.menu.stackprotect.Disabled=Disabled
|
||||
wiznet_5100s_evb_pico2.menu.stackprotect.Disabled.build.flags.stackprotect=
|
||||
wiznet_5100s_evb_pico2.menu.stackprotect.Enabled=Enabled
|
||||
wiznet_5100s_evb_pico2.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector
|
||||
wiznet_5100s_evb_pico2.menu.exceptions.Disabled=Disabled
|
||||
wiznet_5100s_evb_pico2.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions
|
||||
wiznet_5100s_evb_pico2.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++
|
||||
wiznet_5100s_evb_pico2.menu.exceptions.Enabled=Enabled
|
||||
wiznet_5100s_evb_pico2.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions
|
||||
wiznet_5100s_evb_pico2.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc
|
||||
wiznet_5100s_evb_pico2.menu.dbgport.Disabled=Disabled
|
||||
wiznet_5100s_evb_pico2.menu.dbgport.Disabled.build.debug_port=
|
||||
wiznet_5100s_evb_pico2.menu.dbgport.Serial=Serial
|
||||
wiznet_5100s_evb_pico2.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
|
||||
wiznet_5100s_evb_pico2.menu.dbgport.Serial1=Serial1
|
||||
wiznet_5100s_evb_pico2.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
|
||||
wiznet_5100s_evb_pico2.menu.dbgport.Serial2=Serial2
|
||||
wiznet_5100s_evb_pico2.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.None=None
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.None.build.debug_level=
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.Core=Core
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.SPI=SPI
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.Wire=Wire
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.Bluetooth=Bluetooth
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.Bluetooth.build.debug_level=-DDEBUG_RP2040_BLUETOOTH
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.All=All
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -DDEBUG_RP2040_BLUETOOTH
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.NDEBUG=NDEBUG
|
||||
wiznet_5100s_evb_pico2.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
|
||||
wiznet_5100s_evb_pico2.menu.usbstack.picosdk=Pico SDK
|
||||
wiznet_5100s_evb_pico2.menu.usbstack.picosdk.build.usbstack_flags=
|
||||
wiznet_5100s_evb_pico2.menu.usbstack.tinyusb=Adafruit TinyUSB
|
||||
wiznet_5100s_evb_pico2.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
|
||||
wiznet_5100s_evb_pico2.menu.usbstack.tinyusb_host=Adafruit TinyUSB Host (native)
|
||||
wiznet_5100s_evb_pico2.menu.usbstack.tinyusb_host.build.usbstack_flags=-DUSE_TINYUSB -DUSE_TINYUSB_HOST "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
|
||||
wiznet_5100s_evb_pico2.menu.usbstack.nousb=No USB
|
||||
wiznet_5100s_evb_pico2.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4only=IPv4 Only
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4only.build.libpicow=libipv4.a
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4only.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6=IPv4 + IPv6
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6.build.libpicow=libipv4-ipv6.a
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4btcble=IPv4 + Bluetooth
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4btcble.build.libpicow=libipv4-bt.a
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4btcble.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6btcble=IPv4 + IPv6 + Bluetooth
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6btcble.build.libpicow=libipv4-ipv6-bt.a
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6btcble.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4onlybig=IPv4 Only - 32K
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4onlybig.build.libpicow=libipv4-big.a
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4onlybig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6big=IPv4 + IPv6 - 32K
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6big.build.libpicow=libipv4-ipv6-big.a
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6big.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4btcblebig=IPv4 + Bluetooth - 32K
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4btcblebig.build.libpicow=libipv4-bt-big.a
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4btcblebig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6btcblebig=IPv4 + IPv6 + Bluetooth - 32K
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicow=libipv4-ipv6-bt-big.a
|
||||
wiznet_5100s_evb_pico2.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.default=Default (UF2)
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.default.build.ram_length=512k
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.default.build.debugscript=picoprobe_cmsis_dap.tcl
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.default.upload.maximum_data_size=524288
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.default.upload.tool=uf2conv
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.default.upload.tool.default=uf2conv
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.default.upload.tool.network=uf2conv-network
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picotool=Picotool
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picotool.build.ram_length=512k
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picotool.build.debugscript=picoprobe.tcl
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picotool.build.picodebugflags=-DENABLE_PICOTOOL_USB
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picotool.upload.maximum_data_size=524288
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picotool.upload.tool=picotool
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picotool.upload.tool.default=picotool
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap=Picoprobe/Debugprobe (CMSIS-DAP)
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.build.ram_length=512k
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.build.debugscript=picoprobe_cmsis_dap.tcl
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_size=524288
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap
|
||||
wiznet_5100s_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap
|
||||
|
||||
# -----------------------------------
|
||||
# WIZnet WizFi360-EVB-Pico
|
||||
# -----------------------------------
|
||||
@@ -29240,6 +29812,243 @@ wiznet_5500_evb_pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_s
|
||||
wiznet_5500_evb_pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap
|
||||
wiznet_5500_evb_pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap
|
||||
|
||||
# -----------------------------------
|
||||
# WIZnet W5500-EVB-Pico2
|
||||
# -----------------------------------
|
||||
wiznet_5500_evb_pico2.name=WIZnet W5500-EVB-Pico2
|
||||
wiznet_5500_evb_pico2.vid.0=0x2e8a
|
||||
wiznet_5500_evb_pico2.pid.0=0x1029
|
||||
wiznet_5500_evb_pico2.vid.1=0x2e8a
|
||||
wiznet_5500_evb_pico2.pid.1=0x1129
|
||||
wiznet_5500_evb_pico2.vid.2=0x2e8a
|
||||
wiznet_5500_evb_pico2.pid.2=0x5029
|
||||
wiznet_5500_evb_pico2.vid.3=0x2e8a
|
||||
wiznet_5500_evb_pico2.pid.3=0x5129
|
||||
wiznet_5500_evb_pico2.vid.4=0x2e8a
|
||||
wiznet_5500_evb_pico2.pid.4=0x9029
|
||||
wiznet_5500_evb_pico2.vid.5=0x2e8a
|
||||
wiznet_5500_evb_pico2.pid.5=0x9129
|
||||
wiznet_5500_evb_pico2.vid.6=0x2e8a
|
||||
wiznet_5500_evb_pico2.pid.6=0xd029
|
||||
wiznet_5500_evb_pico2.vid.7=0x2e8a
|
||||
wiznet_5500_evb_pico2.pid.7=0xd129
|
||||
wiznet_5500_evb_pico2.upload_port.0.vid=0x2e8a
|
||||
wiznet_5500_evb_pico2.upload_port.0.pid=0x1029
|
||||
wiznet_5500_evb_pico2.upload_port.1.vid=0x2e8a
|
||||
wiznet_5500_evb_pico2.upload_port.1.pid=0x1129
|
||||
wiznet_5500_evb_pico2.upload_port.2.vid=0x2e8a
|
||||
wiznet_5500_evb_pico2.upload_port.2.pid=0x5029
|
||||
wiznet_5500_evb_pico2.upload_port.3.vid=0x2e8a
|
||||
wiznet_5500_evb_pico2.upload_port.3.pid=0x5129
|
||||
wiznet_5500_evb_pico2.upload_port.4.vid=0x2e8a
|
||||
wiznet_5500_evb_pico2.upload_port.4.pid=0x9029
|
||||
wiznet_5500_evb_pico2.upload_port.5.vid=0x2e8a
|
||||
wiznet_5500_evb_pico2.upload_port.5.pid=0x9129
|
||||
wiznet_5500_evb_pico2.upload_port.6.vid=0x2e8a
|
||||
wiznet_5500_evb_pico2.upload_port.6.pid=0xd029
|
||||
wiznet_5500_evb_pico2.upload_port.7.vid=0x2e8a
|
||||
wiznet_5500_evb_pico2.upload_port.7.pid=0xd129
|
||||
wiznet_5500_evb_pico2.build.usbvid=-DUSBD_VID=0x2e8a
|
||||
wiznet_5500_evb_pico2.build.usbpid=-DUSBD_PID=0x1029
|
||||
wiznet_5500_evb_pico2.build.usbpwr=-DUSBD_MAX_POWER_MA=250
|
||||
wiznet_5500_evb_pico2.build.board=WIZNET_5500_EVB_PICO2
|
||||
wiznet_5500_evb_pico2.build.variant=wiznet_5500_evb_pico2
|
||||
wiznet_5500_evb_pico2.upload.maximum_size=2097152
|
||||
wiznet_5500_evb_pico2.upload.wait_for_upload_port=true
|
||||
wiznet_5500_evb_pico2.upload.erase_cmd=
|
||||
wiznet_5500_evb_pico2.serial.disableDTR=false
|
||||
wiznet_5500_evb_pico2.serial.disableRTS=false
|
||||
wiznet_5500_evb_pico2.build.f_cpu=125000000
|
||||
wiznet_5500_evb_pico2.build.led=
|
||||
wiznet_5500_evb_pico2.build.core=rp2040
|
||||
wiznet_5500_evb_pico2.build.ldscript=memmap_default.ld
|
||||
wiznet_5500_evb_pico2.build.boot2=none
|
||||
wiznet_5500_evb_pico2.build.usb_manufacturer="WIZnet"
|
||||
wiznet_5500_evb_pico2.build.usb_product="W5500-EVB-Pico2"
|
||||
wiznet_5500_evb_pico2.build.psram_length=0x000000
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_0=2MB (no FS)
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_0.upload.maximum_size=2088960
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_0.build.flash_total=2097152
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_0.build.flash_length=2088960
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_0.build.eeprom_start=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_0.build.fs_start=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_0.build.fs_end=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_65536=2MB (Sketch: 1984KB, FS: 64KB)
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_65536.upload.maximum_size=2023424
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_65536.build.flash_total=2097152
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_65536.build.flash_length=2023424
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_65536.build.eeprom_start=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_65536.build.fs_start=270458880
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_65536.build.fs_end=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_131072=2MB (Sketch: 1920KB, FS: 128KB)
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_131072.upload.maximum_size=1957888
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_131072.build.flash_total=2097152
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_131072.build.flash_length=1957888
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_131072.build.eeprom_start=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_131072.build.fs_start=270393344
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_131072.build.fs_end=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_262144=2MB (Sketch: 1792KB, FS: 256KB)
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_262144.upload.maximum_size=1826816
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_262144.build.flash_total=2097152
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_262144.build.flash_length=1826816
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_262144.build.eeprom_start=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_262144.build.fs_start=270262272
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_262144.build.fs_end=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_524288=2MB (Sketch: 1536KB, FS: 512KB)
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_524288.upload.maximum_size=1564672
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_524288.build.flash_total=2097152
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_524288.build.flash_length=1564672
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_524288.build.eeprom_start=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_524288.build.fs_start=270000128
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_524288.build.fs_end=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_1048576=2MB (Sketch: 1MB, FS: 1MB)
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_1048576.upload.maximum_size=1040384
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_1048576.build.flash_total=2097152
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_1048576.build.flash_length=1040384
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_1048576.build.eeprom_start=270524416
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_1048576.build.fs_start=269475840
|
||||
wiznet_5500_evb_pico2.menu.flash.2097152_1048576.build.fs_end=270524416
|
||||
wiznet_5500_evb_pico2.menu.arch.arm=ARM
|
||||
wiznet_5500_evb_pico2.menu.arch.arm.build.chip=rp2350
|
||||
wiznet_5500_evb_pico2.menu.arch.arm.build.toolchain=arm-none-eabi
|
||||
wiznet_5500_evb_pico2.menu.arch.arm.build.toolchainpkg=pqt-gcc
|
||||
wiznet_5500_evb_pico2.menu.arch.arm.build.toolchainopts=-mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse
|
||||
wiznet_5500_evb_pico2.menu.arch.arm.build.uf2family=--family rp2350-arm-s --abs-block
|
||||
wiznet_5500_evb_pico2.menu.arch.riscv=RISC-V
|
||||
wiznet_5500_evb_pico2.menu.arch.riscv.build.chip=rp2350-riscv
|
||||
wiznet_5500_evb_pico2.menu.arch.riscv.build.toolchain=riscv32-unknown-elf
|
||||
wiznet_5500_evb_pico2.menu.arch.riscv.build.toolchainpkg=pqt-gcc-riscv
|
||||
wiznet_5500_evb_pico2.menu.arch.riscv.build.toolchainopts=-march=rv32imac_zicsr_zifencei_zba_zbb_zbs_zbkb -mabi=ilp32
|
||||
wiznet_5500_evb_pico2.menu.arch.riscv.build.uf2family=--family rp2350-riscv --abs-block
|
||||
wiznet_5500_evb_pico2.menu.freq.150=150 MHz
|
||||
wiznet_5500_evb_pico2.menu.freq.150.build.f_cpu=150000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.50=50 MHz
|
||||
wiznet_5500_evb_pico2.menu.freq.50.build.f_cpu=50000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.100=100 MHz
|
||||
wiznet_5500_evb_pico2.menu.freq.100.build.f_cpu=100000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.120=120 MHz
|
||||
wiznet_5500_evb_pico2.menu.freq.120.build.f_cpu=120000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.125=125 MHz
|
||||
wiznet_5500_evb_pico2.menu.freq.125.build.f_cpu=125000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.128=128 MHz
|
||||
wiznet_5500_evb_pico2.menu.freq.128.build.f_cpu=128000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.133=133 MHz
|
||||
wiznet_5500_evb_pico2.menu.freq.133.build.f_cpu=133000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.175=175 MHz (Overclock)
|
||||
wiznet_5500_evb_pico2.menu.freq.175.build.f_cpu=175000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.200=200 MHz (Overclock)
|
||||
wiznet_5500_evb_pico2.menu.freq.200.build.f_cpu=200000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.225=225 MHz (Overclock)
|
||||
wiznet_5500_evb_pico2.menu.freq.225.build.f_cpu=225000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.240=240 MHz (Overclock)
|
||||
wiznet_5500_evb_pico2.menu.freq.240.build.f_cpu=240000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.250=250 MHz (Overclock)
|
||||
wiznet_5500_evb_pico2.menu.freq.250.build.f_cpu=250000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.275=275 MHz (Overclock)
|
||||
wiznet_5500_evb_pico2.menu.freq.275.build.f_cpu=275000000L
|
||||
wiznet_5500_evb_pico2.menu.freq.300=300 MHz (Overclock)
|
||||
wiznet_5500_evb_pico2.menu.freq.300.build.f_cpu=300000000L
|
||||
wiznet_5500_evb_pico2.menu.opt.Small=Small (-Os) (standard)
|
||||
wiznet_5500_evb_pico2.menu.opt.Small.build.flags.optimize=-Os
|
||||
wiznet_5500_evb_pico2.menu.opt.Optimize=Optimize (-O)
|
||||
wiznet_5500_evb_pico2.menu.opt.Optimize.build.flags.optimize=-O
|
||||
wiznet_5500_evb_pico2.menu.opt.Optimize2=Optimize More (-O2)
|
||||
wiznet_5500_evb_pico2.menu.opt.Optimize2.build.flags.optimize=-O2
|
||||
wiznet_5500_evb_pico2.menu.opt.Optimize3=Optimize Even More (-O3)
|
||||
wiznet_5500_evb_pico2.menu.opt.Optimize3.build.flags.optimize=-O3
|
||||
wiznet_5500_evb_pico2.menu.opt.Fast=Fast (-Ofast) (maybe slower)
|
||||
wiznet_5500_evb_pico2.menu.opt.Fast.build.flags.optimize=-Ofast
|
||||
wiznet_5500_evb_pico2.menu.opt.Debug=Debug (-Og)
|
||||
wiznet_5500_evb_pico2.menu.opt.Debug.build.flags.optimize=-Og
|
||||
wiznet_5500_evb_pico2.menu.rtti.Disabled=Disabled
|
||||
wiznet_5500_evb_pico2.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
|
||||
wiznet_5500_evb_pico2.menu.rtti.Enabled=Enabled
|
||||
wiznet_5500_evb_pico2.menu.rtti.Enabled.build.flags.rtti=
|
||||
wiznet_5500_evb_pico2.menu.stackprotect.Disabled=Disabled
|
||||
wiznet_5500_evb_pico2.menu.stackprotect.Disabled.build.flags.stackprotect=
|
||||
wiznet_5500_evb_pico2.menu.stackprotect.Enabled=Enabled
|
||||
wiznet_5500_evb_pico2.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector
|
||||
wiznet_5500_evb_pico2.menu.exceptions.Disabled=Disabled
|
||||
wiznet_5500_evb_pico2.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions
|
||||
wiznet_5500_evb_pico2.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++
|
||||
wiznet_5500_evb_pico2.menu.exceptions.Enabled=Enabled
|
||||
wiznet_5500_evb_pico2.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions
|
||||
wiznet_5500_evb_pico2.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc
|
||||
wiznet_5500_evb_pico2.menu.dbgport.Disabled=Disabled
|
||||
wiznet_5500_evb_pico2.menu.dbgport.Disabled.build.debug_port=
|
||||
wiznet_5500_evb_pico2.menu.dbgport.Serial=Serial
|
||||
wiznet_5500_evb_pico2.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
|
||||
wiznet_5500_evb_pico2.menu.dbgport.Serial1=Serial1
|
||||
wiznet_5500_evb_pico2.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
|
||||
wiznet_5500_evb_pico2.menu.dbgport.Serial2=Serial2
|
||||
wiznet_5500_evb_pico2.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.None=None
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.None.build.debug_level=
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.Core=Core
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.SPI=SPI
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.Wire=Wire
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.Bluetooth=Bluetooth
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.Bluetooth.build.debug_level=-DDEBUG_RP2040_BLUETOOTH
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.All=All
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -DDEBUG_RP2040_BLUETOOTH
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.NDEBUG=NDEBUG
|
||||
wiznet_5500_evb_pico2.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
|
||||
wiznet_5500_evb_pico2.menu.usbstack.picosdk=Pico SDK
|
||||
wiznet_5500_evb_pico2.menu.usbstack.picosdk.build.usbstack_flags=
|
||||
wiznet_5500_evb_pico2.menu.usbstack.tinyusb=Adafruit TinyUSB
|
||||
wiznet_5500_evb_pico2.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
|
||||
wiznet_5500_evb_pico2.menu.usbstack.tinyusb_host=Adafruit TinyUSB Host (native)
|
||||
wiznet_5500_evb_pico2.menu.usbstack.tinyusb_host.build.usbstack_flags=-DUSE_TINYUSB -DUSE_TINYUSB_HOST "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
|
||||
wiznet_5500_evb_pico2.menu.usbstack.nousb=No USB
|
||||
wiznet_5500_evb_pico2.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4only=IPv4 Only
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4only.build.libpicow=libipv4.a
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4only.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6=IPv4 + IPv6
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6.build.libpicow=libipv4-ipv6.a
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4btcble=IPv4 + Bluetooth
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4btcble.build.libpicow=libipv4-bt.a
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4btcble.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6btcble=IPv4 + IPv6 + Bluetooth
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6btcble.build.libpicow=libipv4-ipv6-bt.a
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6btcble.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4onlybig=IPv4 Only - 32K
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4onlybig.build.libpicow=libipv4-big.a
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4onlybig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6big=IPv4 + IPv6 - 32K
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6big.build.libpicow=libipv4-ipv6-big.a
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6big.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4btcblebig=IPv4 + Bluetooth - 32K
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4btcblebig.build.libpicow=libipv4-bt-big.a
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4btcblebig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6btcblebig=IPv4 + IPv6 + Bluetooth - 32K
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicow=libipv4-ipv6-bt-big.a
|
||||
wiznet_5500_evb_pico2.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.default=Default (UF2)
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.default.build.ram_length=512k
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.default.build.debugscript=picoprobe_cmsis_dap.tcl
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.default.upload.maximum_data_size=524288
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.default.upload.tool=uf2conv
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.default.upload.tool.default=uf2conv
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.default.upload.tool.network=uf2conv-network
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picotool=Picotool
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picotool.build.ram_length=512k
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picotool.build.debugscript=picoprobe.tcl
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picotool.build.picodebugflags=-DENABLE_PICOTOOL_USB
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picotool.upload.maximum_data_size=524288
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picotool.upload.tool=picotool
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picotool.upload.tool.default=picotool
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap=Picoprobe/Debugprobe (CMSIS-DAP)
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.build.ram_length=512k
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.build.debugscript=picoprobe_cmsis_dap.tcl
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_size=524288
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap
|
||||
wiznet_5500_evb_pico2.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap
|
||||
|
||||
# -----------------------------------
|
||||
# WIZnet W55RP20-EVB-Pico
|
||||
# -----------------------------------
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifdef PICO_RP2040
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <hardware/structs/psm.h>
|
||||
|
||||
@@ -31,3 +33,5 @@ void RP2040::enableDoubleResetBootloader() {
|
||||
boot_double_tap_check();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -351,7 +351,9 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef PICO_RP2040
|
||||
static void enableDoubleResetBootloader();
|
||||
#endif
|
||||
|
||||
void wdt_begin(uint32_t delay_ms) {
|
||||
watchdog_enable(delay_ms, 1);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#define ARDUINO_PICO_MAJOR 4
|
||||
#define ARDUINO_PICO_MINOR 2
|
||||
#define ARDUINO_PICO_REVISION 0
|
||||
#define ARDUINO_PICO_VERSION_STR "4.2.0"
|
||||
#define ARDUINO_PICO_REVISION 1
|
||||
#define ARDUINO_PICO_VERSION_STR "4.2.1"
|
||||
|
||||
+2
-2
@@ -54,9 +54,9 @@ author = u'Earle F. Philhower, III'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = u'4.2.0'
|
||||
version = u'4.2.1'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = u'4.2.0'
|
||||
release = u'4.2.1'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
||||
+1
-1
@@ -235,7 +235,7 @@ Requirements
|
||||
Implementation Overview
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Updates with a web browser are implemented using ``HTTPUpdateServer`` class together with ``WebServer`` and ``LEAmDNS`` classes. The following code is required to get it work:
|
||||
Updates with a web browser are implemented using ``HTTPUpdateServer`` class together with ``WebServer`` and ``LEAmDNS`` or ``SimpleMDNS`` classes. The following code is required to get it work:
|
||||
|
||||
setup()
|
||||
|
||||
|
||||
+2
-2
@@ -95,8 +95,8 @@ doing any WiFi calls.
|
||||
Bootloader
|
||||
----------
|
||||
|
||||
void rp2040.enableDoubleResetBootloader()
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
void rp2040.enableDoubleResetBootloader() (Pico/RP2040 only)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Add a call anywhere in the sketch to ``rp2040.enableDoubleResetBootloader()`` and
|
||||
the core will check for a double-tap on reset, and if found will start the USB
|
||||
bootloader.
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ Please note that WiFi on the Pico W is a work-in-progress and there are some imp
|
||||
|
||||
* FreeRTOS is supported only on core 0 and from within ``setup`` and ``loop``, not tasks, due to the requirement for a very different LWIP implementation. PRs always appreciated!
|
||||
|
||||
* LEAmDNS (``MDNS``) is not supported in FreeRTOS due to internal IRQ-time memory allocations.
|
||||
* LEAmDNS (``MDNS``) is not supported in FreeRTOS due to internal IRQ-time memory allocations. Instead, use the SimpleMDNS library ( ``#include <SimpleMDNS.h>`` ) which has no such allocations.
|
||||
|
||||
The WiFi library borrows much work from the `ESP8266 Arduino Core <https://github.com/esp8266/Arduino>`__ , especially the ``WiFiClient`` and ``WiFiServer`` classes.
|
||||
|
||||
|
||||
+46
-39
@@ -21,50 +21,57 @@ extern unsigned long __lwip_rand(void);
|
||||
// Common settings used in most of the pico_w examples
|
||||
// (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html for details)
|
||||
|
||||
#define NO_SYS 1
|
||||
#define LWIP_SOCKET 0
|
||||
#define MEM_LIBC_MALLOC 0
|
||||
#define NO_SYS 1
|
||||
#define LWIP_SOCKET 0
|
||||
#define MEM_LIBC_MALLOC 0
|
||||
|
||||
#define MEM_ALIGNMENT 4
|
||||
#define MEM_SIZE (__LWIP_MEMMULT * 16384)
|
||||
#define MEMP_NUM_TCP_SEG (32)
|
||||
#define MEMP_NUM_ARP_QUEUE (10)
|
||||
#define PBUF_POOL_SIZE (__LWIP_MEMMULT > 1 ? 32 : 24)
|
||||
#define LWIP_ARP 2
|
||||
#define LWIP_ETHERNET 1
|
||||
#define LWIP_ICMP 1
|
||||
#define LWIP_RAW 1
|
||||
#define TCP_WND (8 * TCP_MSS)
|
||||
#define TCP_MSS 1460
|
||||
#define TCP_SND_BUF (8 * TCP_MSS)
|
||||
#define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1)) / (TCP_MSS))
|
||||
#define LWIP_NETIF_STATUS_CALLBACK 1
|
||||
#define LWIP_NETIF_LINK_CALLBACK 1
|
||||
#define LWIP_NETIF_HOSTNAME 1
|
||||
#define LWIP_NETCONN 0
|
||||
#define LWIP_STATS 0
|
||||
#define LWIP_STATS_DISPLAY 0
|
||||
#define MEM_STATS 0
|
||||
#define SYS_STATS 0
|
||||
#define MEMP_STATS 0
|
||||
#define LINK_STATS 0
|
||||
#define LWIP_CHKSUM_ALGORITHM 0
|
||||
#define LWIP_DHCP 1
|
||||
#define LWIP_IPV4 1
|
||||
#define LWIP_TCP 1
|
||||
#define LWIP_UDP 1
|
||||
#define LWIP_DNS 1
|
||||
#define LWIP_TCP_KEEPALIVE 1
|
||||
#define LWIP_NETIF_TX_SINGLE_PBUF 1
|
||||
#define DHCP_DOES_ARP_CHECK 0
|
||||
#define LWIP_DHCP_DOES_ACD_CHECK 0
|
||||
#define MEM_ALIGNMENT 4
|
||||
#define MEM_SIZE (__LWIP_MEMMULT * 16384)
|
||||
#define MEMP_NUM_TCP_SEG (32)
|
||||
#define MEMP_NUM_ARP_QUEUE (10)
|
||||
//#define MEMP_NUM_SYS_TIMEOUT (LWIP_NUM_SYS_TIMEOUT_INTERNAL + 4)
|
||||
#define PBUF_POOL_SIZE (__LWIP_MEMMULT > 1 ? 32 : 24)
|
||||
#define LWIP_ARP 5
|
||||
#define LWIP_ETHERNET 1
|
||||
#define LWIP_ICMP 1
|
||||
#define LWIP_RAW 1
|
||||
#define TCP_WND (8 * TCP_MSS)
|
||||
#define TCP_MSS 1460
|
||||
#define TCP_SND_BUF (8 * TCP_MSS)
|
||||
#define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1)) / (TCP_MSS))
|
||||
#define LWIP_NETIF_STATUS_CALLBACK 1
|
||||
#define LWIP_NETIF_LINK_CALLBACK 1
|
||||
#define LWIP_NETIF_HOSTNAME 1
|
||||
#define LWIP_NUM_NETIF_CLIENT_DATA 5
|
||||
#define LWIP_NETCONN 0
|
||||
#define LWIP_STATS 0
|
||||
#define LWIP_STATS_DISPLAY 0
|
||||
#define MEM_STATS 0
|
||||
#define SYS_STATS 0
|
||||
#define MEMP_STATS 0
|
||||
#define LINK_STATS 0
|
||||
#define LWIP_CHKSUM_ALGORITHM 0
|
||||
#define LWIP_DHCP 1
|
||||
#define LWIP_IPV4 1
|
||||
#define LWIP_TCP 1
|
||||
#define LWIP_UDP 1
|
||||
#define LWIP_DNS 1
|
||||
#define LWIP_DNS_SUPPORT_MDNS_QUERIES 1
|
||||
#define LWIP_TCP_KEEPALIVE 1
|
||||
#define LWIP_NETIF_TX_SINGLE_PBUF 1
|
||||
#define DHCP_DOES_ARP_CHECK 0
|
||||
#define LWIP_DHCP_DOES_ACD_CHECK 0
|
||||
#define LWIP_IGMP 1
|
||||
#define LWIP_MDNS_RESPONDER 1
|
||||
#define MDNS_MAX_SERVICES 4
|
||||
|
||||
// See #1285
|
||||
#define MEMP_NUM_UDP_PCB (__LWIP_MEMMULT * 6)
|
||||
#define MEMP_NUM_TCP_PCB (__LWIP_MEMMULT * 5)
|
||||
#define MEMP_NUM_UDP_PCB (__LWIP_MEMMULT * 7)
|
||||
#define MEMP_NUM_TCP_PCB (__LWIP_MEMMULT * 5)
|
||||
|
||||
#if LWIP_IPV6
|
||||
#define LWIP_IPV6_DHCP6 1
|
||||
#define LWIP_IPV6_DHCP6 1
|
||||
#define LWIP_IPV6_MLD 1
|
||||
#endif
|
||||
|
||||
// NTP
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
#include <WiFi.h>
|
||||
#include <LEAmDNS.h>
|
||||
#include <SimpleMDNS.h>
|
||||
#include <WiFiUdp.h>
|
||||
#include <ArduinoOTA.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <WiFi.h>
|
||||
#include <LEAmDNS.h>
|
||||
#include <SimpleMDNS.h>
|
||||
#include <WiFiUdp.h>
|
||||
#include <ArduinoOTA.h>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
|
||||
#include <WiFi.h>
|
||||
#include <LEAmDNS.h>
|
||||
#include <SimpleMDNS.h>
|
||||
#include <WiFiUdp.h>
|
||||
#include <ArduinoOTA.h>
|
||||
|
||||
|
||||
@@ -28,10 +28,7 @@
|
||||
|
||||
#include <lwip/udp.h>
|
||||
#include <include/UdpContext.h>
|
||||
|
||||
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_MDNS)
|
||||
#include <LEAmDNS.h>
|
||||
#endif
|
||||
#include <SimpleMDNS.h>
|
||||
|
||||
#ifdef DEBUG_RP2040_CORE
|
||||
#ifdef DEBUG_RP2040_PORT
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <WiFi.h>
|
||||
#include <WiFiClient.h>
|
||||
#include <WebServer.h>
|
||||
#include <LEAmDNS.h>
|
||||
#include <SimpleMDNS.h>
|
||||
#include <HTTPUpdateServer.h>
|
||||
|
||||
#ifndef STASSID
|
||||
|
||||
@@ -162,13 +162,13 @@ right1:
|
||||
left1:
|
||||
in pins, 1 side 0b01
|
||||
jmp x--, left1 side 0b00
|
||||
in pins, 1 side 0b11 ; Last bit of left has WCLK change per I2S spec
|
||||
|
||||
in pins, 1 side 0b01 ; 2584 LRCK stays low until BCLK goes low
|
||||
; Last bit of left has WCLK change per I2S spec
|
||||
mov x, y side 0b10
|
||||
right1:
|
||||
in pins, 1 side 0b11
|
||||
jmp x--, right1 side 0b10
|
||||
in pins, 1 side 0b01 ; Last bit of right also has WCLK change
|
||||
in pins, 1 side 0b11 ; 2584 LRCK stays high until BCLK goes low
|
||||
; Loop back to beginning...
|
||||
|
||||
|
||||
@@ -184,13 +184,13 @@ right1:
|
||||
left1:
|
||||
in pins, 1 side 0b10
|
||||
jmp x--, left1 side 0b00
|
||||
in pins, 1 side 0b11 ; Last bit of left has WCLK change per I2S spec
|
||||
in pins, 1 side 0b10 ;2584 LRCK stays low until BCLK goes low
|
||||
|
||||
mov x, y side 0b01
|
||||
right1:
|
||||
in pins, 1 side 0b11
|
||||
jmp x--, right1 side 0b01
|
||||
in pins, 1 side 0b10 ; Last bit of right also has WCLK change
|
||||
in pins, 1 side 0b11 ; 2584 LRCK stays high until BCLK goes low
|
||||
; Loop back to beginning...
|
||||
|
||||
|
||||
|
||||
@@ -286,11 +286,11 @@ static const uint16_t pio_i2s_in_program_instructions[] = {
|
||||
0xa022, // 0: mov x, y side 0
|
||||
0x4801, // 1: in pins, 1 side 1
|
||||
0x0041, // 2: jmp x--, 1 side 0
|
||||
0x5801, // 3: in pins, 1 side 3
|
||||
0x4801, // 3: in pins, 1 side 1
|
||||
0xb022, // 4: mov x, y side 2
|
||||
0x5801, // 5: in pins, 1 side 3
|
||||
0x1045, // 6: jmp x--, 5 side 2
|
||||
0x4801, // 7: in pins, 1 side 1
|
||||
0x5801, // 7: in pins, 1 side 3
|
||||
// .wrap
|
||||
};
|
||||
|
||||
@@ -326,11 +326,11 @@ static const uint16_t pio_i2s_in_swap_program_instructions[] = {
|
||||
0xa022, // 0: mov x, y side 0
|
||||
0x5001, // 1: in pins, 1 side 2
|
||||
0x0041, // 2: jmp x--, 1 side 0
|
||||
0x5801, // 3: in pins, 1 side 3
|
||||
0x5001, // 3: in pins, 1 side 2
|
||||
0xa822, // 4: mov x, y side 1
|
||||
0x5801, // 5: in pins, 1 side 3
|
||||
0x0845, // 6: jmp x--, 5 side 1
|
||||
0x5001, // 7: in pins, 1 side 2
|
||||
0x5801, // 7: in pins, 1 side 3
|
||||
// .wrap
|
||||
};
|
||||
|
||||
|
||||
@@ -1348,3 +1348,8 @@ protected:
|
||||
} // namespace esp8266
|
||||
|
||||
#include <ESP8266mDNS.h>
|
||||
|
||||
#define __LEAMDNS_H 1
|
||||
#ifdef __SIMPLEMDNS_H
|
||||
#error SimpleMDNS and LeaMDNS both included. Only one allowed at a time.
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
# SimpleMDNS Library for Arduino-Pico
|
||||
|
||||
This library implements a very basic MDNS responder (xxx.local) for the
|
||||
Pico to enable things like local name resolution and Arduino IDE OTA
|
||||
connections. It uses the LWIP-provided simplified MDNS application.
|
||||
|
||||
Unlike LEAmDNS, this library only supports very simple configurations.
|
||||
They should be sufficient for OTA and name resolution and simple web
|
||||
servers, but for more complicated needs please use LEAmDNS.
|
||||
|
||||
The benefit of this simplicity is that it is low code and has no runtime
|
||||
memory allocations. This means it can be run under FreeRTOS (which LEAmDNS
|
||||
does not presently support).
|
||||
|
||||
This should be a drop-in replacement, just replace `#include <LEAmDNS.h>`
|
||||
with `#include <SimpleMDNS.h>`.
|
||||
|
||||
Be sure to `MDNS.begin()` after enabling WiFi/Ethernet.begin().
|
||||
|
||||
-Earle F. Philhower, III
|
||||
<earlephilhower@yahoo.com>
|
||||
@@ -0,0 +1,23 @@
|
||||
#######################################
|
||||
# Syntax Coloring Map
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Datatypes (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
SimpleMDNS KEYWORD1
|
||||
MDNS KEYWORD1
|
||||
|
||||
#######################################
|
||||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
||||
|
||||
begin KEYWORD2
|
||||
addService KEYWORD2
|
||||
enableArduino KEYWORD2
|
||||
|
||||
#######################################
|
||||
# Constants (LITERAL1)
|
||||
#######################################
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
name=SimpleMDNS
|
||||
version=1.0
|
||||
author=Earle F. Philhower, III <earlephilhower@yahoo.com>
|
||||
maintainer=Earle F. Philhower, III <earlephilhower@yahoo.com>
|
||||
sentence=Creates a simple mDNS responder using LWIP features
|
||||
paragraph=Creates a mDNS responder to ensure host domain uniqueness in local networks and to allow for mDNS service discovery and announcement.
|
||||
category=Communication
|
||||
url=https://github.com/earlephilhower/arduino-pico
|
||||
architectures=rp2040
|
||||
dot_a_linkage=true
|
||||
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
SimpleMDNS for Rasperry Pi Pico
|
||||
Implements a basic MDNS responder (xxx.local)
|
||||
|
||||
Copyright (c) 2024 Earle F. Philhower, III <earlephilhower@yahoo.com>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "SimpleMDNS.h"
|
||||
#include <LwipEthernet.h>
|
||||
#include <lwip/apps/mdns.h>
|
||||
|
||||
bool SimpleMDNS::begin(const char *hostname, unsigned int ttl) {
|
||||
if (_running) {
|
||||
return false;
|
||||
}
|
||||
mdns_resp_init();
|
||||
struct netif *n = netif_list;
|
||||
while (n) {
|
||||
mdns_resp_add_netif(n, hostname);
|
||||
n = n->next;
|
||||
}
|
||||
__setStateChangeCallback(_statusCB);
|
||||
_hostname = strdup(hostname);
|
||||
_running = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void SimpleMDNS::enableArduino(unsigned int port, bool passwd) {
|
||||
if (!_running) {
|
||||
return;
|
||||
}
|
||||
struct netif *n = netif_list;
|
||||
while (n) {
|
||||
mdns_resp_add_service(n, _hostname, "_arduino", DNSSD_PROTO_TCP, port, _arduinoGetTxt, (void *)passwd);
|
||||
n = n->next;
|
||||
}
|
||||
}
|
||||
|
||||
void SimpleMDNS::addService(const char *service, const char *proto, unsigned int port) {
|
||||
if (!_running) {
|
||||
return;
|
||||
}
|
||||
char s[128];
|
||||
snprintf(s, sizeof(s), "_%s", service);
|
||||
s[sizeof(s) - 1] = 0;
|
||||
struct netif *n = netif_list;
|
||||
while (n) {
|
||||
mdns_resp_add_service(n, _hostname, s, !strcasecmp("tcp", proto) ? DNSSD_PROTO_TCP : DNSSD_PROTO_UDP, port, _nullGetTxt, nullptr);
|
||||
n = n->next;
|
||||
}
|
||||
}
|
||||
|
||||
void SimpleMDNS::update() {
|
||||
/* No-op */
|
||||
}
|
||||
|
||||
void SimpleMDNS::end() {
|
||||
/* No-op */
|
||||
}
|
||||
|
||||
void SimpleMDNS::_statusCB(struct netif *netif) {
|
||||
mdns_resp_netif_settings_changed(netif);
|
||||
}
|
||||
|
||||
void SimpleMDNS::_addServiceTxt(struct mdns_service *service, const char *str) {
|
||||
mdns_resp_add_service_txtitem(service, str, strlen(str));
|
||||
}
|
||||
|
||||
void SimpleMDNS::_arduinoGetTxt(struct mdns_service *service, void *txt_userdata) {
|
||||
_addServiceTxt(service, "tcp_check=no");
|
||||
_addServiceTxt(service, "ssh_upload=no");
|
||||
_addServiceTxt(service, "board=" ARDUINO_VARIANT);
|
||||
_addServiceTxt(service, (bool)txt_userdata ? "auth_upload=yes" : "auth_upload=no");
|
||||
}
|
||||
|
||||
void SimpleMDNS::_nullGetTxt(struct mdns_service *service, void *txt_userdata) {
|
||||
/* nop */
|
||||
}
|
||||
|
||||
const char *SimpleMDNS::_hostname = nullptr;
|
||||
|
||||
SimpleMDNS MDNS;
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
SimpleMDNS for Rasperry Pi Pico
|
||||
Implements a basic MDNS responder (xxx.local)
|
||||
|
||||
Copyright (c) 2024 Earle F. Philhower, III <earlephilhower@yahoo.com>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
class SimpleMDNS {
|
||||
|
||||
public:
|
||||
bool begin(const char *hostname, unsigned int ttl = 60);
|
||||
void enableArduino(unsigned int port, bool passwd = false);
|
||||
void addService(const char *service, const char *proto, unsigned int port);
|
||||
|
||||
// No-ops here
|
||||
void end();
|
||||
void update();
|
||||
|
||||
private:
|
||||
static void _statusCB(struct netif *netif);
|
||||
static void _addServiceTxt(struct mdns_service *service, const char *str);
|
||||
static void _arduinoGetTxt(struct mdns_service *service, void *txt_userdata);
|
||||
static void _nullGetTxt(struct mdns_service *service, void *txt_userdata);
|
||||
|
||||
bool _running = false;
|
||||
static const char *_hostname;
|
||||
};
|
||||
|
||||
extern SimpleMDNS MDNS;
|
||||
|
||||
#define __SIMPLEMDNS_H 1
|
||||
#ifdef __LEAMDNS_H
|
||||
#error SimpleMDNS and LeaMDNS both included. Only one allowed at a time.
|
||||
#endif
|
||||
@@ -229,3 +229,8 @@ void lwipPollingPeriod(int ms) {
|
||||
_pollingPeriod = ms;
|
||||
}
|
||||
}
|
||||
|
||||
std::function<void(struct netif *)> _scb;
|
||||
void __setStateChangeCallback(std::function<void(struct netif *)> s) {
|
||||
_scb = s;
|
||||
}
|
||||
|
||||
@@ -44,3 +44,6 @@ int hostByName(const char *aHostname, IPAddress &aResult, int timeout_ms = 5000)
|
||||
|
||||
// Set the LWIP polling time (default 50ms). Lower polling times == lower latency but higher CPU usage
|
||||
void lwipPollingPeriod(int ms);
|
||||
|
||||
// Sets the global netif state change callback
|
||||
void __setStateChangeCallback(std::function<void(struct netif *)> s);
|
||||
|
||||
@@ -53,15 +53,13 @@
|
||||
|
||||
// Dup'd to avoid CYW43 dependency
|
||||
// Generate a mac address if one is not set in otp
|
||||
extern "C" {
|
||||
static void cyw43_hal_generate_laa_mac(__unused int idx, uint8_t buf[6]) {
|
||||
pico_unique_board_id_t board_id;
|
||||
pico_get_unique_board_id(&board_id);
|
||||
memcpy(buf, &board_id.id[2], 6);
|
||||
buf[0] &= (uint8_t)~0x1; // unicast
|
||||
buf[0] |= 0x2; // locally administered
|
||||
}
|
||||
};
|
||||
static void _cyw43_hal_generate_laa_mac(__unused int idx, uint8_t buf[6]) {
|
||||
pico_unique_board_id_t board_id;
|
||||
pico_get_unique_board_id(&board_id);
|
||||
memcpy(buf, &board_id.id[2], 6);
|
||||
buf[0] &= (uint8_t)~0x1; // unicast
|
||||
buf[0] |= 0x2; // locally administered
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -71,8 +69,6 @@ enum EthernetLinkStatus {
|
||||
LinkOFF
|
||||
};
|
||||
|
||||
extern "C" void cyw43_hal_generate_laa_mac(__unused int idx, uint8_t buf[6]);
|
||||
|
||||
template<class RawDev>
|
||||
class LwipIntfDev: public LwipIntf, public RawDev {
|
||||
public:
|
||||
@@ -181,6 +177,7 @@ protected:
|
||||
static err_t linkoutput_s(netif* netif, struct pbuf* p);
|
||||
static void netif_status_callback_s(netif* netif);
|
||||
static void _irq(void *param);
|
||||
|
||||
public:
|
||||
// called on a regular basis or on interrupt
|
||||
err_t handlePackets();
|
||||
@@ -355,7 +352,7 @@ bool LwipIntfDev<RawDev>::begin(const uint8_t* macAddress, const uint16_t mtu) {
|
||||
#if 1
|
||||
// forge a new mac-address from the esp's wifi sta one
|
||||
// I understand this is cheating with an official mac-address
|
||||
cyw43_hal_generate_laa_mac(0, _macAddress);
|
||||
_cyw43_hal_generate_laa_mac(0, _macAddress);
|
||||
#else
|
||||
// https://serverfault.com/questions/40712/what-range-of-mac-addresses-can-i-safely-use-for-my-virtual-machines
|
||||
memset(_macAddress, 0, 6);
|
||||
@@ -533,6 +530,7 @@ err_t LwipIntfDev<RawDev>::netif_init() {
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
extern std::function<void(struct netif *)> _scb;
|
||||
template<class RawDev>
|
||||
void LwipIntfDev<RawDev>::netif_status_callback() {
|
||||
check_route();
|
||||
@@ -540,6 +538,9 @@ void LwipIntfDev<RawDev>::netif_status_callback() {
|
||||
sntp_stop();
|
||||
sntp_init();
|
||||
}
|
||||
if (_scb) {
|
||||
_scb(&_netif);
|
||||
}
|
||||
}
|
||||
|
||||
template<class RawDev>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
const char* host = "djxmmx.net";
|
||||
const uint16_t port = 17;
|
||||
|
||||
#ifdef ARDUINO_WIZNET_5100S_EVB_PICO
|
||||
#if defined(ARDUINO_WIZNET_5100S_EVB_PICO) || defined(ARDUINO_WIZNET_5100S_EVB_PICO2)
|
||||
// To use Interrupt-driven mode, pass in an SPI object and an IRQ pin like so:
|
||||
Wiznet5100lwIP eth(17, SPI, 21);
|
||||
#else
|
||||
@@ -16,7 +16,7 @@ Wiznet5100lwIP eth(1 /* chip select */);
|
||||
#endif
|
||||
|
||||
void setup() {
|
||||
#ifndef ARDUINO_WIZNET_5100S_EVB_PICO
|
||||
#if !defined(ARDUINO_WIZNET_5100S_EVB_PICO) && !defined(ARDUINO_WIZNET_5100S_EVB_PICO2)
|
||||
// Set up SPI pinout to match your HW
|
||||
SPI.setRX(0);
|
||||
SPI.setCS(1);
|
||||
|
||||
@@ -8,14 +8,21 @@
|
||||
const char* host = "djxmmx.net";
|
||||
const uint16_t port = 17;
|
||||
|
||||
#if defined(ARDUINO_WIZNET_5500_EVB_PICO) || defined(ARDUINO_WIZNET_5500_EVB_PICO2)
|
||||
// To use Interrupt-driven mode, pass in an SPI object and an IRQ pin like so:
|
||||
Wiznet5500lwIP eth(17, SPI, 21);
|
||||
#else
|
||||
Wiznet5500lwIP eth(1 /* chip select */);
|
||||
#endif
|
||||
|
||||
void setup() {
|
||||
#if !defined(ARDUINO_WIZNET_5500_EVB_PICO) && !defined(ARDUINO_WIZNET_5500_EVB_PICO2)
|
||||
// Set up SPI pinout to match your HW
|
||||
SPI.setRX(0);
|
||||
SPI.setCS(1);
|
||||
SPI.setSCK(2);
|
||||
SPI.setTX(3);
|
||||
#endif
|
||||
|
||||
Serial.begin(115200);
|
||||
delay(5000);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "framework-arduinopico",
|
||||
"version": "1.40200.0",
|
||||
"version": "1.40201.0",
|
||||
"description": "Arduino Wiring-based Framework (RPi Pico RP2040, RP2350)",
|
||||
"keywords": [
|
||||
"framework",
|
||||
|
||||
@@ -281,6 +281,9 @@
|
||||
{
|
||||
"name": "SparkFun Thing Plus RP2040"
|
||||
},
|
||||
{
|
||||
"name": "SparkFun Thing Plus RP2350"
|
||||
},
|
||||
{
|
||||
"name": "uPesy RP2040 DevKit"
|
||||
},
|
||||
@@ -326,12 +329,18 @@
|
||||
{
|
||||
"name": "WIZnet W5100S-EVB-Pico"
|
||||
},
|
||||
{
|
||||
"name": "WIZnet W5100S-EVB-Pico2"
|
||||
},
|
||||
{
|
||||
"name": "WIZnet WizFi360-EVB-Pico"
|
||||
},
|
||||
{
|
||||
"name": "WIZnet W5500-EVB-Pico"
|
||||
},
|
||||
{
|
||||
"name": "WIZnet W5500-EVB-Pico2"
|
||||
},
|
||||
{
|
||||
"name": "WIZnet W55RP20-EVB-Pico"
|
||||
},
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
|
||||
|
||||
name=Raspberry Pi RP2040/RP2350 Boards
|
||||
version=4.2.0
|
||||
version=4.2.1
|
||||
|
||||
# Required discoveries and monitors
|
||||
# ---------------------------------
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ for dir in ./cores/rp2040 ./libraries/EEPROM ./libraries/I2S ./libraries/SingleF
|
||||
./libraries/SPISlave ./libraries/lwIP_ESPHost ./libraries/FatFS\
|
||||
./libraries/FatFSUSB ./libraries/BluetoothAudio ./libraries/BluetoothHCI \
|
||||
./libraries/BluetoothHIDMaster ./libraries/NetBIOS ./libraries/Ticker \
|
||||
./libraries/VFS ./libraries/rp2350; do
|
||||
./libraries/VFS ./libraries/rp2350 ./libraries/SimpleMDNS; do
|
||||
find $dir -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" \) -a \! -path '*api*' -exec astyle --suffix=none --options=./tests/astyle_core.conf \{\} \;
|
||||
find $dir -type f -name "*.ino" -exec astyle --suffix=none --options=./tests/astyle_examples.conf \{\} \;
|
||||
done
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"build": {
|
||||
"arduino": {
|
||||
"earlephilhower": {
|
||||
"boot2_source": "none.S",
|
||||
"usb_vid": "0x1B4F",
|
||||
"usb_pid": "0x0038"
|
||||
}
|
||||
},
|
||||
"core": "earlephilhower",
|
||||
"cpu": "cortex-m33",
|
||||
"extra_flags": "-DARDUINO_SPARKFUN_THINGPLUS_RP2350 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 ",
|
||||
"f_cpu": "150000000L",
|
||||
"hwids": [
|
||||
[
|
||||
"0x2E8A",
|
||||
"0x00C0"
|
||||
],
|
||||
[
|
||||
"0x1B4F",
|
||||
"0x0038"
|
||||
]
|
||||
],
|
||||
"mcu": "rp2350",
|
||||
"variant": "sparkfun_thingplusrp2350"
|
||||
},
|
||||
"debug": {
|
||||
"jlink_device": "RP2350_0",
|
||||
"openocd_target": "rp2350.cfg",
|
||||
"svd_path": "rp2350.svd"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino"
|
||||
],
|
||||
"name": "Thing Plus RP2350",
|
||||
"upload": {
|
||||
"maximum_ram_size": 524288,
|
||||
"maximum_size": 16777216,
|
||||
"require_upload_port": true,
|
||||
"native_usb": true,
|
||||
"use_1200bps_touch": true,
|
||||
"wait_for_upload_port": false,
|
||||
"protocol": "picotool",
|
||||
"protocols": [
|
||||
"blackmagic",
|
||||
"cmsis-dap",
|
||||
"jlink",
|
||||
"raspberrypi-swd",
|
||||
"picotool",
|
||||
"picoprobe"
|
||||
],
|
||||
"psram_length": 8388608
|
||||
},
|
||||
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
|
||||
"vendor": "SparkFun"
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"build": {
|
||||
"arduino": {
|
||||
"earlephilhower": {
|
||||
"boot2_source": "none.S",
|
||||
"usb_vid": "0x2E8A",
|
||||
"usb_pid": "0x1027"
|
||||
}
|
||||
},
|
||||
"core": "earlephilhower",
|
||||
"cpu": "cortex-m33",
|
||||
"extra_flags": "-DARDUINO_WIZNET_5100S_EVB_PICO2 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 ",
|
||||
"f_cpu": "150000000L",
|
||||
"hwids": [
|
||||
[
|
||||
"0x2E8A",
|
||||
"0x00C0"
|
||||
],
|
||||
[
|
||||
"0x2E8A",
|
||||
"0x1027"
|
||||
]
|
||||
],
|
||||
"mcu": "rp2350",
|
||||
"variant": "wiznet_5100s_evb_pico2"
|
||||
},
|
||||
"debug": {
|
||||
"jlink_device": "RP2350_0",
|
||||
"openocd_target": "rp2350.cfg",
|
||||
"svd_path": "rp2350.svd"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino"
|
||||
],
|
||||
"name": "W5100S-EVB-Pico2",
|
||||
"upload": {
|
||||
"maximum_ram_size": 524288,
|
||||
"maximum_size": 2097152,
|
||||
"require_upload_port": true,
|
||||
"native_usb": true,
|
||||
"use_1200bps_touch": true,
|
||||
"wait_for_upload_port": false,
|
||||
"protocol": "picotool",
|
||||
"protocols": [
|
||||
"blackmagic",
|
||||
"cmsis-dap",
|
||||
"jlink",
|
||||
"raspberrypi-swd",
|
||||
"picotool",
|
||||
"picoprobe"
|
||||
]
|
||||
},
|
||||
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
|
||||
"vendor": "WIZnet"
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"build": {
|
||||
"arduino": {
|
||||
"earlephilhower": {
|
||||
"boot2_source": "none.S",
|
||||
"usb_vid": "0x2E8A",
|
||||
"usb_pid": "0x1029"
|
||||
}
|
||||
},
|
||||
"core": "earlephilhower",
|
||||
"cpu": "cortex-m33",
|
||||
"extra_flags": "-DARDUINO_WIZNET_5500_EVB_PICO2 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 ",
|
||||
"f_cpu": "150000000L",
|
||||
"hwids": [
|
||||
[
|
||||
"0x2E8A",
|
||||
"0x00C0"
|
||||
],
|
||||
[
|
||||
"0x2E8A",
|
||||
"0x1029"
|
||||
]
|
||||
],
|
||||
"mcu": "rp2350",
|
||||
"variant": "wiznet_5500_evb_pico2"
|
||||
},
|
||||
"debug": {
|
||||
"jlink_device": "RP2350_0",
|
||||
"openocd_target": "rp2350.cfg",
|
||||
"svd_path": "rp2350.svd"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino"
|
||||
],
|
||||
"name": "W5500-EVB-Pico2",
|
||||
"upload": {
|
||||
"maximum_ram_size": 524288,
|
||||
"maximum_size": 2097152,
|
||||
"require_upload_port": true,
|
||||
"native_usb": true,
|
||||
"use_1200bps_touch": true,
|
||||
"wait_for_upload_port": false,
|
||||
"protocol": "picotool",
|
||||
"protocols": [
|
||||
"blackmagic",
|
||||
"cmsis-dap",
|
||||
"jlink",
|
||||
"raspberrypi-swd",
|
||||
"picotool",
|
||||
"picoprobe"
|
||||
]
|
||||
},
|
||||
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
|
||||
"vendor": "WIZnet"
|
||||
}
|
||||
@@ -232,6 +232,7 @@ set(picow_link_libraries
|
||||
pico_lwip
|
||||
pico_lwip_nosys
|
||||
pico_lwip_sntp
|
||||
pico_lwip_mdns
|
||||
pico_stdlib
|
||||
)
|
||||
|
||||
@@ -332,4 +333,5 @@ add_custom_command(TARGET pico-${cpu} POST_BUILD
|
||||
COMMAND sed 's/include.*pico-sdk/include \"..\\/..\\/pico-sdk/' ./generated/pico_base/pico/config_autogen.h > ../../../include/${cpu}/pico_base/pico/config_autogen.h
|
||||
COMMAND cp ../tusb_config.h ../../../include/${cpu}/.
|
||||
COMMAND cp ../btstack_config.h ../../../include/${cpu}/.
|
||||
COMMAND cp ../lwipopts.h ../../../include/.
|
||||
)
|
||||
|
||||
+45
-39
@@ -21,50 +21,56 @@ extern unsigned long __lwip_rand(void);
|
||||
// Common settings used in most of the pico_w examples
|
||||
// (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html for details)
|
||||
|
||||
#define NO_SYS 1
|
||||
#define LWIP_SOCKET 0
|
||||
#define MEM_LIBC_MALLOC 0
|
||||
#define NO_SYS 1
|
||||
#define LWIP_SOCKET 0
|
||||
#define MEM_LIBC_MALLOC 0
|
||||
|
||||
#define MEM_ALIGNMENT 4
|
||||
#define MEM_SIZE (__LWIP_MEMMULT * 16384)
|
||||
#define MEMP_NUM_TCP_SEG (32)
|
||||
#define MEMP_NUM_ARP_QUEUE (10)
|
||||
#define PBUF_POOL_SIZE (__LWIP_MEMMULT > 1 ? 32 : 24)
|
||||
#define LWIP_ARP 2
|
||||
#define LWIP_ETHERNET 1
|
||||
#define LWIP_ICMP 1
|
||||
#define LWIP_RAW 1
|
||||
#define TCP_WND (8 * TCP_MSS)
|
||||
#define TCP_MSS 1460
|
||||
#define TCP_SND_BUF (8 * TCP_MSS)
|
||||
#define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1)) / (TCP_MSS))
|
||||
#define LWIP_NETIF_STATUS_CALLBACK 1
|
||||
#define LWIP_NETIF_LINK_CALLBACK 1
|
||||
#define LWIP_NETIF_HOSTNAME 1
|
||||
#define LWIP_NETCONN 0
|
||||
#define LWIP_STATS 0
|
||||
#define LWIP_STATS_DISPLAY 0
|
||||
#define MEM_STATS 0
|
||||
#define SYS_STATS 0
|
||||
#define MEMP_STATS 0
|
||||
#define LINK_STATS 0
|
||||
#define LWIP_CHKSUM_ALGORITHM 0
|
||||
#define LWIP_DHCP 1
|
||||
#define LWIP_IPV4 1
|
||||
#define LWIP_TCP 1
|
||||
#define LWIP_UDP 1
|
||||
#define LWIP_DNS 1
|
||||
#define LWIP_TCP_KEEPALIVE 1
|
||||
#define LWIP_NETIF_TX_SINGLE_PBUF 1
|
||||
#define DHCP_DOES_ARP_CHECK 0
|
||||
#define LWIP_DHCP_DOES_ACD_CHECK 0
|
||||
#define MEM_ALIGNMENT 4
|
||||
#define MEM_SIZE (__LWIP_MEMMULT * 16384)
|
||||
#define MEMP_NUM_TCP_SEG (32)
|
||||
#define MEMP_NUM_ARP_QUEUE (10)
|
||||
#define PBUF_POOL_SIZE (__LWIP_MEMMULT > 1 ? 32 : 24)
|
||||
#define LWIP_ARP 5
|
||||
#define LWIP_ETHERNET 1
|
||||
#define LWIP_ICMP 1
|
||||
#define LWIP_RAW 1
|
||||
#define TCP_WND (8 * TCP_MSS)
|
||||
#define TCP_MSS 1460
|
||||
#define TCP_SND_BUF (8 * TCP_MSS)
|
||||
#define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1)) / (TCP_MSS))
|
||||
#define LWIP_NETIF_STATUS_CALLBACK 1
|
||||
#define LWIP_NETIF_LINK_CALLBACK 1
|
||||
#define LWIP_NETIF_HOSTNAME 1
|
||||
#define LWIP_NUM_NETIF_CLIENT_DATA 5
|
||||
#define LWIP_NETCONN 0
|
||||
#define LWIP_STATS 0
|
||||
#define LWIP_STATS_DISPLAY 0
|
||||
#define MEM_STATS 0
|
||||
#define SYS_STATS 0
|
||||
#define MEMP_STATS 0
|
||||
#define LINK_STATS 0
|
||||
#define LWIP_CHKSUM_ALGORITHM 0
|
||||
#define LWIP_DHCP 1
|
||||
#define LWIP_IPV4 1
|
||||
#define LWIP_TCP 1
|
||||
#define LWIP_UDP 1
|
||||
#define LWIP_DNS 1
|
||||
#define LWIP_DNS_SUPPORT_MDNS_QUERIES 1
|
||||
#define LWIP_TCP_KEEPALIVE 1
|
||||
#define LWIP_NETIF_TX_SINGLE_PBUF 1
|
||||
#define DHCP_DOES_ARP_CHECK 0
|
||||
#define LWIP_DHCP_DOES_ACD_CHECK 0
|
||||
#define LWIP_IGMP 1
|
||||
#define LWIP_MDNS_RESPONDER 1
|
||||
#define MDNS_MAX_SERVICES 4
|
||||
|
||||
// See #1285
|
||||
#define MEMP_NUM_UDP_PCB (__LWIP_MEMMULT * 6)
|
||||
#define MEMP_NUM_TCP_PCB (__LWIP_MEMMULT * 5)
|
||||
#define MEMP_NUM_UDP_PCB (__LWIP_MEMMULT * 7)
|
||||
#define MEMP_NUM_TCP_PCB (__LWIP_MEMMULT * 5)
|
||||
|
||||
#if LWIP_IPV6
|
||||
#define LWIP_IPV6_DHCP6 1
|
||||
#define LWIP_IPV6_DHCP6 1
|
||||
#define LWIP_IPV6_MLD 1
|
||||
#endif
|
||||
|
||||
// NTP
|
||||
|
||||
@@ -630,6 +630,7 @@ MakeBoard("sparkfun_micromodrp2040", "rp2040", "SparkFun", "MicroMod RP2040", "0
|
||||
MakeBoard("sparkfun_promicrorp2040", "rp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0x0026", 250, "SPARKFUN_PROMICRO_RP2040", 16, 0, "boot2_generic_03h_4_padded_checksum")
|
||||
MakeBoard("sparkfun_promicrorp2350", "rp2350", "SparkFun", "ProMicro RP2350", "0x1b4f", "0x0026", 250, "SPARKFUN_PROMICRO_RP2350", 16, 8, "none")
|
||||
MakeBoard("sparkfun_thingplusrp2040", "rp2040", "SparkFun", "Thing Plus RP2040", "0x1b4f", "0x0026", 250, "SPARKFUN_THINGPLUS_RP2040", 16, 0, "boot2_w25q080_2_padded_checksum")
|
||||
MakeBoard("sparkfun_thingplusrp2350", "rp2350", "SparkFun", "Thing Plus RP2350", "0x1b4f", "0x0038", 250, "SPARKFUN_THINGPLUS_RP2350", 16, 8, "none")
|
||||
|
||||
# Upesy
|
||||
MakeBoard("upesy_rp2040_devkit", "rp2040", "uPesy", "RP2040 DevKit", "0x2e8a", "0x1007", 250, "UPESY_RP2040_DEVKIT", 2, 0, "boot2_w25q080_2_padded_checksum")
|
||||
@@ -657,8 +658,10 @@ MakeBoard("waveshare_rp2040_lcd_1_28", "rp2040", "Waveshare", "RP2040 LCD 1.28",
|
||||
|
||||
# WIZnet
|
||||
MakeBoard("wiznet_5100s_evb_pico", "rp2040", "WIZnet", "W5100S-EVB-Pico", "0x2e8a", "0x1027", 250, "WIZNET_5100S_EVB_PICO", 2, 0, "boot2_w25q080_2_padded_checksum")
|
||||
MakeBoard("wiznet_5100s_evb_pico2", "rp2350", "WIZnet", "W5100S-EVB-Pico2", "0x2e8a", "0x1027", 250, "WIZNET_5100S_EVB_PICO2", 2, 0, "none")
|
||||
MakeBoard("wiznet_wizfi360_evb_pico", "rp2040", "WIZnet", "WizFi360-EVB-Pico", "0x2e8a", "0x1028", 250, "WIZNET_WIZFI360_EVB_PICO", 2, 0, "boot2_w25q080_2_padded_checksum")
|
||||
MakeBoard("wiznet_5500_evb_pico", "rp2040", "WIZnet", "W5500-EVB-Pico", "0x2e8a", "0x1029", 250, "WIZNET_5500_EVB_PICO", 2, 0, "boot2_w25q080_2_padded_checksum")
|
||||
MakeBoard("wiznet_5500_evb_pico2", "rp2350", "WIZnet", "W5500-EVB-Pico2", "0x2e8a", "0x1029", 250, "WIZNET_5500_EVB_PICO2", 2, 0, "none")
|
||||
MakeBoard("wiznet_55rp20_evb_pico", "rp2040", "WIZnet", "W55RP20-EVB-Pico", "0x2e8a", "0x1029", 250, "WIZNET_55RP20_EVB_PICO", 2, 0, "boot2_w25q080_2_padded_checksum")
|
||||
|
||||
# Generic
|
||||
|
||||
@@ -1,16 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
// Pin definitions taken from:
|
||||
// https://www.seeedstudio.com/Seeed-XIAO-RP2350-p-5944.html
|
||||
|
||||
static const uint8_t A0 = (26u);
|
||||
static const uint8_t A1 = (27u);
|
||||
static const uint8_t A2 = (28u);
|
||||
|
||||
|
||||
static const uint8_t D0 = (26u);
|
||||
static const uint8_t D1 = (27u);
|
||||
static const uint8_t D2 = (28u);
|
||||
static const uint8_t D3 = (5u);
|
||||
static const uint8_t D4 = (6u);
|
||||
static const uint8_t D5 = (7u);
|
||||
static const uint8_t D6 = (0u);
|
||||
static const uint8_t D7 = (1u);
|
||||
static const uint8_t D8 = (2u);
|
||||
static const uint8_t D9 = (4u);
|
||||
static const uint8_t D10 = (3u);
|
||||
static const uint8_t D11 = (21u);
|
||||
static const uint8_t D12 = (20u);
|
||||
static const uint8_t D13 = (17u);
|
||||
static const uint8_t D14 = (16u);
|
||||
static const uint8_t D15 = (11u);
|
||||
static const uint8_t D16 = (12u);
|
||||
static const uint8_t D17 = (10u);
|
||||
static const uint8_t D18 = (9u);
|
||||
|
||||
// LEDs
|
||||
#define PIN_LED (25u)
|
||||
|
||||
|
||||
// Serial
|
||||
#define PIN_SERIAL1_TX (0u)
|
||||
#define PIN_SERIAL1_RX (1u)
|
||||
@@ -34,17 +52,23 @@
|
||||
|
||||
|
||||
// Wire
|
||||
#define PIN_WIRE0_SDA (16u)
|
||||
#define PIN_WIRE0_SCL (17u)
|
||||
|
||||
|
||||
#define PIN_WIRE1_SDA (6u)
|
||||
#define PIN_WIRE1_SCL (7u)
|
||||
|
||||
#define PIN_WIRE1_SDA (16u)
|
||||
#define PIN_WIRE1_SCL (17u)
|
||||
|
||||
#define SERIAL_HOWMANY (3u)
|
||||
#define SPI_HOWMANY (2u)
|
||||
#define WIRE_HOWMANY (2u)
|
||||
|
||||
|
||||
#include "../generic/common.h"
|
||||
static const uint8_t MOSI = PIN_SPI0_MOSI;
|
||||
static const uint8_t MISO = PIN_SPI0_MISO;
|
||||
static const uint8_t SCK = PIN_SPI0_SCK;
|
||||
static const uint8_t SS = PIN_SPI0_SS;
|
||||
|
||||
#define __WIRE0_DEVICE (i2c1)
|
||||
#define PIN_WIRE0_SDA (6u)
|
||||
#define PIN_WIRE0_SCL (7u)
|
||||
#define SDA PIN_WIRE0_SDA
|
||||
#define SCL PIN_WIRE0_SCL
|
||||
#define I2C_SDA (SDA)
|
||||
#define I2C_SCL (SCL)
|
||||
@@ -0,0 +1,50 @@
|
||||
#pragma once
|
||||
|
||||
// LEDs
|
||||
#define PIN_LED (32u)
|
||||
|
||||
#define PIN_NEOPIXEL (14)
|
||||
#define NUM_NEOPIXEL (1)
|
||||
|
||||
// Serial
|
||||
#define PIN_SERIAL1_TX (0u)
|
||||
#define PIN_SERIAL1_RX (1u)
|
||||
|
||||
#define PIN_SERIAL2_TX (31u)
|
||||
#define PIN_SERIAL2_RX (31u)
|
||||
|
||||
// SPI
|
||||
#define PIN_SPI0_MISO (4u)
|
||||
#define PIN_SPI0_MOSI (3u)
|
||||
#define PIN_SPI0_SCK (2u)
|
||||
#define PIN_SPI0_SS (9u) // CS pin for SD card
|
||||
|
||||
#define PIN_SPI1_MISO (31u)
|
||||
#define PIN_SPI1_MOSI (31u)
|
||||
#define PIN_SPI1_SCK (31u)
|
||||
#define PIN_SPI1_SS (31u)
|
||||
|
||||
// Wire
|
||||
#define PIN_WIRE0_SDA (6u)
|
||||
#define PIN_WIRE0_SCL (7u)
|
||||
|
||||
#define PIN_WIRE1_SDA (31u)
|
||||
#define PIN_WIRE1_SCL (31u)
|
||||
|
||||
// Thing Plus uses I2C for Qwiic connector, make that the default
|
||||
#ifndef __WIRE0_DEVICE
|
||||
#define __WIRE0_DEVICE i2c1
|
||||
#endif
|
||||
#ifndef __WIRE1_DEVICE
|
||||
#define __WIRE1_DEVICE i2c0
|
||||
#endif
|
||||
|
||||
#define SERIAL_HOWMANY (3u)
|
||||
#define SPI_HOWMANY (1u)
|
||||
#define WIRE_HOWMANY (1u)
|
||||
|
||||
// PSRAM
|
||||
#define RP2350_PSRAM_CS (8u)
|
||||
#define RP2350_PSRAM_MAX_SCK_HZ (109*1000*1000)
|
||||
|
||||
#include "../generic/common.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "../generic/pins_arduino.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "../generic/pins_arduino.h"
|
||||
Reference in New Issue
Block a user