Google open source Pigweed, used to enhance the efficiency of embedded development

Google in late January had USPTO (US Patent and Trademark Office) submitted a new application for trademark the name "Pigweed" of. According to the application content point of view, Pigweed trademark covers "computer operating software." At the time, speculation that this is a new operating system trademark, but did not have any relevant information available.

Yesterday, Google is no sign published and open source Pigweed. Previous conjecture different, which is a collection of embedded library (or module). Pigweed module can use the 32-bit microcontroller (i.e., a single circuit chip embedded in a small computer) faster, more reliable development.

Pigweed module can be provided to meet the broad needs of embedded developers. From the entire life cycle perspective, Pigweed from setting, to develop, and then submit the code, can effectively improve the efficiency of embedded development. Google axis in the above development process, around these areas introduces some modules Pigweed, respectively.

Embedded space in the classic challenge is to reduce the run git clone from time to execute binary files on the device. For the production of embedded projects, often usually need a set of tools. Pigweed the virtual environment can be provided by the tool set of simplified, particularly, the boot script Pigweed pw_env_setup module may set the current shell to access a set of standard tools - including Python 3.8, clang compiler and the ARM format. All of this is done in a virtual environment, there is no need to modify the system's default environment.  

In a typical embedded development, even small changes also need to add some additional manual steps. The Pigweed of pw_watch module directly addresses the problem of low efficiency of this kind, it provides a supervisor (watcher), the watcher can automatically invoke the build when you save the file, code changes also affected by specific tests can be run. This greatly shortens the editing changes - the compiler - Refresh - test (edit-compile-flash-test) cycle.

These tests are done automatically, users do not need to leave their code editor. In addition, the module may also be used pw_target_runner run tests on a plurality of parallel devices, thus saving more time.

Team development code needs to be emphasized consistency, however, set up lint, configuration code format, and add automatic inspection before submitting generally makes the job indefinitely delayed. At this time, Pigweed pw_presubmit the modules come in handy. It provides user-based tools may have been used off-the-Lint integrated suite of pre-configured, it can be immediately available to the microcontroller developers.

As for why the project named "Pigweed", Google gives the explanation: ". Pigweed, also known as amaranth, is a nutrient-rich leafy salad vegetables and cereals, is also a fast-growing weed" Pigweed project team hope interesting name, but also reflect the growth of the project itself, like a fast-growing weed Pigweed the same.

Currently, Pigweed has provided a lot of modules, there will be more follow-up module is added. It should be noted that it is still in the early stages of development, is currently not suitable for production use.

Guess you like

Origin www.oschina.net/news/114249/google-open-sources-pigweed