Foundry — design, manufacture, sell, claim
Foundry takes you from parts catalog to a product customers can buy and claim — without writing firmware or CAD. The full lifecycle runs inside your project.
Lifecycle at a glance
| Stage | Where | What happens |
|---|---|---|
| Design | Hardware | Pick a controller and parts from the catalog. Lattice validates pin assignments live, computes a BOM, and flags issues. |
| Freeze | Hardware | Freezing locks the design (like sending files to a real fab) and generates its device type — metrics and commands derived from the parts. |
| Quote | Manufacturing | Get a price curve by quantity: BOM, PCB, assembly, test, packaging, setup, and lead time. |
| Order | Manufacturing | Place the run. The order advances through DFM review → fabrication → assembly → testing → shipping, with history at each step. |
| Inventory | Manufacturing | Each manufactured unit gets a serial and a unique claim code, tracked from in-stock through delivery. |
| Storefront | Store | Publish a product page at /store/your-slug. Buyers check out with just an email — the order page tracks progress live. |
| Claim | /claim | Delivered orders reveal claim codes. A buyer redeems the code and the device lands live in their own Lattice project. |
What's simulated (honesty section)
Foundry's factory is a simulation. No physical boards are manufactured or shipped: the "fab" advances orders through realistic stages on a timer, inventory units are virtual, and claimed devices come alive as virtual devices that report real telemetry through the same data plane physical hardware would use.
Everything around the simulated fab is real: quoting math and BOMs use catalog pricing, generated firmware is real ESP32/PlatformIO code you can flash, the storefront and claim flow are live, and claimed devices stream data you can chart, alert on, and command.
Claiming a device
- Claim codes look like
LAT-XXXX-XXXX-XXXXand appear on the order page once delivery completes. - Redeem at
/claim(a free account is required — the device has to land in your project). - Claiming copies the product's device type into your project if needed, creates the device, and starts it reporting within seconds.
- Each code is single-use; already-claimed codes are rejected.
Firmware
Any frozen design can generate a PlatformIO firmware zip: wiring derived from the validated pin map, drivers for every part, Wi-Fi and connectivity handling, and command dispatch matching the device type. Provide a device token to bake in credentials, or flash with placeholders and fill them later.