Skip to main content
A well-organised folder structure makes it easy to navigate, build and publish atopile projects. This page walks through the recommended structure for both everyday projects and reusable packages.

1. High–level layout

  • ato.yaml–the central manifest read by the compiler and package manager.
  • src/–pure ato source; keep one module per file where possible.
  • layout/–KiCad footprints, STEP models or manual board tweaks.

2. The ato.yaml manifest

The manifest glues everything together. A minimal example:
  • paths–lets you move src/ or layout/ somewhere else if needed.
  • builds–define one or more build targets (for example: default, panelized, test-jig).
  • dependencies–registry, git or local packages installed with ato add.

3. A typical workflow

  1. Sketch your circuit on paper.
  2. Search https://packages.atopile.io and GitHub for pre-existing modules you need, and use ato add to install them.
  3. Design a module and do its calculations using ato code.
  4. Run ato build to compile your project, choose components to suit your design, and update your layout (PCB) file.
  5. Use KiCAD to lay out any changes
  6. Repeat steps 3-5 until you’re happy with your design.
  7. When you’re done with your design, push your changes to your repo.
  8. CI will automatically build and test your project, and generate the manufacturing files you need to order your PCBs.
  9. Take these manufacturing files to your PCB manufacturer to get your PCBAs.