Skip to content

Commit 7120a15

Browse files
Update to SDK version 1.3.0 (#371)
1 parent a808f4a commit 7120a15

File tree

8 files changed

+18
-19
lines changed

8 files changed

+18
-19
lines changed

lib/libpico.a

86.6 KB
Binary file not shown.

lib/pico_base/pico/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#define _PICO_VERSION_H
1313

1414
#define PICO_SDK_VERSION_MAJOR 1
15-
#define PICO_SDK_VERSION_MINOR 2
15+
#define PICO_SDK_VERSION_MINOR 3
1616
#define PICO_SDK_VERSION_REVISION 0
17-
#define PICO_SDK_VERSION_STRING "1.2.0"
17+
#define PICO_SDK_VERSION_STRING "1.3.0"
1818

1919
#endif

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "framework-arduinopico",
3-
"version": "1.10905.0",
3+
"version": "1.10909.0",
44
"description": "Arduino Wiring-based Framework (RPi Pico RP2040)",
55
"keywords": [
66
"framework",

pico-sdk

Submodule pico-sdk updated 158 files

tools/libpico/make-libpico.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ for type in boot2_generic_03h boot2_is25lp080 boot2_w25q080 boot2_w25x10cl; do
2323
arm-none-eabi-gcc -march=armv6-m -mcpu=cortex-m0plus -mthumb -O3 \
2424
-DNDEBUG -DPICO_FLASH_SPI_CLKDIV=$div \
2525
-c "$PICO_SDK_PATH/src/rp2_common/boot_stage2/$type.S" \
26+
-I "$PICO_SDK_PATH/src/boards/include/boards/" \
2627
-I "$PICO_SDK_PATH/src/rp2040/hardware_regs/include/" \
2728
-I "$PICO_SDK_PATH/src/rp2_common/pico_platform/include/" \
2829
-I "$PICO_SDK_PATH/src/rp2_common/boot_stage2/asminclude/" \

tools/libpico/pico_extras_import.cmake

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ if (NOT PICO_EXTRAS_PATH)
2626
get_filename_component(FETCHCONTENT_BASE_DIR "${PICO_EXTRAS_FETCH_FROM_GIT_PATH}" REALPATH BASE_DIR "${CMAKE_SOURCE_DIR}")
2727
endif ()
2828
FetchContent_Declare(
29-
PICO_EXTRAS
29+
pico_extras
3030
GIT_REPOSITORY https://github.com/raspberrypi/pico-extras
3131
GIT_TAG master
3232
)
33-
if (NOT PICO_EXTRAS)
34-
message("Downloading PICO EXTRAS")
35-
FetchContent_Populate(PICO_EXTRAS)
36-
set(PICO_EXTRAS_PATH ${PICO_EXTRAS_SOURCE_DIR})
33+
if (NOT pico_extras)
34+
message("Downloading Raspberry Pi Pico Extras")
35+
FetchContent_Populate(pico_extras)
36+
set(PICO_EXTRAS_PATH ${pico_extras_SOURCE_DIR})
3737
endif ()
3838
set(FETCHCONTENT_BASE_DIR ${FETCHCONTENT_BASE_DIR_SAVE})
3939
else ()
@@ -59,4 +59,4 @@ endif ()
5959

6060
set(PICO_EXTRAS_PATH ${PICO_EXTRAS_PATH} CACHE PATH "Path to the PICO EXTRAS" FORCE)
6161

62-
add_subdirectory(${PICO_EXTRAS_PATH} pico_extras)
62+
add_subdirectory(${PICO_EXTRAS_PATH} pico_extras)

tools/libpico/pico_sdk_import.cmake

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# This can be dropped into an external project to help locate this SDK
44
# It should be include()ed prior to project()
55

6-
# todo document
7-
86
if (DEFINED ENV{PICO_SDK_PATH} AND (NOT PICO_SDK_PATH))
97
set(PICO_SDK_PATH $ENV{PICO_SDK_PATH})
108
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
2018
message("Using PICO_SDK_FETCH_FROM_GIT_PATH from environment ('${PICO_SDK_FETCH_FROM_GIT_PATH}')")
2119
endif ()
2220

23-
set(PICO_SDK_PATH "${PICO_SDK_PATH}" CACHE PATH "Path to the PICO SDK")
24-
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")
21+
set(PICO_SDK_PATH "${PICO_SDK_PATH}" CACHE PATH "Path to the Raspberry Pi Pico SDK")
22+
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")
2523
set(PICO_SDK_FETCH_FROM_GIT_PATH "${PICO_SDK_FETCH_FROM_GIT_PATH}" CACHE FILEPATH "location to download SDK")
2624

2725
if (NOT PICO_SDK_PATH)
@@ -37,14 +35,14 @@ if (NOT PICO_SDK_PATH)
3735
GIT_TAG master
3836
)
3937
if (NOT pico_sdk)
40-
message("Downloading PICO SDK")
38+
message("Downloading Raspberry Pi Pico SDK")
4139
FetchContent_Populate(pico_sdk)
4240
set(PICO_SDK_PATH ${pico_sdk_SOURCE_DIR})
4341
endif ()
4442
set(FETCHCONTENT_BASE_DIR ${FETCHCONTENT_BASE_DIR_SAVE})
4543
else ()
4644
message(FATAL_ERROR
47-
"PICO SDK location was not specified. Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT to on to fetch from git."
45+
"SDK location was not specified. Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT to on to fetch from git."
4846
)
4947
endif ()
5048
endif ()
@@ -56,9 +54,9 @@ endif ()
5654

5755
set(PICO_SDK_INIT_CMAKE_FILE ${PICO_SDK_PATH}/pico_sdk_init.cmake)
5856
if (NOT EXISTS ${PICO_SDK_INIT_CMAKE_FILE})
59-
message(FATAL_ERROR "Directory '${PICO_SDK_PATH}' does not appear to contain the PICO SDK")
57+
message(FATAL_ERROR "Directory '${PICO_SDK_PATH}' does not appear to contain the Raspberry Pi Pico SDK")
6058
endif ()
6159

62-
set(PICO_SDK_PATH ${PICO_SDK_PATH} CACHE PATH "Path to the PICO SDK" FORCE)
60+
set(PICO_SDK_PATH ${PICO_SDK_PATH} CACHE PATH "Path to the Raspberry Pi Pico SDK" FORCE)
6361

6462
include(${PICO_SDK_INIT_CMAKE_FILE})

0 commit comments

Comments
 (0)