Commit Graph

9 Commits

Author SHA1 Message Date
Alexei Frolov
d27b674d1a docs: Use stm32f429i-disc1 toolchain
This updates the upstream docs target to use the disco toolchain instead
of a custom one, to produce more accurate size reports for an actual
board configuration.

Change-Id: I50e6d03322273d33e34b4114d74b5bb9dc5f1c6a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/16285
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
2020-08-19 21:35:17 +00:00
Armando Montanez
3f3546ebd5 pw_watch: Update syntax for pw_watch
Updates syntax for using pw_watch in a few other locations.

Change-Id: I599fc3cb552c75e9f546447556fb756633093391
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/13804
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Armando Montanez <amontanez@google.com>
2020-07-13 22:28:43 +00:00
Armando Montanez
7366d5ae79 pw_watch: Update target/directory syntax
Since specifying which Ninja targets to build is now just as important
as which directory to build, update pw_watch's command line syntax to
better support specifying build targets and directories.

Before
  pw watch out#host#docs another/build/dir#stm32f429i

After
  pw watch out host docs --build-directory another/build/dir stm32f429i

Change-Id: Ic41dc6ce277ed240402877e9d875e8228aaac48b
2020-06-18 05:41:07 +00:00
Armando Montanez
fd5de70b76 Add Pigweed GCC-ARM toolchains
Updates ARM toolchains and gets both the stm32f429i-disc1 and qemu
targets building again.

Change-Id: Ib0607bc498f8a331c3cde763da5ed3812ba595ba
2020-06-16 09:50:59 -07:00
Alexei Frolov
258fc1b8bf Define docs target as a toolchain
This change creates a toolchain that configures the docs target and adds
it to the default build.

Change-Id: Ib2a8387253eef809f94411780174377e0d23e1a9
2020-06-16 09:50:59 -07:00
Armando Montanez
fb3d3fba79 Don't declare pigweed variables as globals
Require targets to explicitly import pigweed variable definitions. This
moves out some necessary logic from the BUILDCONFIG.gn file.

Change-Id: If9c9fe5a680cc9d897a0e8a55889873be618ed84
2020-06-16 09:50:59 -07:00
Armando Montanez
3d92e81f1c Docs: Add target docs
Adds target docs for the `docs` and `host` builds. Also includes a few
other documentation updates.

Change-Id: Icc973d6d51707c79b7c506d89c8975023e274ef2
2020-03-19 20:49:33 +00:00
Alexei Frolov
4737349f12 Update docs target to only use ARM size reports
This change removes the host gcc and clang toolchains from the docs
target's toolchain size reports and switches the default toolchain to
ARM GCC for traditional size report targets.

Fixed: 122

Change-Id: Iafe7cedb160d16eea6f3d9d4f64671814bb73b80
2020-03-04 01:13:34 +00:00
Alexei Frolov
799be5d81f Add docs target
This change moves building documentation out of the host and disco targets
into a special docs target.

The presubmit script is updated to handle the docs target.

Change-Id: I975170c9e8941d126d85a391c0f3b355e4fa44dd
2020-01-10 00:56:50 +00:00