commit | dd1ce8a6ea1fab044371f35ac1c01b1e13904ef8 | [log] [tgz] |
---|---|---|
author | pigweed-roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> | Thu Jan 09 13:29:40 2025 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 09 13:29:40 2025 -0800 |
tree | a94506f3906b6a7103dfecee08fe29eb3ad96ceb | |
parent | 46ef295e0a62f361d0e85a1fe869b856ce7687a5 [diff] |
roll: third_party/pigweed-experimental 8d340b1..523987e (100 commits) 523987e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259392 roll: third_party/pigweed 15d4ae5..17c1509 (7 commits) 8fc4328:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259081 roll: third_party/pigweed pw_rpc: Increment call_ids for java client 0892f7f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258920 roll: third_party/pigweed pw_digital_io_mcuxpresso: Add McuxpressoDigitalInOutInterrupt support 02ae694:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259078 roll: third_party/pigweed d93f986..34521ea (2 commits) 5525cc6:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259077 roll: third_party/pigweed pw_chrono: Don't import individual types in py b641378:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259073 roll: third_party/pigweed b13f7bf..aef6fca (14 commits) 90788be:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258912 roll: third_party/pigweed, .bazelversion 9944737:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258463 roll: third_party/pigweed a533c76..7a1c27a (5 commits) 7fe641f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258461 roll: third_party/pigweed 9059212..a533c76 (3 commits) 4e4c931:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258693 tools: Remove micro-ecc support 2f3edd0:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258460 roll: third_party/pigweed f245559..9059212 (6 commits) 02eb3b1:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258458 roll: third_party/pigweed pw_thread: Update docs for ThreadCore 4cc198f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258437 roll: third_party/pigweed e88f3c4..462b37b (4 commits) f6d611d:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258434 roll: third_party/pigweed 7940ef2..e88f3c4 (9 commits) 026342b:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258312 roll: third_party/pigweed pw_bluetooth_proxy: Fix H4PacketWithH4 doc string typo 37d9237:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258272 roll: third_party/pigweed 717e4f5..9337bf2 (2 commits) 2fc895b:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/258012 roll: third_party/pigweed ab8ffe3..717e4f5 (2 commits) afec9c4:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/257754 roll: third_party/pigweed 52507bf..ab8ffe3 (4 commits) 5c98a40:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/257772 roll: third_party/pigweed b8ef392..52507bf (3 commits) 2d346bf:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/257572 roll: third_party/pigweed pw_bluetooth_sapphire: Fix function sharing in gap a54f8c2:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/257492 roll: third_party/pigweed docs: Fix sitemap generator dc6c311:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/257413 roll: third_party/pigweed 58e24d6..eda3c11 (5 commits) 07a0ab9:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/257352 roll: third_party/pigweed 6582c5e..58e24d6 (7 commits) 5470bc3:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/257152 roll: third_party/pigweed 68e18ed..6582c5e (2 commits) 3feae0e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256972 roll: third_party/pigweed pw_containers: Support moving intrusive lists 5f68ed9:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256880 roll: third_party/pigweed e851b2c..5fa6e32 (2 commits) cf53118:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256815 roll: third_party/pigweed 256d1ec..e851b2c (2 commits) f5c3865:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256813 roll: third_party/pigweed bazel: Load android_library from rules_android 2135a20:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256812 roll: third_party/pigweed 97dc276..9a839e8 (2 commits) f494df3:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256714 roll: third_party/pigweed 97587cb..97dc276 (2 commits) 16dd43c:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256713 roll: third_party/pigweed 8e7fd5e..97587cb (3 commits) 15b5c6a:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256712 roll: third_party/pigweed 41c5998..8e7fd5e (2 commits) 59c3997:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256615 roll: third_party/pigweed bb41eea..41c5998 (3 commits) 3b6f791:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256633 roll: third_party/pigweed 6492053..bb41eea (2 commits) ff556b3:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256612 roll: third_party/pigweed 8be090f..6492053 (4 commits) b3bbe3c:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256245 roll: third_party/pigweed c0162a3..8be090f (2 commits) 59fe7c9:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256240 roll: third_party/pigweed 7680a4e..c0162a3 (4 commits) 444adb8:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256316 roll: third_party/pigweed 4f536c6..7680a4e (2 commits) 02c284b:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256298 roll: third_party/pigweed pw_thread: Thread priority class e80c950:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256312 roll: third_party/pigweed eca19a7..03acee9 (5 commits) 6726d79:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256089 roll: third_party/pigweed 983119e..eca19a7 (7 commits) 080a5f0:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256082 roll: third_party/pigweed c13d91e..983119e (6 commits) 1c4f30f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255998 roll: third_party/pigweed d6827c1..c13d91e (2 commits) 53282c6:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255995 roll: third_party/pigweed pw_numeric: Add checked_arithmetic.h 6bcae7e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/256033 roll: third_party/pigweed pw_containers: Add explicit constexpr constructors for deques/queues e0bd2db:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255993 roll: third_party/pigweed pw_bluetooth_sapphire: Fix buffer overflow in advertising data d2837a7:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255895 roll: third_party/pigweed 2db41fe..9e9628d (4 commits) 7367099:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255872 roll: third_party/pigweed 9fff267..2db41fe (4 commits) da4d317:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255752 roll: third_party/pigweed pw_thread_stl: Remove unnecessary include 8c8c877:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255673 roll: third_party/pigweed 090c437..8f3c17f (4 commits) b959373:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255652 roll: third_party/pigweed e1736b9..090c437 (2 commits) d5815c7:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255574 roll: third_party/pigweed 8fddf43..e1736b9 (3 commits) 5ba2543:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255416 roll: third_party/pigweed pw_bluetooth: Correct some Emboss fields names 89e0041:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255415 roll: third_party/pigweed pw_bluetooth: Convert LEAdvertisingEventProperties into a struct 77b5489:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255413 roll: third_party/pigweed pw_bluetooth: Update all commands and events to the correct address type a601111:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255082 roll: third_party/pigweed 5da1b33..c57a73b (5 commits) 9a88b9e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255274 roll: third_party/pigweed ee6f997..5da1b33 (5 commits) 5464693:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255273 roll: third_party/pigweed e165669..ee6f997 (11 commits) c89cc5d:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255075 roll: third_party/pigweed 9337002..e165669 (2 commits) 0f4beac:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/255072 roll: third_party/pigweed b8d3b57..9337002 (6 commits) 91f1ef3:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254972 roll: third_party/pigweed 13446e5..b8d3b57 (5 commits) 0cfdebb:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254835 roll: third_party/pigweed 4bf11f1..13446e5 (4 commits) 902de12:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254733 roll: third_party/pigweed bb58b65..4bf11f1 (2 commits) 6c8046d:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254518 roll: third_party/pigweed pw_rust: Enable GN pw_rust targets for linux host 00a8c9e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254516 roll: third_party/pigweed 303810b..d8ad5c6 (3 commits) 74c67b6:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254336 roll: third_party/pigweed ce0aa60..303810b (5 commits) 70ac9ec:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254334 roll: third_party/pigweed 96f941b..ce0aa60 (2 commits) ac5325e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254352 roll: third_party/pigweed 5f0b44d..96f941b (11 commits) 256707f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/254193 roll: third_party/pigweed c80d2e1..5f0b44d (6 commits) 3fcf0c0:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253995 roll: third_party/pigweed pw_presubmit: Add diff_upstream_python_constraints 36f451e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253993 roll: third_party/pigweed 2d273f8..0e6dc34 (2 commits) 4a4806f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253815 roll: third_party/pigweed ce7b2d9..2d273f8 (2 commits) 728f638:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253813 roll: third_party/pigweed 9e4c976..ce7b2d9 (4 commits) 715721c:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253598 roll: third_party/pigweed pw_thread: Move ThreadCore logic out of pw::Thread bf7af9c:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253593 roll: third_party/pigweed 07d2258..019e35f (3 commits) 6ce7914:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253532 roll: third_party/pigweed 19bb20e..07d2258 (2 commits) 830b725:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253492 roll: third_party/pigweed 1f98f21..19bb20e (4 commits) afac593:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253413 roll: third_party/pigweed pw_bluetooth_sapphire: Handle FIDL incoming ISO data 41c1fbc:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253262 roll: third_party/pigweed d6ed40a..6bccf42 (3 commits) f9bc13f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253372 roll: third_party/pigweed c15953e..d6ed40a (2 commits) 23e3312:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253256 roll: third_party/pigweed Reland "docs: Build module docs with Bazel" d1e1a75:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/253254 roll: third_party/pigweed ffb5324..36e5cc3 (6 commits) 87c29be:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252796 roll: third_party/pigweed 23cc90c..ffb5324 (3 commits) beeb491:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252912 roll: third_party/pigweed 571ba51..23cc90c (8 commits) 4678d33:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252792 roll: third_party/pigweed pw_protobuf_compiler: Fix nanopb warning c1c8748:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252672 roll: third_party/pigweed 983b4f1..4a28597 (6 commits) ec31cf7:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252592 roll: third_party/pigweed 4a1535b..983b4f1 (4 commits) b5e291c:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252512 roll: third_party/pigweed 4d16136..4a1535b (3 commits) a854837:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252256 roll: third_party/pigweed pw_bluetooth_sapphire: Migrate 1 fuzz test to Bazel 8d62ecc:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252274 roll: third_party/pigweed pw_bluetooth_proxy: Support rx_additional_credits for L2capCoc 18ea987:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252254 roll: third_party/pigweed f198dc6..a4d795f (5 commits) 0462604:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252193 roll: third_party/pigweed pw_i2c: Add an alert comment in ProbeDeviceFor function 94b91f1:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252153 roll: third_party/pigweed pw_async2: Support value constructor for OnceReceiver e6432c6:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252133 roll: third_party/pigweed fc9a118..8fd1fd1 (3 commits) 4d14bb2:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/252032 roll: third_party/pigweed fb15677..fc9a118 (2 commits) ff4a9ea:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/251835 roll: third_party/pigweed pw_channel: Wake readers after ForwardingByteChannel writes a0b0af7:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/251876 roll: third_party/pigweed 74663b2..52554de (4 commits) d11ba09:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/251833 roll: third_party/pigweed 061d674..74663b2 (2 commits) 63d958b:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/251872 roll: third_party/pigweed 5172ccd..061d674 (3 commits) f547e18:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/251314 roll: third_party/pigweed pw_bluetooth: Add avdtp parser fundation Rolled-Repo: https://pigweed.googlesource.com/pigweed/experimental Rolled-Commits: 8d340b1e41df62..523987e9ba8584 Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8726186318295732113 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Id5f5d27545f21e92069af616bbb47d95ed77a770 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/kudzu/+/259223 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Make sure you've set up Pigweed's prerequisites.
If you're on Windows, you can automate the initial setup by downloading the first-time setup script from cmd.exe:
curl https://pigweed.googlesource.com/pigweed/sample_project/+/main/tools/setup_windows_prerequisites.bat?format=TEXT > setup_pigweed_prerequisites.b64 && certutil -decode -f setup_pigweed_prerequisites.b64 setup_pigweed_prerequisites.bat && del setup_pigweed_prerequisites.b64
Then you can run the script with the following command in cmd.exe:
setup_pigweed_prerequisites.bat
Note: You may see a few UAC prompts as the script installs Git, Python, and enables developer mode.
Once that is done, you can clone this project with the following command:
git clone https://pigweed.googlesource.com/pigweed/kudzu
Pigweed uses a local development environment for most of its tools. This means tools are not installed to your machine, and are instead stored in a directory inside your project (Note: git ignores this directory). The tools are temporarily added to the PATH of the current shell session.
To make sure the latest tooling has been fetched and set up, run the bootstrap command for your operating system:
Windows
bootstrap.bat
Linux & Mac
source ./bootstrap.sh
After tooling updates, you might need to run bootstrap again to ensure the latest tools.
After the initial bootstrap, you can use use the activate
scripts to configure the current shell for development without doing a full update.
Windows
activate.bat
Linux & Mac
source ./activate.sh
Install the pico SDK and tool to flash the device.
pw package install pico_sdk
pw package install picotool
These packages will be built and added to the path automatically. There is no need to add these to the gn arguments.
Install the GLFW OpenGL library
sudo apt install libglfw3-dev libglfw3
Put the following into /usr/lib/udev/rules.d/49-picoprobe.rules
# Pico app mode SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="000a", MODE:="0666" KERNEL=="ttyACM*", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="000a", MODE:="0666", SYMLINK+="rp2040" # RP2 Boot SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE:="0666" KERNEL=="ttyACM*", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE:="0666", SYMLINK+="rp2040" # Picoprobe SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0004", MODE:="0666" KERNEL=="ttyACM*", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0004", MODE:="0666", SYMLINK+="picoprobe"
This will also symlink /dev/picoprobe
and /dev/rp2040
to the respective vendor and product ids.
Apply the above rules with:
sudo udevadm control --reload-rules sudo udevadm trigger
pw build
Run the host app and connect to it via pw console
:
./out/gn/host_device_simulator.speed_optimized/obj/applications/badge/bin/badge & \ pw console --socket-addr default ; \ killall badge
export ELF=./out/gn/rp2040.size_optimized/obj/applications/badge/bin/badge.elf picotool reboot -f -u && \ sleep 3 && \ picotool load -x $ELF
Connect with pw console
:
pw console --verbose \ --baudrate 115200 \ --token-databases ./out/gn/rp2040.size_optimized/obj/applications/badge/bin/badge.elf \ --device /dev/rp2040
From Python Repl window you can issue RPCs interactively:
>>> device.rpcs.kudzu.rpc.Kudzu.PackageTemp() (Status.OK, kudzu.rpc.PackageTempResponse(temp=27.60657501220703))