xref: /aosp_15_r20/external/pigweed/docs/index.rst (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1*61c4878aSAndroid Build Coastguard Worker:html_theme.sidebar_secondary.remove:
2*61c4878aSAndroid Build Coastguard Worker
3*61c4878aSAndroid Build Coastguard Worker.. _docs-root:
4*61c4878aSAndroid Build Coastguard Worker
5*61c4878aSAndroid Build Coastguard Worker=======
6*61c4878aSAndroid Build Coastguard WorkerPigweed
7*61c4878aSAndroid Build Coastguard Worker=======
8*61c4878aSAndroid Build Coastguard Worker*Sustained, robust, and rapid embedded product development for large teams*
9*61c4878aSAndroid Build Coastguard Worker
10*61c4878aSAndroid Build Coastguard Worker-----------
11*61c4878aSAndroid Build Coastguard WorkerGet started
12*61c4878aSAndroid Build Coastguard Worker-----------
13*61c4878aSAndroid Build Coastguard Worker.. raw:: html
14*61c4878aSAndroid Build Coastguard Worker
15*61c4878aSAndroid Build Coastguard Worker   <!-- Add a little space between the H2 and the cards. This is an edge case
16*61c4878aSAndroid Build Coastguard Worker        that only occurs on the homepage so it's best to just hack the fix
17*61c4878aSAndroid Build Coastguard Worker        locally here. -->
18*61c4878aSAndroid Build Coastguard Worker   <br>
19*61c4878aSAndroid Build Coastguard Worker
20*61c4878aSAndroid Build Coastguard Worker.. grid:: 1
21*61c4878aSAndroid Build Coastguard Worker
22*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`rocket` Tour of Pigweed
23*61c4878aSAndroid Build Coastguard Worker      :link: showcase-sense
24*61c4878aSAndroid Build Coastguard Worker      :link-type: ref
25*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-primary
26*61c4878aSAndroid Build Coastguard Worker
27*61c4878aSAndroid Build Coastguard Worker      Explore key Pigweed features, such as hermetic building, full C++
28*61c4878aSAndroid Build Coastguard Worker      code intelligence in VS Code, communicating with devices over RPC,
29*61c4878aSAndroid Build Coastguard Worker      host-side and on-device unit tests, and lots more in a guided
30*61c4878aSAndroid Build Coastguard Worker      walkthrough.
31*61c4878aSAndroid Build Coastguard Worker
32*61c4878aSAndroid Build Coastguard Worker.. grid:: 2
33*61c4878aSAndroid Build Coastguard Worker
34*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`code-square` Bazel quickstart
35*61c4878aSAndroid Build Coastguard Worker      :link: https://cs.opensource.google/pigweed/quickstart/bazel
36*61c4878aSAndroid Build Coastguard Worker      :link-type: url
37*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
38*61c4878aSAndroid Build Coastguard Worker
39*61c4878aSAndroid Build Coastguard Worker      Fork our minimal, Bazel-based starter project to create a new
40*61c4878aSAndroid Build Coastguard Worker      Pigweed project from scratch. The project includes a basic
41*61c4878aSAndroid Build Coastguard Worker      blinky LED program that runs on Raspberry Pi Picos and can
42*61c4878aSAndroid Build Coastguard Worker      be simulated on your development host.
43*61c4878aSAndroid Build Coastguard Worker
44*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`list-ordered` More get started guides
45*61c4878aSAndroid Build Coastguard Worker      :link: docs-get-started
46*61c4878aSAndroid Build Coastguard Worker      :link-type: ref
47*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
48*61c4878aSAndroid Build Coastguard Worker
49*61c4878aSAndroid Build Coastguard Worker      Set up a C++-based Zephyr project, set up GitHub Actions,
50*61c4878aSAndroid Build Coastguard Worker      integrate Pigweed into an existing Bazel project, and more.
51*61c4878aSAndroid Build Coastguard Worker
52*61c4878aSAndroid Build Coastguard Worker---------------------------------------------
53*61c4878aSAndroid Build Coastguard WorkerPigweed SDK launches with Raspberry Pi RP2350
54*61c4878aSAndroid Build Coastguard Worker---------------------------------------------
55*61c4878aSAndroid Build Coastguard Worker.. _Google Pigweed comes to our new RP2350: https://www.raspberrypi.com/news/google-pigweed-comes-to-our-new-rp2350/
56*61c4878aSAndroid Build Coastguard Worker.. _Introducing the Pigweed SDK: https://opensource.googleblog.com/2024/08/introducing-pigweed-sdk.html
57*61c4878aSAndroid Build Coastguard Worker
58*61c4878aSAndroid Build Coastguard WorkerThe first preview release of the Pigweed SDK has launched with official
59*61c4878aSAndroid Build Coastguard Workerhardware support for Raspberry Pi’s newest microprocessor products, the
60*61c4878aSAndroid Build Coastguard WorkerRP2350 and Pico 2! Check out the following blog posts to learn more:
61*61c4878aSAndroid Build Coastguard Worker
62*61c4878aSAndroid Build Coastguard Worker* `Google Pigweed comes to our new RP2350`_
63*61c4878aSAndroid Build Coastguard Worker* `Introducing the Pigweed SDK`_
64*61c4878aSAndroid Build Coastguard Worker
65*61c4878aSAndroid Build Coastguard Worker----------------
66*61c4878aSAndroid Build Coastguard WorkerWhat is Pigweed?
67*61c4878aSAndroid Build Coastguard Worker----------------
68*61c4878aSAndroid Build Coastguard Worker.. raw:: html
69*61c4878aSAndroid Build Coastguard Worker
70*61c4878aSAndroid Build Coastguard Worker   <!-- Add a little space between the H2 and the cards. This is an edge case
71*61c4878aSAndroid Build Coastguard Worker        that only occurs on the homepage so it's best to just hack the fix
72*61c4878aSAndroid Build Coastguard Worker        locally here. -->
73*61c4878aSAndroid Build Coastguard Worker   <br>
74*61c4878aSAndroid Build Coastguard Worker
75*61c4878aSAndroid Build Coastguard Worker.. grid:: 2
76*61c4878aSAndroid Build Coastguard Worker
77*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`code-square` Libraries
78*61c4878aSAndroid Build Coastguard Worker      :link: docs-concepts-embedded-development-libraries
79*61c4878aSAndroid Build Coastguard Worker      :link-type: ref
80*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
81*61c4878aSAndroid Build Coastguard Worker
82*61c4878aSAndroid Build Coastguard Worker      Over 150 libraries ("modules") enabling you to use modern C++ and
83*61c4878aSAndroid Build Coastguard Worker      software development best practices without compromising performance,
84*61c4878aSAndroid Build Coastguard Worker      code size, or memory
85*61c4878aSAndroid Build Coastguard Worker
86*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`tools` Automation
87*61c4878aSAndroid Build Coastguard Worker      :link: docs-concepts-build-system
88*61c4878aSAndroid Build Coastguard Worker      :link-type: ref
89*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
90*61c4878aSAndroid Build Coastguard Worker
91*61c4878aSAndroid Build Coastguard Worker      Easier automated building, testing, and linting for Bazel, GN,
92*61c4878aSAndroid Build Coastguard Worker      and CMake projects
93*61c4878aSAndroid Build Coastguard Worker
94*61c4878aSAndroid Build Coastguard Worker.. grid:: 2
95*61c4878aSAndroid Build Coastguard Worker
96*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`container` Environments
97*61c4878aSAndroid Build Coastguard Worker      :link: docs-concepts-development-environment
98*61c4878aSAndroid Build Coastguard Worker      :link-type: ref
99*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
100*61c4878aSAndroid Build Coastguard Worker
101*61c4878aSAndroid Build Coastguard Worker      Hermetic and replicable development environments for your entire team -
102*61c4878aSAndroid Build Coastguard Worker      no more struggling with toolchains and "it worked on my machine"
103*61c4878aSAndroid Build Coastguard Worker
104*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`stack` Frameworks
105*61c4878aSAndroid Build Coastguard Worker      :link: docs-concepts-full-framework
106*61c4878aSAndroid Build Coastguard Worker      :link-type: ref
107*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
108*61c4878aSAndroid Build Coastguard Worker
109*61c4878aSAndroid Build Coastguard Worker      Turnkey solutions for new projects that want to make full use of
110*61c4878aSAndroid Build Coastguard Worker      everything that Pigweed offers
111*61c4878aSAndroid Build Coastguard Worker
112*61c4878aSAndroid Build Coastguard Worker--------------------
113*61c4878aSAndroid Build Coastguard WorkerWho's using Pigweed?
114*61c4878aSAndroid Build Coastguard Worker--------------------
115*61c4878aSAndroid Build Coastguard Worker.. _satellites: https://www.spinlaunch.com/
116*61c4878aSAndroid Build Coastguard Worker.. _autonomous aerial drones: https://www.flyzipline.com/
117*61c4878aSAndroid Build Coastguard Worker
118*61c4878aSAndroid Build Coastguard Worker.. TODO: b/358432838 - Update this section once the banned word list is fixed.
119*61c4878aSAndroid Build Coastguard Worker
120*61c4878aSAndroid Build Coastguard WorkerPigweed has shipped in millions of devices, including Google's suite of Pixel
121*61c4878aSAndroid Build Coastguard Workerdevices, Nest thermostats, `satellites`_, and `autonomous aerial drones`_.
122*61c4878aSAndroid Build Coastguard Worker
123*61c4878aSAndroid Build Coastguard Worker--------------------
124*61c4878aSAndroid Build Coastguard WorkerShowcase: pw_console
125*61c4878aSAndroid Build Coastguard Worker--------------------
126*61c4878aSAndroid Build Coastguard Worker:ref:`module-pw_console` is our multi-purpose, pluggable REPL and log viewer.
127*61c4878aSAndroid Build Coastguard WorkerIt's designed to be a complete development and manufacturing solution for
128*61c4878aSAndroid Build Coastguard Workerinteracting with hardware devices via :ref:`module-pw_rpc` over a
129*61c4878aSAndroid Build Coastguard Worker:ref:`module-pw_hdlc` transport. Gone are the days of hacking together a REPL
130*61c4878aSAndroid Build Coastguard Workerand log viewer for each new project!
131*61c4878aSAndroid Build Coastguard Worker
132*61c4878aSAndroid Build Coastguard Worker.. figure:: pw_console/images/python_completion.png
133*61c4878aSAndroid Build Coastguard Worker   :alt: Using pw_console to interact with a device
134*61c4878aSAndroid Build Coastguard Worker
135*61c4878aSAndroid Build Coastguard Worker   Using pw_console to interact with a device
136*61c4878aSAndroid Build Coastguard Worker
137*61c4878aSAndroid Build Coastguard Worker.. _docs-root-changelog:
138*61c4878aSAndroid Build Coastguard Worker
139*61c4878aSAndroid Build Coastguard Worker---------------------
140*61c4878aSAndroid Build Coastguard WorkerWhat's new in Pigweed
141*61c4878aSAndroid Build Coastguard Worker---------------------
142*61c4878aSAndroid Build Coastguard Worker.. include:: changelog.rst
143*61c4878aSAndroid Build Coastguard Worker   :start-after: .. changelog_highlights_start
144*61c4878aSAndroid Build Coastguard Worker   :end-before: .. changelog_highlights_end
145*61c4878aSAndroid Build Coastguard Worker
146*61c4878aSAndroid Build Coastguard WorkerSee :ref:`docs-changelog-latest` in our changelog for details.
147*61c4878aSAndroid Build Coastguard Worker
148*61c4878aSAndroid Build Coastguard Worker----------
149*61c4878aSAndroid Build Coastguard WorkerTalk to us
150*61c4878aSAndroid Build Coastguard Worker----------
151*61c4878aSAndroid Build Coastguard Worker.. raw:: html
152*61c4878aSAndroid Build Coastguard Worker
153*61c4878aSAndroid Build Coastguard Worker   <!-- Add a little space between the H2 and the cards. This is an edge case
154*61c4878aSAndroid Build Coastguard Worker        that only occurs on the homepage so it's best to just hack the fix
155*61c4878aSAndroid Build Coastguard Worker        locally here. -->
156*61c4878aSAndroid Build Coastguard Worker   <br>
157*61c4878aSAndroid Build Coastguard Worker
158*61c4878aSAndroid Build Coastguard Worker.. grid:: 1
159*61c4878aSAndroid Build Coastguard Worker
160*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`comment-discussion` Chat room
161*61c4878aSAndroid Build Coastguard Worker      :link: https://discord.gg/M9NSeTA
162*61c4878aSAndroid Build Coastguard Worker      :link-type: url
163*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
164*61c4878aSAndroid Build Coastguard Worker
165*61c4878aSAndroid Build Coastguard Worker      For real-time discussion with the Pigweed team, head over to our Discord.
166*61c4878aSAndroid Build Coastguard Worker
167*61c4878aSAndroid Build Coastguard Worker.. grid:: 2
168*61c4878aSAndroid Build Coastguard Worker
169*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`device-camera-video` Monthly community meeting
170*61c4878aSAndroid Build Coastguard Worker      :link: https://groups.google.com/g/pigweed
171*61c4878aSAndroid Build Coastguard Worker      :link-type: url
172*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
173*61c4878aSAndroid Build Coastguard Worker
174*61c4878aSAndroid Build Coastguard Worker      .. pigweed-live::
175*61c4878aSAndroid Build Coastguard Worker
176*61c4878aSAndroid Build Coastguard Worker   .. grid-item-card:: :octicon:`bug` Issues
177*61c4878aSAndroid Build Coastguard Worker      :link: https://pwbug.dev
178*61c4878aSAndroid Build Coastguard Worker      :link-type: url
179*61c4878aSAndroid Build Coastguard Worker      :class-item: sales-pitch-cta-secondary
180*61c4878aSAndroid Build Coastguard Worker
181*61c4878aSAndroid Build Coastguard Worker      Found a bug? Got a feature request? Please create a new issue in our
182*61c4878aSAndroid Build Coastguard Worker      tracker.
183*61c4878aSAndroid Build Coastguard Worker
184*61c4878aSAndroid Build Coastguard Worker.. toctree::
185*61c4878aSAndroid Build Coastguard Worker   :maxdepth: 1
186*61c4878aSAndroid Build Coastguard Worker   :hidden:
187*61c4878aSAndroid Build Coastguard Worker
188*61c4878aSAndroid Build Coastguard Worker   Home <self>
189*61c4878aSAndroid Build Coastguard Worker   Tour <docs/showcases/sense/index>
190*61c4878aSAndroid Build Coastguard Worker   docs/get_started/index
191*61c4878aSAndroid Build Coastguard Worker   What's new <changelog>
192*61c4878aSAndroid Build Coastguard Worker   modules
193*61c4878aSAndroid Build Coastguard Worker   Source code <https://cs.pigweed.dev/pigweed>
194*61c4878aSAndroid Build Coastguard Worker   docs/showcases/index
195*61c4878aSAndroid Build Coastguard Worker   docs/concepts/index
196*61c4878aSAndroid Build Coastguard Worker   docs/3p/index
197*61c4878aSAndroid Build Coastguard Worker   docs/community/index
198*61c4878aSAndroid Build Coastguard Worker   Developing & contributing <docs/contributing/index>
199*61c4878aSAndroid Build Coastguard Worker   Blog <docs/blog/index>
200