Initial Commit
- initial default booting image
This commit is contained in:
9
package/pico-sdk/Config.in
Normal file
9
package/pico-sdk/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_PICO_SDK
|
||||
bool "pico-sdk"
|
||||
help
|
||||
Raspberry Pi Pico SDK. Provides the headers, libraries
|
||||
and build system necessary to write programs for the
|
||||
RP2040-based devices such as the Raspberry Pi Pico in
|
||||
C, C++ or assembly language.
|
||||
|
||||
https://github.com/raspberrypi/pico-sdk
|
||||
3
package/pico-sdk/pico-sdk.hash
Normal file
3
package/pico-sdk/pico-sdk.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 bbb60e768c1feeb1a4b7155da7361a135cba3ce197cef7cb93a300c559302897 pico-sdk-2.3.0-git4.tar.gz
|
||||
sha256 483f865953435b66c443dee7558debe3cc3cf8fcbb6a112fd9fc6a795d53f1f6 LICENSE.TXT
|
||||
28
package/pico-sdk/pico-sdk.mk
Normal file
28
package/pico-sdk/pico-sdk.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# pico-sdk
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PICO_SDK_VERSION = 2.3.0
|
||||
PICO_SDK_SITE = https://github.com/raspberrypi/pico-sdk.git
|
||||
PICO_SDK_SITE_METHOD = git
|
||||
PICO_SDK_GIT_SUBMODULES = YES
|
||||
PICO_SDK_LICENSE = BSD-3-Clause
|
||||
PICO_SDK_LICENSE_FILES = LICENSE.TXT
|
||||
PICO_SDK_INSTALL_STAGING = YES
|
||||
# Header-only lib, as far as buildroot is concerned
|
||||
PICO_SDK_INSTALL_TARGET = NO
|
||||
|
||||
define PICO_SDK_INSTALL_STAGING_CMDS
|
||||
mkdir -p $(STAGING_DIR)/usr/share/pico-sdk
|
||||
cp -r $(@D)/* $(STAGING_DIR)/usr/share/pico-sdk
|
||||
endef
|
||||
|
||||
define HOST_PICO_SDK_INSTALL_CMDS
|
||||
mkdir -p $(HOST_DIR)/share/pico-sdk
|
||||
cp -r $(@D)/* $(HOST_DIR)/share/pico-sdk
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user