mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
package/picotool: new package
Add the raspberry pi picotool for interacting with rp2040 binaries and devices. Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
5511e26b4f
commit
f7aac1c008
@@ -2187,6 +2187,7 @@ F: utils/diffconfig
|
||||
|
||||
N: Marcus Hoffmann <bubu@bubu1.eu>
|
||||
F: package/pico-sdk/
|
||||
F: package/picotool/
|
||||
F: package/python-jc/
|
||||
F: package/python-ruamel-yaml-clib/
|
||||
F: support/testing/tests/package/test_python_fastapi.py
|
||||
|
||||
@@ -585,6 +585,7 @@ endmenu
|
||||
source "package/pciutils/Config.in"
|
||||
source "package/pdbg/Config.in"
|
||||
source "package/picocom/Config.in"
|
||||
source "package/picotool/Config.in"
|
||||
source "package/pifmrds/Config.in"
|
||||
source "package/pigpio/Config.in"
|
||||
source "package/powertop/Config.in"
|
||||
|
||||
16
package/picotool/Config.in
Normal file
16
package/picotool/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
comment "picotool needs a toolchain w/ C++ and gcc >= 4.9"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_PACKAGE_PICOTOOL
|
||||
bool "picotool"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_PICO_SDK
|
||||
help
|
||||
picotool is a tool for inspecting rp2040 binaries and
|
||||
interacting with rp2040 devices when they are in bootsel
|
||||
mode or devices USBstdio support from the Raspberry Pi Pico
|
||||
SDK.
|
||||
|
||||
https://github.com/raspberrypi/picotool
|
||||
3
package/picotool/picotool.hash
Normal file
3
package/picotool/picotool.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 f1746ead7815c13be1152f0645db8ea3b277628eb0110d42a0a186db37d40a91 picotool-1.1.2.tar.gz
|
||||
sha256 483f865953435b66c443dee7558debe3cc3cf8fcbb6a112fd9fc6a795d53f1f6 LICENSE.TXT
|
||||
14
package/picotool/picotool.mk
Normal file
14
package/picotool/picotool.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# picotool
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PICOTOOL_VERSION = 1.1.2
|
||||
PICOTOOL_SITE = $(call github,raspberrypi,picotool,$(PICOTOOL_VERSION))
|
||||
PICOTOOL_CONF_OPTS = -DPICO_SDK_PATH=$(STAGING_DIR)/usr/share/pico-sdk
|
||||
PICOTOOL_DEPENDENCIES = libusb pico-sdk
|
||||
PICOTOOL_LICENSE = BSD-3-Clause
|
||||
PICOTOOL_LICENSE_FILES = LICENSE.TXT
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user