4 ms·
My team works on Pigweed [1], which offers a more terminal based approach to embedded development. Instead of working with Make, we use GN [3] as our primary bu
by mierle 6y ago
My team works on Pigweed [1], which offers a more terminal based approach to embedded development. Instead of working with Make, we use GN [3] as our primary build system (though we also support CMake, and plan to support Bazel).
The "pw watch" command is an integrated watcher that can detect file changes from e.g. vim, then re-build, re-flash your device, and re-run tests according to the dependency graph. I use 2 or 3 STM32F429i Discovery boards to run tests in parallel.
If you're curious, we're giving a workshop [4] at Hackaday's Remoticon; feel free to join or watch the recording after it's up.
[1] https://pigweed.dev https://pigweed.dev
[2] https://pigweed.dev/docs/getting_started.html https://pigweed.dev/docs/getting_started.html
[3] https://gn.googlesource.com/ https://gn.googlesource.com/
[4] https://hackaday.io/project/175167-remoticon-give-pigweed-a-whirl https://hackaday.io/project/175167-remoticon-give-pigweed-a-...
- ducktective 6y agoThanks for the links! Does GN output compile_commands.json of the project?
- mierle 6y agoIt sure does [1]! [1] https://gn.googlesource.com/gn/+/8ce4e49a990c0579ca214ab7967139b2ea792133 https://gn.googlesource.com/gn/+/8ce4e49a990c0579ca214ab7967...