1.. _docs-blog-07-bazelcon-2024.rst: 2 3============================== 4Pigweed Blog #7: BazelCon 2024 5============================== 6*Published on 2024-12-13 by Ted Pudlik* 7 8Pigweed core team members attended `BazelCon 2024 9<https://events.linuxfoundation.org/bazelcon/>`__. We had a great time, learned 10a lot, connected with the broader Bazel community—and gave two talks about our 11work on Bazel and Pigweed! 12 13------------------------------ 14Creating C++ toolchains easily 15------------------------------ 16By Armando Montanez (Pigweed) and Matt Stark (Google). 17 18Video 19===== 20.. raw:: html 21 22 <iframe width="560" height="315" 23 src="https://www.youtube.com/embed/PVFU5kFyr8Y" 24 title="Creating C++ toolchains easily" frameborder="0" 25 referrerpolicy="strict-origin-when-cross-origin" allowfullscreen> 26 </iframe> 27 28Abstract 29======== 30Dive into the new `rules_cc`_ mechanism for defining C++ toolchains. The new 31mechanism (which we contributed) is simpler, safer, more explicit, and more 32modular than the previous mechanism. It also removes confusing concepts such as 33``compile_files``. 34 35.. _rules_cc: https://github.com/bazelbuild/rules_cc 36 37Further reading 38=============== 39See :ref:`docs-blog-06-better-cpp-toolchains` for more about this work! 40 41------------------------------------------ 42Pigweed and Bazel for embedded development 43------------------------------------------ 44By Ted Pudlik (Pigweed). 45 46Video 47===== 48.. raw:: html 49 50 <iframe width="560" height="315" 51 src="https://www.youtube.com/embed/eiHTMU6a7uQ" 52 title="Pigweed and Bazel for embedded development" frameborder="0" 53 referrerpolicy="strict-origin-when-cross-origin" allowfullscreen> 54 </iframe> 55 56Abstract 57======== 58Pigweed is an open-source collection of embedded libraries. We aim to make 59Bazel the best build system for developing microcontroller firmware. In this 60talk, I'll discuss how Pigweed leverages Bazel's build configuration APIs and 61platforms to solve common problems in building embedded firmware: building 62binaries for multiple cores in one Bazel invocation, compiling flasher scripts 63that embed the firmware, creating libraries with platform-specific 64implementations, and more! 65