mirror of
https://github.com/diodeinc/pcb.git
synced 2026-09-14 20:17:19 +08:00
e852477546
* Initial release * cargo-dist * build and test CI * update ubuntu workflow * fmt * ubuntu: install deps * clippy: 0.1.88 fixes * format * install clippy * Update README.md * Don't run cargo-dist on PRs
17 lines
309 B
Python
17 lines
309 B
Python
load("stdlib.star", "I2C", "Power")
|
|
|
|
BMI270 = Module("BMI270.star")
|
|
|
|
p = Power("POWER")
|
|
i2c = I2C("I2C")
|
|
|
|
BMI270(
|
|
name = "BMI270",
|
|
power = p,
|
|
i2c = i2c,
|
|
)
|
|
|
|
# HACK: Put the layout in build/ so that the snapshot ends up there, which
|
|
# is what the test expects.
|
|
add_property("layout_path", "build/")
|