Google Pigweed Libraries Streamline Embedded Software Development on 32-bit Microcontrollers

Google would like to make embedded software development to be as easy as web development as possible, similar to editing a file and running it in a ...
Google Pigweed Libraries Streamline Embedded Software Development on 32-bit Microcontrollers

News, Tutorials, Reviews, and How-Tos related to Embedded Linux and Android, Arduino, ESP8266, Development Boards, TV Boxes, Mini PCs, etc..

There are many components required for , including cross-toolchain, a build system like buildroot or YoCto Project, and debugging tools like OpenOCD.  Once you’ve installed those, development involving several steps including building the code, flashing it to the board, and then running the program on the target.

Google would like to make embedded software development to be as easy as web development as possible, similar to editing a file and running it in a web browser, so they’ve Pigweed open-source collection of embedded-targeted libraries/modules to streamline the development process for 32-bit microcontrollers such as STMicro STM32L452 or Nordic Semi nRF52832.

Pigweed aims to help all steps of the process including tools/environment setup, program development, and code submission.

Setup consists of running a bootstrap script that will automatically install tools such as Python 3.8, clang-format, and an Arm compiler in a virtual environment in order to leave the system’s default environment unmodified.

There are several development “pw_” modules such as Pigweed’s pw_watch that will automatically detect file modification, cross-compile the code, push it to the target, and run a test unit.  That means once the developer saves the file, and everything happens automatically.

While working as part of a team, people usually agree to a code formatting standard, but in my experience, some people may not be willing to adjust their ways or are simply not convinced of the importance of keeping a common format. pw_presubmit helps with this task by having and automatic formatting presubmit checks before a git commit.

If you wonder why Google went with the Pigweed name, here’s the explanation:

Pigweed, also known as amaranth, is a nutritious grain and leafy salad green that is also a rapidly growing weed. When developing the project that eventually became Pigweed, we wanted to find a name that was fun, playful, and reflective of how we saw Pigweed growing. Teams would start out using one module that catches their eye, and after that goes well, they’d quickly start using more.

Pigweed is still in early development, and should not be used for production at this stage. The under an Apache 2.0 license, and you’ll find out how to get started and an explanation for all module in the file.

Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.

What would it feel like to keep Apple products always cool? Join the CoreOS Thermal Management Software team to find out! The Core OS Thermal Management Software Technologies group is looking for a talented software engineer to join the team desig

We are currently looking for a passionate and enthusiastic Embedded Linux Software developer with Open-Source exposure to join our team in our office in Cambridge/UK. This position requires regular presence in our Cambridge office although remo

We are currently looking for passionate and enthusiastic System Integration open-source software developers (junior, middle, senior) to join our ever growing geographically-distributed engineering team. As a member of the Core domain team,

We are looking for passionate and enthusiastic open-source software developers (junior, middle, senior) to join our ever growing geographically-distributed Graphics domain team. The Graphics domain team is contributing to the entire Linux

We are currently looking for passionate and enthusiastic Debian System Integration developers join our ever-growing geographically-distributed consultancy team. You will focus on developing, adapting, integrating, packaging, validating,



source https://www.cnx-software.com/2020/03/20/google-pigweed-libraries-streamline-embedded-software-development-on-32-bit-microcontrollers/

Post a Comment

0 Comments