roll: third_party/pigweed-experimental 523987e..9356f2a (76 commits) 9356f2a:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264438 roll: .bazelversion: 8.0.1 60fd726:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264416 roll: third_party/pigweed 23f0e1f..c1467e3 (5 commits) 45ade4f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264413 roll: third_party/pigweed roll: go e16ca6a:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264412 roll: third_party/pigweed roll: buildifier 25a8b95:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264353 roll: third_party/pigweed roll: cmake 1e2e80a:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264352 roll: third_party/pigweed roll: gn 759ab49:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264159 roll: third_party/pigweed roll: qemu f8dbd45:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264158 roll: third_party/pigweed roll: bazelisk-as-bazel f98e1e8:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264232 roll: third_party/pigweed roll: ninja 9b6e4e6:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264155 roll: third_party/pigweed ce0f03c..d2f7a36 (2 commits) f2ebcf4:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264152 roll: third_party/pigweed 471eba4..ce0f03c (3 commits) 910cae7:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/264072 roll: third_party/pigweed 55d10c7..471eba4 (8 commits) 351e1ce:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263893 roll: third_party/pigweed 5508852..55d10c7 (8 commits) 0feef1e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263892 roll: third_party/pigweed bazel: Get googletest from BCR 8e0959f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263418 roll: third_party/pigweed 1ef011c..9512986 (3 commits) 634117b:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263497 roll: third_party/pigweed 012d00a..1ef011c (5 commits) d97fa21:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263416 roll: third_party/pigweed 1fec695..012d00a (2 commits) b48c450:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263415 roll: third_party/pigweed pw_uart: clang-tidy fix 0adab80:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263413 roll: third_party/pigweed a42890d..c332380 (4 commits) 096a879:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263532 roll: third_party/pigweed c650ea7..a42890d (4 commits) e95bd90:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263412 roll: third_party/pigweed 9446328..c650ea7 (2 commits) 12bbc07:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263216 roll: third_party/pigweed 58712f7..9446328 (6 commits) 5e44a70:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263022 roll: third_party/pigweed dff9ccc..58712f7 (3 commits) 5469767:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263212 roll: third_party/pigweed 91effbe..dff9ccc (4 commits) 234d68b:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262997 roll: third_party/pigweed pw_bluetooth_proxy: Make AclConnection neither movable nor copyable fde3220:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262995 roll: third_party/pigweed dbb0903..ebdd500 (6 commits) 7c884df:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263017 roll: third_party/pigweed 3bb9e25..dbb0903 (6 commits) 9e93aca:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263016 Use bazelisk to fetch Bazel 1a223d0:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/263014 roll: third_party/pigweed a1eb87b..3bb9e25 (4 commits) be5b3e5:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262992 roll: third_party/pigweed 94476c3..a1eb87b (4 commits) 60d7ee3:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262108 roll: third_party/pigweed d8a16b2..94476c3 (6 commits) ab214d8:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262736 roll: third_party/pigweed 53e94c6..d8a16b2 (2 commits) 3875367:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262100 roll: third_party/pigweed b2441ff..53e94c6 (4 commits) 1237aa7:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262732 roll: third_party/pigweed pw_digital_io_mcuxpresso: Use hardware level interrupts instead of edge 9baae09:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262095 roll: third_party/pigweed a368701..3d1d7ae (2 commits) 6865fe9:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262516 roll: third_party/pigweed 769e458..a368701 (7 commits) fdd7ce3:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262396 bazel: Remove reference to pw_toolchain_bazel 2adabc3:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262395 roll: third_party/pigweed 405b87a..769e458 (6 commits) 60b7ba7:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262334 roll: third_party/pigweed bc608da..405b87a (3 commits) c5622a5:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262332 roll: third_party/pigweed pw_protobuf: Do not generate SNAKE_CASE enum names in Bazel a64908e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262212 roll: third_party/pigweed pw_thread: Generic thread creation c8f5a9c:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/262132 roll: third_party/pigweed 57c1c31..1a98c3d (4 commits) 381feaa:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261992 roll: third_party/pigweed 74fb2fc..57c1c31 (3 commits) af5a011:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261912 roll: third_party/pigweed afeddbb..74fb2fc (9 commits) 55ec69f:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261636 roll: third_party/pigweed bazel: Propagate pigweed_json flag to exec config 9f8c061:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261635 roll: third_party/pigweed ac17ed0..846fbf5 (5 commits) c6eda93:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261675 roll: third_party/pigweed eb1926a..ac17ed0 (6 commits) f986155:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261672 roll: third_party/pigweed 17f1b17..eb1926a (6 commits) 776c6d0:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261376 roll: third_party/pigweed 06aec9a..17f1b17 (2 commits) a006fec:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261374 roll: third_party/pigweed cc3728b..06aec9a (5 commits) abe48d9:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261373 roll: third_party/pigweed 120f202..cc3728b (6 commits) 704b43e:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261234 roll: third_party/pigweed 3505087..120f202 (4 commits) 570efab:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260317 roll: third_party/pigweed 57dcbc2..3505087 (2 commits) 2bb6b86:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/261032 roll: third_party/pigweed 35a7f79..57dcbc2 (3 commits) 14fb774:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260622 roll: third_party/pigweed b358f8e..35a7f79 (4 commits) a89b0fd:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260619 roll: third_party/pigweed 2697f22..b358f8e (6 commits) c0fe00d:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260679 roll: third_party/pigweed pw_sensor: Convert constant generation to jinja 0455404:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260598 roll: third_party/pigweed pw_sensor: Allow missing 'org' in compatible descriptor 6e09639:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260594 roll: third_party/pigweed adf609f..2558be0 (3 commits) d5e7529:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260385 roll: third_party/pigweed a3cd0bc..adf609f (3 commits) 5d32928:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260423 roll: third_party/pigweed 5264396..a3cd0bc (9 commits) acdde8b:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260455 roll: third_party/pigweed fec7e11..5264396 (2 commits) 38e46ae:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260453 roll: third_party/pigweed e977933..fec7e11 (14 commits) 843176b:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260452 roll: third_party/pigweed 2b3049b..e977933 (4 commits) 99be422:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260158 roll: third_party/pigweed pw_digital_io_mcuxpresso: Update docs 6899c91:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260157 roll: third_party/pigweed 4c883f8..bc21d0a (3 commits) d12b18a:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260156 roll: third_party/pigweed a8f3d5e..4c883f8 (2 commits) f19d9f7:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260134 roll: third_party/pigweed ef30932..a8f3d5e (6 commits) de6deca:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/260133 roll: third_party/pigweed ebd6ec4..ef30932 (3 commits) 67b01b6:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259663 roll: third_party/pigweed 68cebbd..ebd6ec4 (3 commits) 0d670ba:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259661 roll: third_party/pigweed 3173ab3..68cebbd (5 commits) d8b4949:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259655 roll: third_party/pigweed ec95722..3173ab3 (7 commits) 3e87916:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259653 roll: third_party/pigweed 72d815e..ec95722 (2 commits) 9a0b305:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259237 roll: third_party/pigweed a8c17c9..72d815e (2 commits) aea7245:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259396 roll: third_party/pigweed 7a788dc..a8c17c9 (7 commits) 809c5ad:https://pigweed-review.googlesource.com/c/pigweed/experimental/+/259472 roll: third_party/pigweed 17c1509..7a788dc (9 commits) Rolled-Repo: https://pigweed.googlesource.com/pigweed/experimental Rolled-Commits: 523987e9ba8584..9356f2ac0da218 Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8723875597882374193 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Ia807f643ce428481cd162bd315909f2a7c98fa2e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/kudzu/+/264507 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Bot-Commit: 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))