Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
7120a150
Unverified
Commit
7120a150
authored
Dec 14, 2021
by
Earle F. Philhower, III
Committed by
GitHub
Dec 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to SDK version 1.3.0 (#371)
parent
a808f4ae
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
19 deletions
+18
-19
lib/libpico.a
lib/libpico.a
+0
-0
lib/pico_base/pico/version.h
lib/pico_base/pico/version.h
+2
-2
package.json
package.json
+1
-1
pico-extras
pico-extras
+1
-1
pico-sdk
pico-sdk
+1
-1
tools/libpico/make-libpico.sh
tools/libpico/make-libpico.sh
+1
-0
tools/libpico/pico_extras_import.cmake
tools/libpico/pico_extras_import.cmake
+6
-6
tools/libpico/pico_sdk_import.cmake
tools/libpico/pico_sdk_import.cmake
+6
-8
No files found.
lib/libpico.a
View file @
7120a150
No preview for this file type
lib/pico_base/pico/version.h
View file @
7120a150
...
...
@@ -12,8 +12,8 @@
#define _PICO_VERSION_H
#define PICO_SDK_VERSION_MAJOR 1
#define PICO_SDK_VERSION_MINOR
2
#define PICO_SDK_VERSION_MINOR
3
#define PICO_SDK_VERSION_REVISION 0
#define PICO_SDK_VERSION_STRING "1.
2
.0"
#define PICO_SDK_VERSION_STRING "1.
3
.0"
#endif
package.json
View file @
7120a150
{
"name"
:
"framework-arduinopico"
,
"version"
:
"1.1090
5
.0"
,
"version"
:
"1.1090
9
.0"
,
"description"
:
"Arduino Wiring-based Framework (RPi Pico RP2040)"
,
"keywords"
:
[
"framework"
,
...
...
pico-extras
@
77eae283
Subproject commit
ccd88d320f6d759d102cf65a1345d06f1d730f32
Subproject commit
77eae2836638baf2f61b321eb61125da99bb4445
pico-sdk
@
2062372d
Subproject commit
bfcbefafc5d2a210551a4d9d80b4303d4ae0adf7
Subproject commit
2062372d203b372849d573f252cf7c6dc2800c0a
tools/libpico/make-libpico.sh
View file @
7120a150
...
...
@@ -23,6 +23,7 @@ for type in boot2_generic_03h boot2_is25lp080 boot2_w25q080 boot2_w25x10cl; do
arm-none-eabi-gcc
-march
=
armv6-m
-mcpu
=
cortex-m0plus
-mthumb
-O3
\
-DNDEBUG
-DPICO_FLASH_SPI_CLKDIV
=
$div
\
-c
"
$PICO_SDK_PATH
/src/rp2_common/boot_stage2/
$type
.S"
\
-I
"
$PICO_SDK_PATH
/src/boards/include/boards/"
\
-I
"
$PICO_SDK_PATH
/src/rp2040/hardware_regs/include/"
\
-I
"
$PICO_SDK_PATH
/src/rp2_common/pico_platform/include/"
\
-I
"
$PICO_SDK_PATH
/src/rp2_common/boot_stage2/asminclude/"
\
...
...
tools/libpico/pico_extras_import.cmake
View file @
7120a150
...
...
@@ -26,14 +26,14 @@ if (NOT PICO_EXTRAS_PATH)
get_filename_component
(
FETCHCONTENT_BASE_DIR
"
${
PICO_EXTRAS_FETCH_FROM_GIT_PATH
}
"
REALPATH BASE_DIR
"
${
CMAKE_SOURCE_DIR
}
"
)
endif
()
FetchContent_Declare
(
PICO_EXTRAS
pico_extras
GIT_REPOSITORY https://github.com/raspberrypi/pico-extras
GIT_TAG master
)
if
(
NOT
PICO_EXTRAS
)
message
(
"Downloading
PICO EXTRAS
"
)
FetchContent_Populate
(
PICO_EXTRAS
)
set
(
PICO_EXTRAS_PATH
${
PICO_EXTRAS
_SOURCE_DIR
}
)
if
(
NOT
pico_extras
)
message
(
"Downloading
Raspberry Pi Pico Extras
"
)
FetchContent_Populate
(
pico_extras
)
set
(
PICO_EXTRAS_PATH
${
pico_extras
_SOURCE_DIR
}
)
endif
()
set
(
FETCHCONTENT_BASE_DIR
${
FETCHCONTENT_BASE_DIR_SAVE
}
)
else
()
...
...
@@ -59,4 +59,4 @@ endif ()
set
(
PICO_EXTRAS_PATH
${
PICO_EXTRAS_PATH
}
CACHE PATH
"Path to the PICO EXTRAS"
FORCE
)
add_subdirectory
(
${
PICO_EXTRAS_PATH
}
pico_extras
)
\ No newline at end of file
add_subdirectory
(
${
PICO_EXTRAS_PATH
}
pico_extras
)
tools/libpico/pico_sdk_import.cmake
View file @
7120a150
...
...
@@ -3,8 +3,6 @@
# This can be dropped into an external project to help locate this SDK
# It should be include()ed prior to project()
# todo document
if
(
DEFINED ENV{PICO_SDK_PATH}
AND
(
NOT PICO_SDK_PATH
))
set
(
PICO_SDK_PATH $ENV{PICO_SDK_PATH}
)
message
(
"Using PICO_SDK_PATH from environment ('
${
PICO_SDK_PATH
}
')"
)
...
...
@@ -20,8 +18,8 @@ if (DEFINED ENV{PICO_SDK_FETCH_FROM_GIT_PATH} AND (NOT PICO_SDK_FETCH_FROM_GIT_P
message
(
"Using PICO_SDK_FETCH_FROM_GIT_PATH from environment ('
${
PICO_SDK_FETCH_FROM_GIT_PATH
}
')"
)
endif
()
set
(
PICO_SDK_PATH
"
${
PICO_SDK_PATH
}
"
CACHE PATH
"Path to the
PICO
SDK"
)
set
(
PICO_SDK_FETCH_FROM_GIT
"
${
PICO_SDK_FETCH_FROM_GIT
}
"
CACHE BOOL
"Set to ON to fetch copy of
PICO
SDK from git if not otherwise locatable"
)
set
(
PICO_SDK_PATH
"
${
PICO_SDK_PATH
}
"
CACHE PATH
"Path to the
Raspberry Pi Pico
SDK"
)
set
(
PICO_SDK_FETCH_FROM_GIT
"
${
PICO_SDK_FETCH_FROM_GIT
}
"
CACHE BOOL
"Set to ON to fetch copy of SDK from git if not otherwise locatable"
)
set
(
PICO_SDK_FETCH_FROM_GIT_PATH
"
${
PICO_SDK_FETCH_FROM_GIT_PATH
}
"
CACHE FILEPATH
"location to download SDK"
)
if
(
NOT PICO_SDK_PATH
)
...
...
@@ -37,14 +35,14 @@ if (NOT PICO_SDK_PATH)
GIT_TAG master
)
if
(
NOT pico_sdk
)
message
(
"Downloading
PICO
SDK"
)
message
(
"Downloading
Raspberry Pi Pico
SDK"
)
FetchContent_Populate
(
pico_sdk
)
set
(
PICO_SDK_PATH
${
pico_sdk_SOURCE_DIR
}
)
endif
()
set
(
FETCHCONTENT_BASE_DIR
${
FETCHCONTENT_BASE_DIR_SAVE
}
)
else
()
message
(
FATAL_ERROR
"
PICO
SDK location was not specified. Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT to on to fetch from git."
"SDK location was not specified. Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT to on to fetch from git."
)
endif
()
endif
()
...
...
@@ -56,9 +54,9 @@ endif ()
set
(
PICO_SDK_INIT_CMAKE_FILE
${
PICO_SDK_PATH
}
/pico_sdk_init.cmake
)
if
(
NOT EXISTS
${
PICO_SDK_INIT_CMAKE_FILE
}
)
message
(
FATAL_ERROR
"Directory '
${
PICO_SDK_PATH
}
' does not appear to contain the
PICO
SDK"
)
message
(
FATAL_ERROR
"Directory '
${
PICO_SDK_PATH
}
' does not appear to contain the
Raspberry Pi Pico
SDK"
)
endif
()
set
(
PICO_SDK_PATH
${
PICO_SDK_PATH
}
CACHE PATH
"Path to the
PICO
SDK"
FORCE
)
set
(
PICO_SDK_PATH
${
PICO_SDK_PATH
}
CACHE PATH
"Path to the
Raspberry Pi Pico
SDK"
FORCE
)
include
(
${
PICO_SDK_INIT_CMAKE_FILE
}
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment