4 ms·
Big day for my team (Pigweed)! Some of our work got mentioned in the main RP2350/Pico2 announcement [1] but for many months we've been working on a new end-to-e
by kaycebasques 2y ago
Big day for my team (Pigweed)! Some of our work got mentioned in the main RP2350/Pico2 announcement [1] but for many months we've been working on a new end-to-end SDK [2] built on top of Bazel [3] with support for both RP2040 and RP2350, including upstreaming Bazel support to the Pico SDK. Our new "Tour of Pigweed" [4] shows a bunch of Pigweed features working together in a single codebase, e.g. hermetic builds, on-device unit tests, RPC-centric comms, factory-at-your-desk testing, etc. We're over in our Discord [5] if you've got any questions
[1] https://www.raspberrypi.com/news/raspberry-pi-pico-2-our-new-5-microcontroller-board-on-sale-now/ https://www.raspberrypi.com/news/raspberry-pi-pico-2-our-new...
[2] https://opensource.googleblog.com/2024/08/introducing-pigweed-sdk.html https://opensource.googleblog.com/2024/08/introducing-pigwee...
[3] https://blog.bazel.build/2024/08/08/bazel-for-embedded.html https://blog.bazel.build/2024/08/08/bazel-for-embedded.html
[4] https://pigweed.dev/docs/showcases/sense/ https://pigweed.dev/docs/showcases/sense/
[5] https://discord.gg/M9NSeTA https://discord.gg/M9NSeTA
- dheera 2y agoI hate Bazel. A build system for C/C++ should not require a Java JVM. Please keep Java out of microcontroller ecosystem please -__--
- jaeckel 2y agoAnd only discord on top, but maybe I'm simply not hip enough
- kaycebasques 2y agoI forwarded your feedback to the team and we are now vigorously debating which other comms channels we can all live with
- kaycebasques 2y agoWe realize Bazel is not the right build system for every embedded project. The "Bazel for Embedded" post that came out today (we co-authored it) talks more about why we find Bazel so compelling: https://blog.bazel.build/2024/08/08/bazel-for-embedded.html https://blog.bazel.build/2024/08/08/bazel-for-embedded.html
- actionfromafar 2y agoBazel is great for some Enterprise. Try it somewhere Azure rules and behold the confused looks everywhere.
- bobsomers 2y agoIn my experience, Bazel is great if you are a Google-sized company that can afford to have an entire team of at least 5-10 engineers doing nothing but working on your build system full time. But I've watched it be insanely detrimental to the productivity of smaller companies and teams who don't understand the mountain of incidental complexity they're signing up for when adopting it. It's usually because a startup hires an ex-Googler who raves about how great Blaze is without understanding how much effort is spent internally to make it great.
- kaycebasques 2y agoThanks for the discussion. What was the timeframe of your work in these Bazel codebases (or maybe it's ongoing)? And were they embedded systems or something else?
- clumsysmurf 2y agoMaybe there is a way to create a native executable with GraalVM...
- TickleSteve 2y agoI have to admit, Bazel as a build system would mean it wouldnt even be considered by me, it has to fit in with everything else which typically means Makefiles, like it or not. TBH, Java + Bazel + Discord makes it seem like its out of step with the embedded world.
- steeve 2y agoBazel is amazing and doing C++ with anything other is like going back to the stone age. The Bazel team has done an amazing job, the VM is embedded and trimmed. It’s as easy and download and run. And worst case you can invest in Buck2.
- snvzz 2y agoIs RISC-V supported? I am surprised the Pigweed announcement makes no mention of this.
- simfoo 2y agoPretty awesome. I love Bazel and it seems you're making good use of it. It's such a difference seeing everything hermetically integrated with all workflows boiling down to a Bazel command.