Search Criteria
Package Details: pico-sdk 2.2.0-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/pico-sdk.git (read-only, click to copy) |
---|---|
Package Base: | pico-sdk |
Description: | Libraries and tools for C/C++ development on RP2040 microcontrollers. |
Upstream URL: | https://github.com/raspberrypi/pico-sdk |
Licenses: | BSD-3-Clause |
Conflicts: | raspberry-pico-sdk-git |
Provides: | raspberry-pico-sdk-git |
Submitter: | Sematre |
Maintainer: | Sematre |
Last Packager: | Sematre |
Votes: | 19 |
Popularity: | 0.151613 |
First Submitted: | 2021-07-20 16:52 (UTC) |
Last Updated: | 2025-08-10 14:39 (UTC) |
Dependencies (6)
- arm-none-eabi-binutils (gcc-arm-none-eabi-binAUR)
- arm-none-eabi-gcc (arm-none-eabi-gcc47-linaroAUR, arm-none-eabi-gcc48-linaroAUR, arm-none-eabi-gcc53-linaroAUR, arm-none-eabi-gcc49-linaroAUR, gcc-arm-none-eabi-binAUR)
- arm-none-eabi-newlib (gcc-arm-none-eabi-binAUR)
- cmake (cmake3AUR, cmake-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- arm-none-eabi-gdb (optional) – Debugger
Required by (1)
- picotool (make)
Sources (7)
- git+https://github.com/bluekitchen/btstack.git#commit=501e6d2
- git+https://github.com/georgerobotics/cyw43-driver.git#commit=dd75682
- git+https://github.com/hathach/tinyusb.git#commit=86ad6e5
- git+https://github.com/lwip-tcpip/lwip.git#commit=77dcd25
- git+https://github.com/Mbed-TLS/mbedtls.git#commit=107ea89
- git+https://github.com/raspberrypi/pico-sdk.git#tag=2.2.0
- setup-environment-variables.sh
Latest Comments
1 2 Next › Last »
dampkwab commented on 2025-08-12 14:48 (UTC)
No problem! But you might want to re-read that wiki article yourself - it doesn't recommend pinning submodule revisions.
Sematre commented on 2025-08-11 19:43 (UTC) (edited on 2025-08-11 19:44 (UTC) by Sematre)
Thanks for the kind words. I appreciate your offer of co-maintainership. If it becomes too much, I'll reach out to you. I appreciate the overall support in this community. It's the sole reason why I started contributing.
About the submodules: I'm perfectly fine with a different solution. I really don't have that much of a strong opinion on this topic, as it practically makes no difference after the preparation phase. If you're interested in why I think it's best practice, feel free to read the
Tips and tricks
section of the VCS package guidelines.dampkwab commented on 2025-08-10 15:07 (UTC)
No need to apologise! Although I have a different view of the best practice here, I still appreciate the work you've put into this.
I'm sorry that you're feeling that way. I would be happy to act as a co-maintainer of this package if you would prefer I fix small problems like this myself instead of bugging you.
The reason for including submodules in a PKGBUILD is to allow the package to be rebuilt whenever the source repositories change, which does not apply in this case. Removing them would reduce duplication of information, eliminate a possible source of error, and reduce the maintenance burden on you. However, if you prefer to include them, then that's fine too - you are volunteering your time after all and the end result is the same.
Either way, thank you for your contributions and for maintaining this package
Sematre commented on 2025-08-10 14:50 (UTC)
@dampkwab Thanks for reporting this issue. I've updated the commit hashes.
I understand that removing the submodules would avoid errors on my side, but as I mentioned earlier, I believe the current PKGBUILD file follows packaging best practices, so I’d prefer not to change it.
To be honest (and judging by this comment section), I think I'm a bit burned out from working on open source projects. I've become a little careless, and I'm sorry for the inconvenience this has caused you. I'll do better next time.
dampkwab commented on 2025-08-10 13:58 (UTC) (edited on 2025-08-10 14:00 (UTC) by dampkwab)
@Sematre The submodules' pinned commits & shasums have not been updated to reflect the latest releases.
I would again suggest removing them from the PKGBUILD to avoid this issue - otherwise they will all need to be updated with each new release.
Please also note that the
pkgrel
should be reset to1
when thepkgver
is updated.dampkwab commented on 2024-12-17 01:38 (UTC)
Here's a patch with submodule tags & shasums
https://pastebin.com/4SHVGz3P
dampkwab commented on 2024-12-16 01:12 (UTC)
That would certainly resolve the issue with repeated rebuilds - cheers @Sematre
Sematre commented on 2024-12-15 16:26 (UTC) (edited on 2024-12-15 16:27 (UTC) by Sematre)
@dampkwab Thanks for reaching out.
VCS packages don't have to track the latest commit of a project. This is stated at the very top of the page that you linked. This also applies to submodules. Quote from the Arch Wiki:
I am aware that having unpinned sources in the build file will result in makepkg checking every time for updates. I, personally, don't care too much about this, but I can see why this might bother people. That's why I'm going to start pinning the submodules to their specific sha256 hash. This will keep the spirit of always including all the necessary external dependencies in the sources list, but should also fix the issue with makepkg.
dampkwab commented on 2024-12-15 14:35 (UTC) (edited on 2024-12-15 14:36 (UTC) by dampkwab)
@Sematre Thank you for maintaining this package. I have a suggestion to make:
Although this package uses a git source, it fetches a specific release and is therefore not a VCS package. (that would be
pico-sdk-git
)That means the submodules shouldn't be included in the sources array as they should only be updated when a new version of pico-sdk is released. Removing them also greatly improves packaging efficiency.
Could you please apply the above patch?
shtirlic commented on 2024-08-31 16:27 (UTC)
I think we should change the name to Libraries and tools for C/C++ development on Raspberry Pi Pico microcontrollers.
1 2 Next › Last »