summaryrefslogtreecommitdiff
path: root/dev-embedded
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-09 11:04:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-09 11:04:53 +0100
commit43297a4ed0a3760bbdd0b8c286b779f174ca5368 (patch)
tree15b92efd455b5d5eb0ef8a4af4f5f24572c4b46b /dev-embedded
parent14866757225815b9374acfc8453518951e0f910d (diff)
gentoo auto-resync : 09:08:2024 - 11:04:52
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/Manifest.gzbin9387 -> 9388 bytes
-rw-r--r--dev-embedded/picotool/Manifest3
-rw-r--r--dev-embedded/picotool/picotool-2.0.0.ebuild50
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-embedded/Manifest.gz b/dev-embedded/Manifest.gz
index 5189ebc731f9..134d80b84d9a 100644
--- a/dev-embedded/Manifest.gz
+++ b/dev-embedded/Manifest.gz
Binary files differ
diff --git a/dev-embedded/picotool/Manifest b/dev-embedded/picotool/Manifest
index b6b272cc846b..0a5f888a8f48 100644
--- a/dev-embedded/picotool/Manifest
+++ b/dev-embedded/picotool/Manifest
@@ -1,5 +1,8 @@
AUX picotool-1.1.2-musl.patch 420 BLAKE2B fae2e2cfb951e309a2a3be4ef98b05979ef58a832ffbf2fa7d802f9c31983b566a4c8055c0d11f154a2df552ebe0d00dc51615790cfb2ebe564d454015e80d34 SHA512 c5a73731a734baaf5af4a938d4c00996f3cf28343c728e0cfe575d2797fcd45d730fa5fed22846dc691f69da2825f01b52ced5e4a9b681e99290b4f0ae8d3a75
DIST pico-sdk-1.4.0.tar.gz 959068 BLAKE2B 95c5e61c4d66c345daa4b8aff8e9e2cd90bcc722289ac67c1a18ce00dfa02ef7fb07512a0fdc7558f989746c215cff31979f1ad8a582e20ff2d151fdd109914f SHA512 4be28cf41e5b808a504b4c949f6c3e9fbc425beb4f838a7898bfd78925cc54e0390ff56c036bc7f60a26efac0d6c1bd811b27f7b60a1c8d7bb4750f3fa37690e
+DIST pico-sdk-2.0.0.tar.gz 2345905 BLAKE2B a1360fe30a56eef6ea2e786bb3d0f2522c4d37cd2424ea08a377d3f70f681cac1650a0967c4e447e9f47c692cf0ec7f9865af78cf8f4f8d699271f390750a3a1 SHA512 ae7c470a63581503d591b7aa19281eaf75248a668d0ce266b766a2261db8584d372d4f6d52cb1a90dc8b1d5afdfee1802980c0f2819f0193d6112db934d3e575
DIST picotool-1.1.2.tar.gz 45282 BLAKE2B b7425ae197adef3f72aafa9450338ab1c3ddd4b1a13ff9f4847951ee3d7fd91226f780061416c0d72f963ad0afcf4a14d85c72b6199482738eb5344c8dc6563f SHA512 63e0c77865243aca0b46cb844f5eb104c762d2b38f645c75f32224b61d9768ef0ba59b55d94480559627ec4b23ad6edc49d013f90646644a5dc798090d37a257
+DIST picotool-2.0.0.tar.gz 637989 BLAKE2B aad9463f1f26ba921dc681fb784bec0e6ed9917919c12cb616b10642e359560f9b1304013a8a20dfaffe0f373b690d8527f93195212c01c76cb01439590143c8 SHA512 96808cea70a38cd108bbfe8f227d0e66167d0d0611d234e849793ec02d7cb319b065e7988c070c46488a7e99e1a2c1779f78d70782fc67fbbb81229d8e4c4ffa
EBUILD picotool-1.1.2.ebuild 907 BLAKE2B c86001d1ef64bebf938e176330a082b93696ccfbd9c0ff69b7997eb19e3a793b6eaac75c44159b90c061a61938e35fced10dd0d8fd7fd42e99d45cd4e6433f1d SHA512 4e23de6ae3978f2eec040652da01fb258bb1bfd38fcd6fc981b66d5188d17455d8067ab7ab1c0ae57a85f8dfab3eb7ce5203f95905db9a7dc03582ee1d5d3e30
+EBUILD picotool-2.0.0.ebuild 1076 BLAKE2B c3dc4eac03788d45cd3782d15db8a9c1d5548012dcf60a6ee1c65ed276a046d71dfa79c0b9fefc0e48a9e801a9e83cb46e497b923cb926903032d77d06400851 SHA512 5306be562533701b081cc20fecdedf6afd248824d85751d6cdb0bf5de091c9cbddc8f1ed9d489bb478f8c07daf9f578a4778dad8197edcc74d73d8bd35fa6689
MISC metadata.xml 343 BLAKE2B fb4e41f84c22fe08f905251eae2cb5381faa7adb43ed3895a4059b3d76aa79235745530be48316f24f5eff99abeac3452d7ebd76cd0bb3cfc3c228b2d0250d03 SHA512 8e22662a7cb2a4a80981b95201ee3ee7c800a4bfddf16b836fd75a0353a281ec59872227682635dc556725718b98a96c413ec118369acbc0e2a2b841060197fd
diff --git a/dev-embedded/picotool/picotool-2.0.0.ebuild b/dev-embedded/picotool/picotool-2.0.0.ebuild
new file mode 100644
index 000000000000..acc716c5c113
--- /dev/null
+++ b/dev-embedded/picotool/picotool-2.0.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+SDK_PV=2.0.0
+SDK_PN=pico-sdk
+SDK_P=${SDK_PN}-${SDK_PV}
+
+DESCRIPTION="tool for interacting with rp2040 devices and binaries"
+HOMEPAGE="https://github.com/raspberrypi/picotool"
+SRC_URI="
+ https://github.com/raspberrypi/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/raspberrypi/${SDK_PN}/archive/refs/tags/${SDK_PV}.tar.gz -> ${SDK_P}.tar.gz
+"
+
+# picotool (BSD)
+# |- clipp (MIT)
+# |- pico-sdk (BSD)
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="virtual/libusb:1"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.1.2-musl.patch )
+
+# Binary that runs on-chip.
+QA_PREBUILT="usr/share/picotool/xip_ram_perms.elf"
+
+src_prepare() {
+ mv "${WORKDIR}"/${SDK_P} "${S}"/pico-sdk || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DPICO_SDK_PATH="${S}"/pico-sdk
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ dostrip -x /usr/share/picotool/xip_ram_perms.elf
+}