Closed dhylands closed 6 years ago
You can build using:
./build.sh --example http --features board-sensorweb
or
./build.sh --example http --features board-launchpadxl
Or you can add a line to Cargo.toml which says
default = [ "board-sensorweb" ]
although once a feature is set it can't be unset.
I would rather remove the launchpadxl specifics out of this repo and create a board-launchpadxl library for these. In the same vein, we would have a board-sensorweb library with code for the on board temperature/humidity and PM2.5 sensors (maybe we can do something generic for the PM2.5 one?).
So the dependencies would be:
cc3200-rs crate
|
+-- cc3200 examples (in the cc3200-rs crate)
|
+-- board-launchpadxl crate
| |
| +-- launchpad examples using on board sensors (in the board-launchpadxl crate)
|
+-- board-sensorweb crate
|
+-- sensorweb-firmware crate
What do you think?
The v1.3 board looks like its going to be different from the next batch of boards (different LED driver, I2C port has moved, etc), so we should probably put a version number into the sensorweb board.
I'm assuming that your tree has the direction that the leaves know about things towards the root, and not the other way around.
Yes, I tried to draw something similar to the output cargo tree
Closing old PRs
I thought I'd throw this as an example for doing configuration.