Re:Show HN: Atopile – Design circuit boards with code
by xnzakg on Monday February 05, 2024 @03:40PM
(#39266839)
How does this handle connecting two microcontrollers with one being a SPI master and one being a slave? Or connecting UART between two devices?
Re:Show HN: Atopile – Design circuit boards with code
by napowderly on Monday February 05, 2024 @03:54PM
(#39267020)
Today, poorly. We just do a dumb matching of signal names. I imagine we will do something like add a property to the interfaces on each device.
Interfaces are just a collection of signals eg
you can connect two together like so: micro.i2c ~ sensor.i2cImporting schematics would be possible, but IMO not super valuable as all we could import would be the raw connectivity, a big benefit of our language is being able to add a layer of abstraction on that.