seveibar/minimal-rp2040

This design features a Raspberry Pi RP2040 microcontroller with integrated decoupling capacitors, QSPI flash memory, crystal oscillator, and USB power circuitry, all mounted on a 65mm by 60mm four-layer PCB.

Usage: To import and use the RP2040 component in a tscircuit project: 1. Import the component: ```tsx import { RP2040 } from "@tsci/seveibar.minimal-rp2040" ``` 2. Use the component in a board: ```tsx <board> <RP2040 name="U3" pcbX={0} pcbY={0} connections={{ IOVDD1: "net.V3V3", // Add other required connections }} /> </board> ``` Key points: - Specify a name for the component - Set position using `pcbX` and `pcbY` - Define necessary network connections in the `connections` prop - Ensure proper power and ground connections

Version
1.0.1
License
unset
Stars
1

dist/index.js

PCBPCB preview for dist/index.js
SchematicSchematic preview for dist/index.js
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';

const Decoupling = () => (jsxs(Fragment, { children: [jsx("capacitor", { name: "C6", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.DVDD1", neg: "net.GND" } }), jsx("capacitor", { name: "C7", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.DVDD2", neg: "net.GND" } }), jsx("capacitor", { name: "C8", footprint: "0402", capacitance: "1uF", connections: { pos: "U3.VREG_IN", neg: "net.GND" } }), jsx("capacitor", { name: "C9", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.IOVDD1", neg: "net.GND" } }), jsx("capacitor", { name: "C11", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.IOVDD2", neg: "net.GND" } }), jsx("capacitor", { name: "C12", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.IOVDD3", neg: "net.GND" } }), jsx("capacitor", { name: "C13", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.IOVDD4", neg: "net.GND" } }), jsx("capacitor", { name: "C14", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.IOVDD5", neg: "net.GND" } }), jsx("capacitor", { name: "C18", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.IOVDD6", neg: "net.GND" } }), jsx("capacitor", { name: "C15", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.USB_VDD", neg: "net.GND" } }), jsx("capacitor", { name: "C16", footprint: "0402", capacitance: "100nF", connections: { pos: "U3.ADC_AVDD", neg: "net.GND" } }), jsx("capacitor", { name: "C10", footprint: "0402", capacitance: "1uF", connections: { pos: "U3.VREG_VOUT", neg: "net.GND" } })] }));

const Flash = () => (jsxs(Fragment, { children: [jsx("chip", { name: "U2", pcbX: -15, pcbY: 15, footprint: "soic8", pinLabels: {
                pin1: "QSPI_SS",
                pin2: "QSPI_SCLK",
                pin3: "QSPI_SD0",
                pin4: "QSPI_SD1",
                pin5: "QSPI_SD2",
                pin6: "QSPI_SD3",
                pin7: "GND",
                pin8: "VCC",
            }, connections: {
                QSPI_SS: "net.QSPI_SS",
                QSPI_SCLK: "net.QSPI_SCLK",
                QSPI_SD0: "net.QSPI_SD0",
                QSPI_SD1: "net.QSPI_SD1",
                QSPI_SD2: "net.QSPI_SD2",
                QSPI_SD3: "net.QSPI_SD3",
                VCC: "net.V3V3",
                GND: "net.GND",
            } }), jsx("capacitor", { name: "C5", footprint: "0402", capacitance: "100nF", connections: { pos: "U2.VCC", neg: "net.GND" } }), jsx("pinheader", { name: "J2", pinCount: 2, gender: "female", pitch: "2.54mm", pcbX: -10, pcbY: -10, schFacingDirection: "up", pinLabels: ["USB_BOOT", "GND"], connections: {
                USB_BOOT: "net.USB_BOOT",
                GND: "net.GND",
            } }), jsx("resistor", { name: "R1", resistance: "1k", footprint: "0402", connections: { pin1: "net.USB_BOOT", pin2: "net.QSPI_SS" } }), jsx("resistor", { name: "R2", resistance: "10k", footprint: "0402", connections: { pin1: "net.QSPI_SS", pin2: "net.V3V3" } })] }));

const Crystal = () => (jsxs(Fragment, { children: [jsx("crystal", { name: "Y1", footprint: "hc49", loadCapacitance: "18pF", frequency: "12MHz", pcbX: 0, pcbY: -15, obstructsWithinBounds: true, connections: { pin1: "U3.XIN", pin2: "net.XOUT_CRYSTAL" } }), jsx("capacitor", { name: "C3", footprint: "0402", capacitance: "27pF", connections: { pos: "Y1.pin2" } })] }));

const pinLabels$1 = {
    pin1: ["GND1"],
    pin2: ["VBUS1"],
    pin3: ["SBU2"],
    pin4: ["CC1"],
    pin5: ["DN2"],
    pin6: ["DP1"],
    pin7: ["DN1"],
    pin8: ["DP2"],
    pin9: ["SBU1"],
    pin10: ["CC2"],
    pin11: ["VBUS2"],
    pin12: ["GND2"],
    pin13: ["SHELL1"],
    pin14: ["SHELL2"],
    pin15: ["pin13_alt1"],
    pin16: ["pin14_alt1"],
};
const TYPE_C_16PIN_2MD_073_ = (props) => {
    return (jsx("chip", Object.assign({ pinLabels: pinLabels$1, supplierPartNumbers: {
            jlcpcb: ["C2765186"],
        }, manufacturerPartNumber: "TYPE_C_16PIN_2MD_073_", footprint: jsxs("footprint", { children: [jsx("hole", { pcbX: "-2.8898849999999356mm", pcbY: "1.0549255499997798mm", diameter: "0.700024mm" }), jsx("hole", { pcbX: "2.8901389999999765mm", pcbY: "1.0549255499997798mm", diameter: "0.700024mm" }), jsx("platedhole", { portHints: ["pin13"], pcbX: "-4.324985000000083mm", pcbY: "1.575117549999959mm", holeWidth: "0.5999987999999999mm", holeHeight: "1.499997mm", outerWidth: "1.0999978mm", outerHeight: "1.9999959999999999mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin14"], pcbX: "4.324985000000083mm", pcbY: "1.575117549999959mm", holeWidth: "0.5999987999999999mm", holeHeight: "1.499997mm", outerWidth: "1.0999978mm", outerHeight: "1.9999959999999999mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin15"], pcbX: "-4.324985000000083mm", pcbY: "-2.625026450000064mm", holeWidth: "0.5999987999999999mm", holeHeight: "1.1999976mm", outerWidth: "1.1999975999999999mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin16"], pcbX: "4.324985000000083mm", pcbY: "-2.625026450000064mm", holeWidth: "0.5999987999999999mm", holeHeight: "1.1999976mm", outerWidth: "1.1999975999999999mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-3.2000189999999975mm", pcbY: "2.1250275499999134mm", width: "0.5500115999999999mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.399919000000068mm", pcbY: "2.1250275499999134mm", width: "0.5500115999999999mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.7499330000000555mm", pcbY: "2.1250275499999134mm", width: "0.29999939999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.2498070000000325mm", pcbY: "2.1250275499999134mm", width: "0.29999939999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.7499350000000504mm", pcbY: "2.1250275499999134mm", width: "0.29999939999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.2500630000000683mm", pcbY: "2.1250275499999134mm", width: "0.29999939999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "0.2500630000000683mm", pcbY: "2.1250275499999134mm", width: "0.29999939999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "0.7499350000000504mm", pcbY: "2.1250275499999134mm", width: "0.29999939999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "1.2500610000000734mm", pcbY: "2.1250275499999134mm", width: "0.29999939999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "1.7501869999999826mm", pcbY: "2.1250275499999134mm", width: "0.29999939999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "2.4001729999998815mm", pcbY: "2.1250275499999134mm", width: "0.5500115999999999mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "3.2000189999999975mm", pcbY: "2.1250275499999134mm", width: "0.5500115999999999mm", height: "1.0999978mm", shape: "rect" }), jsx("silkscreenpath", { route: [
                        { x: 4.5720761999999695, y: -1.646948650000013 },
                        { x: 4.5720761999999695, y: 0.34700214999986656 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: 4.5720761999999695, y: -5.0759740500000134 },
                        { x: 4.5720761999999695, y: -3.6030026500000076 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: -4.499914800000056, y: -1.6438244500001247 },
                        { x: -4.499914800000056, y: 0.34390335000000505 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: -4.499914800000056, y: -5.224970450000114 },
                        { x: -4.499914800000056, y: -3.6061268500000097 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: 4.5000671999999895, y: -5.224970450000114 },
                        { x: -4.499914800000056, y: -5.224970450000114 },
                    ] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=4ee8413127e64716b804db03d4b340ae&pn=C2765186",
            rotationOffset: { x: 0, y: 0, z: 0 },
            positionOffset: {
                x: 0,
                y: -1.4499970500000927,
                z: -1.8750264499999616,
            },
        } }, props)));
};

const USBPower = () => (jsxs(Fragment, { children: [jsx(TYPE_C_16PIN_2MD_073_, { name: "J1", connections: {
                VBUS1: "net.VBUS",
                VBUS2: "net.VBUS",
                DP1: "net.USB_DP",
                DP2: "net.USB_DP",
                DN1: "net.USB_DM",
                DN2: "net.USB_DM",
                CC1: "net.CC1",
                CC2: "net.CC2",
                GND1: "net.GND",
                GND2: "net.GND",
                SHELL1: "net.GND",
                SHELL2: "net.GND",
            }, pcbRotation: 180, pcbX: 0, pcbY: 26 }), jsx("resistor", { name: "R6", resistance: "5.1k", footprint: "0402", connections: { pin1: "net.CC1", pin2: "net.GND" } }), jsx("resistor", { name: "R7", resistance: "5.1k", footprint: "0402", connections: { pin1: "net.CC2", pin2: "net.GND" } }), jsx("chip", { name: "U1", pcbX: 15, pcbY: 15, footprint: "sot223", obstructsWithinBounds: true, pinLabels: {
                pin1: "GND",
                pin2: "VOUT",
                pin3: "VIN",
                pin4: "VOUT_TAB",
            }, internallyConnectedPins: [["VOUT", "VOUT_TAB"]], connections: {
                VIN: "net.VBUS",
                VOUT: "net.V3V3",
                GND: "net.GND",
            } }), jsx("capacitor", { name: "C1", footprint: "0603", capacitance: "10uF", schOrientation: "vertical", connections: { pos: "U1.VIN", neg: "net.GND" } }), jsx("capacitor", { name: "C4", footprint: "0603", capacitance: "10uF", schOrientation: "vertical", connections: { pos: "U1.VOUT", neg: "net.GND" } }), jsx("resistor", { name: "R3", resistance: "27", footprint: "0402", connections: { pin1: "net.USB_DP_INT", pin2: "net.USB_DP" } }), jsx("resistor", { name: "R4", resistance: "27", footprint: "0402", connections: { pin1: "net.USB_DM_INT", pin2: "net.USB_DM" } })] }));

const GPIO = () => (jsxs("group", { name: "GPIO", children: [jsx("resistor", { name: "R8", resistance: "10k", footprint: "0402", connections: { pin1: "net.RUN", pin2: "net.V3V3" } }), jsx("pinheader", { name: "J3", pinCount: 36, pcbX: 30 - 2.54, pcbY: 0, doubleRow: true, footprint: "pinrow36_rows2_p2.54mm_id1mm_od1.6mm_female_faceup_nosilk", pcbOrientation: "vertical", gender: "female", pitch: "2.54mm", schFacingDirection: "right", pinLabels: [
                "GPIO0",
                "GPIO0",
                "GPIO1",
                "GPIO1",
                "GPIO2",
                "GPIO2",
                "GPIO3",
                "GPIO3",
                "GPIO4",
                "GPIO4",
                "GPIO5",
                "GPIO5",
                "GPIO6",
                "GPIO6",
                "GPIO7",
                "GPIO7",
                "GPIO8",
                "GPIO8",
                "GPIO9",
                "GPIO9",
                "GPIO10",
                "GPIO10",
                "GPIO11",
                "GPIO11",
                "GPIO12",
                "GPIO12",
                "GPIO13",
                "GPIO13",
                "GPIO14",
                "GPIO14",
                "GPIO15",
                "GPIO15",
                "GND",
                "GND",
            ], connections: {
                GPIO0: "net.GPIO0",
                GPIO1: "net.GPIO1",
                GPIO2: "net.GPIO2",
                GPIO3: "net.GPIO3",
                GPIO4: "net.GPIO4",
                GPIO5: "net.GPIO5",
                GPIO6: "net.GPIO6",
                GPIO7: "net.GPIO7",
                GPIO8: "net.GPIO8",
                GPIO9: "net.GPIO9",
                GPIO10: "net.GPIO10",
                GPIO11: "net.GPIO11",
                GPIO12: "net.GPIO12",
                GPIO13: "net.GPIO13",
                GPIO14: "net.GPIO14",
                GPIO15: "net.GPIO15",
                GND: "net.GND",
            } }), jsx("pinheader", { name: "J4", pinCount: 36, doubleRow: true, gender: "female", pcbX: -30 + 2.54, pcbY: 0, pitch: "2.54mm", footprint: "pinrow36_rows2_p2.54mm_id1mm_od1.6mm_female_faceup_noref", schFacingDirection: "right", pcbOrientation: "vertical", pinLabels: [
                "GPIO29_ADC3",
                "GPIO29_ADC3",
                "GPIO28_ADC2",
                "GPIO28_ADC2",
                "GPIO27_ADC1",
                "GPIO27_ADC1",
                "GPIO26_ADC0",
                "GPIO26_ADC0",
                "GPIO25",
                "GPIO25",
                "GPIO24",
                "GPIO24",
                "GPIO23",
                "GPIO23",
                "GPIO22",
                "GPIO22",
                "GPIO21",
                "GPIO21",
                "GPIO20",
                "GPIO20",
                "GPIO19",
                "GPIO19",
                "GPIO18",
                "GPIO18",
                "GPIO17",
                "GPIO17",
                "GPIO16",
                "GPIO16",
                "RUN",
                "RUN",
                "SWD",
                "SWD",
                "SWCLK",
                "SWCLK",
                "GND",
                "GND",
            ], connections: {
                GPIO29_ADC3: "net.GPIO29_ADC3",
                GPIO28_ADC2: "net.GPIO28_ADC2",
                GPIO27_ADC1: "net.GPIO27_ADC1",
                GPIO26_ADC0: "net.GPIO26_ADC0",
                GPIO25: "net.GPIO25",
                GPIO24: "net.GPIO24",
                GPIO23: "net.GPIO23",
                GPIO22: "net.GPIO22",
                GPIO21: "net.GPIO21",
                GPIO20: "net.GPIO20",
                GPIO19: "net.GPIO19",
                GPIO18: "net.GPIO18",
                GPIO17: "net.GPIO17",
                GPIO16: "net.GPIO16",
                RUN: "net.RUN",
                SWD: "net.SWD",
                SWCLK: "net.SWCLK",
                GND: "net.GND",
            } })] }));

const pinLabels = {
    pin1: ["IOVDD1"],
    pin2: ["GPIO0"],
    pin3: ["GPIO1"],
    pin4: ["GPIO2"],
    pin5: ["GPIO3"],
    pin6: ["GPIO4"],
    pin7: ["GPIO5"],
    pin8: ["GPIO6"],
    pin9: ["GPIO7"],
    pin10: ["IOVDD2"],
    pin11: ["GPIO8"],
    pin12: ["GPIO9"],
    pin13: ["GPIO10"],
    pin14: ["GPIO11"],
    pin15: ["GPIO12"],
    pin16: ["GPIO13"],
    pin17: ["GPIO14"],
    pin18: ["GPIO15"],
    pin19: ["TESTEN"],
    pin20: ["XIN"],
    pin21: ["XOUT"],
    pin22: ["IOVDD3"],
    pin23: ["DVDD1"],
    pin24: ["SWCLK"],
    pin25: ["SWD"],
    pin26: ["RUN"],
    pin27: ["GPIO16"],
    pin28: ["GPIO17"],
    pin29: ["GPIO18"],
    pin30: ["GPIO19"],
    pin31: ["GPIO20"],
    pin32: ["GPIO21"],
    pin33: ["IOVDD4"],
    pin34: ["GPIO22"],
    pin35: ["GPIO23"],
    pin36: ["GPIO24"],
    pin37: ["GPIO25"],
    pin38: ["GPIO26_ADC0"],
    pin39: ["GPIO27_ADC1"],
    pin40: ["GPIO28_ADC2"],
    pin41: ["GPIO29_ADC3"],
    pin42: ["IOVDD5"],
    pin43: ["ADC_AVDD"],
    pin44: ["VREG_IN"],
    pin45: ["VREG_VOUT"],
    pin46: ["USB_DM"],
    pin47: ["USB_DP"],
    pin48: ["USB_VDD"],
    pin49: ["IOVDD6"],
    pin50: ["DVDD2"],
    pin51: ["QSPI_SD3"],
    pin52: ["QSPI_SCLK"],
    pin53: ["QSPI_SD0"],
    pin54: ["QSPI_SD2"],
    pin55: ["QSPI_SD1"],
    pin56: ["QSPI_SS"],
    pin57: ["GND"],
};
const RP2040 = (props) => {
    return (jsx("chip", Object.assign({ pinLabels: pinLabels, supplierPartNumbers: {
            jlcpcb: ["C2040"],
        }, manufacturerPartNumber: "RP2040", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-3.5501580000000104mm", pcbY: "2.6000710000001845mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-3.5501580000000104mm", pcbY: "2.200021000000106mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-3.5501580000000104mm", pcbY: "1.7999710000001414mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-3.5501580000000104mm", pcbY: "1.399921000000063mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-3.5501580000000104mm", pcbY: "1.0001250000001392mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-3.5501580000000104mm", pcbY: "0.6000750000000608mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-3.5501580000000104mm", pcbY: "0.20002500000009604mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-3.5501580000000104mm", pcbY: "-0.20002499999998236mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "-3.5501580000000104mm", pcbY: "-0.6000749999999471mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "-3.5501580000000104mm", pcbY: "-0.9998709999999846mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "-3.5501580000000104mm", pcbY: "-1.3999209999999493mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "-3.5501580000000104mm", pcbY: "-1.799970999999914mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "-3.5501580000000104mm", pcbY: "-2.2000209999998788mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "-3.5501580000000104mm", pcbY: "-2.6000709999998435mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "-2.5999439999999368mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-2.200148000000013mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "-1.8000979999999345mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin18"], pcbX: "-1.4000480000001971mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.999998000000005mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin20"], pcbX: "-0.5999480000000403mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin21"], pcbX: "-0.20015200000000277mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin22"], pcbX: "0.19989799999996194mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin23"], pcbX: "0.5999479999999267mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin24"], pcbX: "0.999998000000005mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin25"], pcbX: "1.4000479999999698mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin26"], pcbX: "1.799844000000121mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin27"], pcbX: "2.1998939999998584mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin28"], pcbX: "2.5999439999999368mm", pcbY: "-3.55003099999999mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin29"], pcbX: "3.5501580000000104mm", pcbY: "-2.6000709999998435mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin30"], pcbX: "3.5501580000000104mm", pcbY: "-2.2000209999998788mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin31"], pcbX: "3.5501580000000104mm", pcbY: "-1.799970999999914mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin32"], pcbX: "3.5501580000000104mm", pcbY: "-1.3999209999999493mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin33"], pcbX: "3.5501580000000104mm", pcbY: "-0.9998709999999846mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin34"], pcbX: "3.5501580000000104mm", pcbY: "-0.6000749999999471mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin35"], pcbX: "3.5501580000000104mm", pcbY: "-0.20002499999998236mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin36"], pcbX: "3.5501580000000104mm", pcbY: "0.20002500000009604mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin37"], pcbX: "3.5501580000000104mm", pcbY: "0.6000750000000608mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin38"], pcbX: "3.5501580000000104mm", pcbY: "1.0001250000001392mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin39"], pcbX: "3.5501580000000104mm", pcbY: "1.399921000000063mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin40"], pcbX: "3.5501580000000104mm", pcbY: "1.7999710000001414mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin41"], pcbX: "3.5501580000000104mm", pcbY: "2.200021000000106mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin42"], pcbX: "3.5501580000000104mm", pcbY: "2.6000710000001845mm", width: "1.0999978mm", height: "0.19999959999999997mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin43"], pcbX: "2.5999439999999368mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin44"], pcbX: "2.1998939999998584mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin45"], pcbX: "1.799844000000121mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin46"], pcbX: "1.4000479999999698mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin47"], pcbX: "0.999998000000005mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin48"], pcbX: "0.5999479999999267mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "0.19989799999996194mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin50"], pcbX: "-0.20015200000000277mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin51"], pcbX: "-0.5999480000000403mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin52"], pcbX: "-0.999998000000005mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin53"], pcbX: "-1.4000480000001971mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin54"], pcbX: "-1.8000979999999345mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin55"], pcbX: "-2.200148000000013mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin56"], pcbX: "-2.5999439999999368mm", pcbY: "3.5500310000001036mm", width: "0.19999959999999997mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin57"], pcbX: "-1.1368683772161603e-13mm", pcbY: "0.00012700000002041634mm", width: "3.0999938mm", height: "3.0999938mm", shape: "rect" }), jsx("silkscreenpath", { route: [
                        { x: -3.2409891999999445, y: 3.5000184000000445 },
                        { x: -3.2409891999999445, y: 3.4031682000000956 },
                        { x: -3.5000691999999844, y: 3.1440882000001693 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: -3.5000691999999844, y: 2.9311854000001176 },
                        { x: -2.9311854000001176, y: 3.5000184000000445 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: -3.5000691999999844, y: 2.9311854000001176 },
                        { x: -3.5000691999999844, y: 3.5000184000000445 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: -2.9311854000001176, y: -3.499916799999937 },
                        { x: -3.40004399999998, y: -3.499916799999937 },
                        { x: -3.5000691999999844, y: -3.499916799999937 },
                        { x: -3.5000691999999844, y: -2.9310837999998967 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: 3.499916800000051, y: -2.9310837999998967 },
                        { x: 3.499916800000051, y: -3.499916799999937 },
                        { x: 2.931083800000124, y: -3.499916799999937 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: 2.931083800000124, y: 3.5000184000000445 },
                        { x: 3.499916800000051, y: 3.5000184000000445 },
                        { x: 3.499916800000051, y: 2.9311854000001176 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: -3.5000691999999844, y: 3.5000184000000445 },
                        { x: -2.9311854000001176, y: 3.5000184000000445 },
                    ] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=76b360a9d4c54384a4e47d7e5af156df&pn=C2040",
            rotationOffset: { x: 180, y: 0, z: 0 },
            positionOffset: {
                x: -11368683772161603e-29,
                y: 1.1368683772161603e-13,
                z: 1.8,
            },
        } }, props)));
};

const Rp2040MinimalBoard = () => (jsxs("board", { pcbPack: true, width: "65mm", height: "60mm", autorouter: "laser_prefab", layers: 1, children: [jsx(RP2040, { name: "U3", pcbX: 0, pcbY: 0, connections: {
                // Supplies
                VREG_IN: "net.V3V3",
                VREG_VOUT: "net.V1V1",
                DVDD1: "net.V1V1",
                DVDD2: "net.V1V1",
                IOVDD1: "net.V3V3",
                IOVDD2: "net.V3V3",
                IOVDD3: "net.V3V3",
                IOVDD4: "net.V3V3",
                IOVDD5: "net.V3V3",
                IOVDD6: "net.V3V3",
                USB_VDD: "net.V3V3",
                ADC_AVDD: "net.V3V3",
                GND: "net.GND",
                TESTEN: "net.GND",
                // Debug / reset
                RUN: "net.RUN",
                SWCLK: "net.SWCLK",
                SWD: "net.SWD",
                // QSPI flash
                QSPI_SS: "net.QSPI_SS",
                QSPI_SD0: "net.QSPI_SD0",
                QSPI_SD1: "net.QSPI_SD1",
                QSPI_SD2: "net.QSPI_SD2",
                QSPI_SD3: "net.QSPI_SD3",
                QSPI_SCLK: "net.QSPI_SCLK",
                // USB – internal side (before 27Ω series Rs)
                USB_DP: "net.USB_DP_INT",
                USB_DM: "net.USB_DM_INT",
                // GPIOs
                GPIO0: "net.GPIO0",
                GPIO1: "net.GPIO1",
                GPIO2: "net.GPIO2",
                GPIO3: "net.GPIO3",
                GPIO4: "net.GPIO4",
                GPIO5: "net.GPIO5",
                GPIO6: "net.GPIO6",
                GPIO7: "net.GPIO7",
                GPIO8: "net.GPIO8",
                GPIO9: "net.GPIO9",
                GPIO10: "net.GPIO10",
                GPIO11: "net.GPIO11",
                GPIO12: "net.GPIO12",
                GPIO13: "net.GPIO13",
                GPIO14: "net.GPIO14",
                GPIO15: "net.GPIO15",
                GPIO16: "net.GPIO16",
                GPIO17: "net.GPIO17",
                GPIO18: "net.GPIO18",
                GPIO19: "net.GPIO19",
                GPIO20: "net.GPIO20",
                GPIO21: "net.GPIO21",
                GPIO22: "net.GPIO22",
                GPIO23: "net.GPIO23",
                GPIO24: "net.GPIO24",
                GPIO25: "net.GPIO25",
                GPIO26_ADC0: "net.GPIO26_ADC0",
                GPIO27_ADC1: "net.GPIO27_ADC1",
                GPIO28_ADC2: "net.GPIO28_ADC2",
                GPIO29_ADC3: "net.GPIO29_ADC3",
            } }), jsx(Decoupling, {}), jsx(Flash, {}), jsx(Crystal, {}), jsx(USBPower, {}), jsx(GPIO, {})] }));

export { Rp2040MinimalBoard };