seveibar/rp2040-zero
This code defines a hardware schematic with discrete components and modules including voltage regulators, microcontroller (RP2040), flash memory, LEDs, crystal oscillator, and buttons, interconnected through specific pins and footprints for PCB layout.
Usage: To use the RP2040 component from the "@tsci/seveibar.rp2040-zero" package: 1. Import the component: ```tsx import { RP2040 } from "@tsci/seveibar.rp2040-zero/imports/RP2040" ``` 2. Use in a circuit: ```tsx <RP2040 name="U3" connections={{ // Connect pins to nets or other components GPIO0: "net.GPIO0", IOVDD1: "net.V3_3", GND: "net.GND" }} /> ``` Key details: - Supports 57 pins - Pins include GPIO, power, USB, crystal, and debug interfaces - Can be configured with various connections and pin mappings
- Version
- 0.0.18-pr6-2229c6f4
- License
- unset
- Stars
- 1
biome.json
PCB
Schematic
{"$schema":"https://biomejs.dev/schemas/2.0.0/schema.json","assist":{"actions":{"source":{"organizeImports":"on"}}},"formatter":{"enabled":true,"indentStyle":"space"},"files":{"includes":["**","!**/cosmos-export","!**/dist","!**/package.json"]},"javascript":{"formatter":{"jsxQuoteStyle":"double","quoteProperties":"asNeeded","trailingCommas":"all","semicolons":"asNeeded","arrowParentheses":"always","bracketSpacing":true,"bracketSameLine":false}},"linter":{"enabled":true,"rules":{"recommended":true,"suspicious":{"noExplicitAny":"off"},"complexity":{"noForEach":"error","useLiteralKeys":"off"},"a11y":{"noAccessKey":"off","noAriaHiddenOnFocusable":"off","noAriaUnsupportedElements":"off","noAutofocus":"off","noDistractingElements":"off","noHeaderScope":"off","noInteractiveElementToNoninteractiveRole":"off","noLabelWithoutControl":"off","noNoninteractiveElementToInteractiveRole":"off","noNoninteractiveTabindex":"off","noPositiveTabindex":"off","noRedundantAlt":"off","noRedundantRoles":"off","noStaticElementInteractions":"off","noSvgWithoutTitle":"off","useAltText":"off","useAnchorContent":"off","useAriaActivedescendantWithTabindex":"off","useAriaPropsForRole":"off","useAriaPropsSupportedByRole":"off","useButtonType":"off","useFocusableInteractive":"off","useHeadingContent":"off","useHtmlLang":"off","useIframeTitle":"off","useKeyWithClickEvents":"off","useKeyWithMouseEvents":"off","useMediaCaption":"off","useSemanticElements":"off","useValidAnchor":"off","useValidAriaProps":"off","useValidAriaRole":"off","useValidAriaValues":"off","useValidAutocomplete":"off","useValidLang":"off"},"style":{"useSingleVarDeclarator":"error","noParameterAssign":"off","noUselessElse":"off","noNonNullAssertion":"off","useNumberNamespace":"off","noUnusedTemplateLiteral":"off","useFilenamingConvention":{"level":"error","options":{"strictCase":true,"requireAscii":true,"filenameCases":["kebab-case","export"]}},"useAsConstAssertion":"error","useDefaultParameterLast":"error","useEnumInitializers":"error","useSelfClosingElements":"error","noInferrableTypes":"error"}}}}