Unverified Commit 21d2fb4a authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Add Pimoroni Tiny2040 (#1672)

Fixes #1604.  Supports 2MB and 8MB revs
parent ade74986
...@@ -50,6 +50,8 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo ...@@ -50,6 +50,8 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
* Neko Systems BL2040 Mini * Neko Systems BL2040 Mini
* nullbits Bit-C PRO * nullbits Bit-C PRO
* Pimoroni PGA2040 * Pimoroni PGA2040
* Pimoroni Plasma2040
* Pimoroni Tiny2040
* Seeed Indicator RP2040 * Seeed Indicator RP2040
* Seeed XIAO RP2040 * Seeed XIAO RP2040
* Silicognition RP2040-Shim * Silicognition RP2040-Shim
......
This diff is collapsed.
...@@ -152,6 +152,9 @@ ...@@ -152,6 +152,9 @@
{ {
"name": "Pimoroni Plasma2040" "name": "Pimoroni Plasma2040"
}, },
{
"name": "Pimoroni Tiny2040"
},
{ {
"name": "Silicognition RP2040-Shim" "name": "Silicognition RP2040-Shim"
}, },
......
...@@ -215,6 +215,9 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flash ...@@ -215,6 +215,9 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flash
BuildFlashMenu(name, 4*1024*1024, [0, 3*1024*1024, 2*1024*1024]) BuildFlashMenu(name, 4*1024*1024, [0, 3*1024*1024, 2*1024*1024])
BuildFlashMenu(name, 8*1024*1024, [0, 7*1024*1024, 4*1024*1024, 2*1024*1024]) BuildFlashMenu(name, 8*1024*1024, [0, 7*1024*1024, 4*1024*1024, 2*1024*1024])
BuildFlashMenu(name, 16*1024*1024, [0, 15*1024*1024, 14*1024*1024, 12*1024*1024, 8*1024*1024, 4*1024*1024, 2*1024*1024]) BuildFlashMenu(name, 16*1024*1024, [0, 15*1024*1024, 14*1024*1024, 12*1024*1024, 8*1024*1024, 4*1024*1024, 2*1024*1024])
elif name == "pimoroni_tiny2040":
BuildFlashMenu(name, 2*1024*1024, fssizelist)
BuildFlashMenu(name, 8*1024*1024, [0, 7*1024*1024, 4*1024*1024, 2*1024*1024])
else: else:
BuildFlashMenu(name, flashsizemb * 1024 * 1024, fssizelist) BuildFlashMenu(name, flashsizemb * 1024 * 1024, fssizelist)
BuildFreq(name) BuildFreq(name)
...@@ -408,6 +411,7 @@ MakeBoard("nullbits_bit_c_pro", "nullbits", "Bit-C PRO", "0x2e8a", "0x6e61", 500 ...@@ -408,6 +411,7 @@ MakeBoard("nullbits_bit_c_pro", "nullbits", "Bit-C PRO", "0x2e8a", "0x6e61", 500
# Pimoroni # Pimoroni
MakeBoard("pimoroni_pga2040", "Pimoroni", "PGA2040", "0x2e8a", "0x1008", 250, "PIMORONI_PGA2040", 8, "boot2_w25q64jv_4_padded_checksum") MakeBoard("pimoroni_pga2040", "Pimoroni", "PGA2040", "0x2e8a", "0x1008", 250, "PIMORONI_PGA2040", 8, "boot2_w25q64jv_4_padded_checksum")
MakeBoard("pimoroni_plasma2040", "Pimoroni", "Plasma2040", "0x2e8a", "0x100a", 500, "PIMORONI_PLASMA2040", 2, "boot2_w25q080_2_padded_checksum") MakeBoard("pimoroni_plasma2040", "Pimoroni", "Plasma2040", "0x2e8a", "0x100a", 500, "PIMORONI_PLASMA2040", 2, "boot2_w25q080_2_padded_checksum")
MakeBoard("pimoroni_tiny2040", "Pimoroni", "Tiny2040", "0x2e8a", "0x100a", 500, "PIMORONI_TINY2040", 2, "boot2_w25q64jv_4_padded_checksum")
# Silicognition # Silicognition
MakeBoard("silicognition_rp2040_shim", "Silicognition", "RP2040-Shim", "0x1209", "0xf502", 500, "SILICOGNITION_RP2040_SHIM", 4, "boot2_generic_03h_4_padded_checksum") MakeBoard("silicognition_rp2040_shim", "Silicognition", "RP2040-Shim", "0x1209", "0xf502", 500, "SILICOGNITION_RP2040_SHIM", 4, "boot2_generic_03h_4_padded_checksum")
......
#pragma once
// This is a bare board with no real predefined pins, so use generic
#include "../generic/pins_arduino.h"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment