Package Details: picotool 1.1.2-2

Git Clone URL: https://aur.archlinux.org/picotool.git (read-only, click to copy)
Package Base: picotool
Description: Tool for inspecting RP2040 binaries and interacting with RP2040 devices.
Upstream URL: https://github.com/raspberrypi/picotool
Licenses: BSD-3-Clause
Submitter: Sematre
Maintainer: Sematre
Last Packager: Sematre
Votes: 5
Popularity: 0.000323
First Submitted: 2021-07-20 17:45 (UTC)
Last Updated: 2023-09-27 11:43 (UTC)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

Sematre commented on 2023-09-27 11:45 (UTC)

Thanks for the input. I implemented the changes according to the ArchWiki.

1ridic commented on 2023-09-27 05:14 (UTC) (edited on 2023-09-27 05:20 (UTC) by 1ridic)

Udev rules provided by the package should be placed at /lib/udev/rules.d/. In addition, The sequence number of the rule needs to be changed from 99 to less than 70, because uaccess is processed at 70.

ceres-c commented on 2023-06-10 15:34 (UTC)

Instead of using the upstream udev rules, consider adding a rule file with these lines

SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE="0660", TAG+="uaccess"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="000a", MODE="0660", TAG+="uaccess"

plugdev is frowned upon: https://wiki.archlinux.org/title/Udev#Allowing_regular_users_to_use_devices

Freakness109 commented on 2023-03-19 13:59 (UTC)

Would you mind changing the PKGBUILD to work with all CMake generators?

diff --git a/PKGBUILD b/PKGBUILD
index 2104b7b..fe92d54 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ build() {

        cd "${srcdir}/${pkgname}-${pkgver}"
        cmake -B build
-       make -C build
+       cmake --build build
 }

 package() {

Thanks!

auguzanellato commented on 2023-03-17 11:11 (UTC)

As of 1.1.1 udev rules are shipped with picotool sources. It would be nice to package those in the PKGBUILD.

Polly commented on 2022-08-29 23:03 (UTC)

I thought that, too. My somewhat newly installed Manjaro hadn’t had it installed for some reason and I found no info if pgkconf should be a dep anywhere or not. Found it is for some packages but not for others. Thanks anyway :-)

Sematre commented on 2022-08-29 15:49 (UTC)

pkgconf is already included in the base-devel group which is a something every aur user should have installed. More about base-devel here.

Polly commented on 2022-08-29 15:43 (UTC)

Hey there, I think pkgconf might be missing here as a make dep. Cheers GS

dalz commented on 2022-01-22 15:50 (UTC)

Hi, I'm using this udev rule so that sudo is not required to load programs:

SUBSYSTEM!="usb_device", ACTION!="add", GOTO="rpi2_end"
ATTR{idVendor}=="2e8a", ATTRS{idProduct}=="0003|000a", MODE="660", GROUP="wheel"
LABEL="rpi2_end"

Maybe it would be helpful to add it to the package.

Sematre commented on 2022-01-05 23:27 (UTC) (edited on 2022-01-05 23:29 (UTC) by Sematre)

If you installed pico-sdk (or raspberry-pico-sdk-git) from the aur in the same session in which you tried to install picotool then this error might pop up. The easiest and most reliable way to fix this is to:

  1. Install pico-sdk from the aur (only if you haven't already)
  2. Restart your computer to reload the environment variables
  3. Install picotool

Note: I'm not familiar with ruas build process so I recommend you to try it again with another aur manager if the steps above don't work.