Skip to content

Commit 2062372

Browse files
kilograhamfivdiWren6991urishzapta
authored
SDK 1.3.0 release
See release notes for details Co-authored-by: Brian Cooke <[email protected]> Co-authored-by: Luke Wren <[email protected]> Co-authored-by: Uri Shaked <[email protected]> Co-authored-by: Zapta <[email protected]> Co-authored-by: Andrew Scheller <[email protected]> Co-authored-by: Liam Fraser <[email protected]> Co-authored-by: Gabriel Wang <[email protected]> Co-authored-by: Matias Silva <[email protected]> Co-authored-by: dp111 <[email protected]> Co-authored-by: Leonardo La Rocca <[email protected]> Co-authored-by: Mahyar Koshkouei <[email protected]> Co-authored-by: Brian Starkey <[email protected]> Co-authored-by: Philip Howard <[email protected]> Co-authored-by: Mike Causer <[email protected]> Co-authored-by: Martino Facchin <[email protected]> Co-authored-by: ZodiusInfuser <[email protected]> Co-authored-by: Manuel Wick <[email protected]> Co-authored-by: Matias Silva <[email protected]> Co-authored-by: Robert Pafford <[email protected]> Co-authored-by: Alasdair Allan <[email protected]> Co-authored-by: Engineer_Will <[email protected]> Co-authored-by: Garatronic <[email protected]>
1 parent bfcbefa commit 2062372

File tree

158 files changed

+7078
-1436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+7078
-1436
lines changed

.github/pull_request_template.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
_Instructions: (please delete)_
2+
- _please do not submit against `master`, use `develop` instead_
3+
- _please make sure there is an associated issue for your PR, and reference it via "Fixes #num" in the description_
4+
- _please enter a detailed description_

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ if (NOT TARGET _pico_sdk_inclusion_marker)
3333
add_subdirectory(tools)
3434
add_subdirectory(src)
3535

36-
add_compile_options(-Winline)
37-
3836
# allow customization
3937
add_sub_list_dirs(PICO_SDK_POST_LIST_DIRS)
4038
add_sub_list_files(PICO_SDK_POST_LIST_FILES)

CONTRIBUTING.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Contributing to Raspberry Pi Pico C/C++ SDK
2+
3+
## How to Report a Bug
4+
5+
We use GitHub to host code, track [issues](https://github.com/raspberrypi/pico-sdk/issues) and feature requests, and to accept [pull requests](https://github.com/raspberrypi/pico-sdk/pulls). If you find think you have found a bug in the SDK please report it by [opening a new issue](https://github.com/raspberrypi/pico-sdk/issues/new). Please include as much detail as possible, and ideally some code to reproduce the problem.
6+
7+
## How to Contribute Code
8+
9+
In order to contribute new or updated code, you must first create a GitHub account and fork the original repository to your own account. You can make changes, save them in your repository, then [make a pull request](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) against this repository. The pull request will appear [in the repository](https://github.com/raspberrypi/pico-sdk/pulls) where it can be assessed by the maintainers, and if appropriate, merged with the official repository.
10+
11+
**NOTE:** Development takes place on the `develop` branch in this repository. Please open your https://github.com/raspberrypi/pico-sdk/pulls[pull request] (PR) against the [`develop`](https://github.com/raspberrypi/pico-sdk/tree/develop) branch, pull requests against the `master` branch will automatically CI fail checks and will not be accepted. You will be asked to rebase your PR against `develop` and if you do not do so, your PR will be closed.
12+
13+
While we are happy to take contributions, big or small, changes in the SDK may have knock-on effects in other places so it is possible that apparently benign pull requests that make seemingly small changes could be refused.
14+
15+
### Code Style
16+
17+
If you are contributing new or updated code please match the existing code style, particularly:
18+
19+
* Use 4 spaces for indentation rather than tabs.
20+
* Braces are required for everything except single line `if` statements.
21+
* Opening braces should not be placed on a new line.
22+
23+
### Licensing
24+
25+
Code in this repository is lisensed under the [BSD-3 License](LICENSE.TXT). By contributing content to this repository you are agreeing to place your contributions under this licence.

docs/DoxygenLayout.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<tab type="user" url="https://rptl.io/pico-faq" visible="yes" title="Raspberry Pi Pico FAQ" intro=""/>
1616
</tab>
1717
<tab type="usergroup" url="@ref weblinks_page" visible="yes" title="Web" intro="useful weblinks">
18-
<tab type="user" url="https://www.raspberrypi.org/" visible="yes" title="Raspberry Pi Site" intro=""/>
18+
<tab type="user" url="https://www.raspberrypi.com/" visible="yes" title="Raspberry Pi Site" intro=""/>
1919
<tab type="user" url="https://rptl.io/rp2040-get-started" visible="yes" title="Raspberry Pi Pico Page" intro=""/>
20-
<tab type="user" url="https://www.raspberrypi.org/forums" visible="yes" title="Raspberry Pi Forums" intro=""/>
20+
<tab type="user" url="https://forums.raspberrypi.com/" visible="yes" title="Raspberry Pi Forums" intro=""/>
2121
<tab type="user" url="https://github.com/raspberrypi/pico-sdk" visible="yes" title="Raspberry Pi Pico SDK on GitHub" intro=""/>
2222
<tab type="user" url="https://github.com/raspberrypi/pico-examples" visible="yes" title="Pico Examples on GitHub" intro=""/>
2323
<tab type="user" url="https://github.com/raspberrypi/pico-extras" visible="yes" title="Pico Extras on GitHub" intro=""/>

docs/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
<div class="navigation-footer">
5656
<img src="logo-mobile.svg" alt="Raspberry Pi">
57-
<a href="https://www.raspberrypi.org/" target="_blank">By Raspberry Pi (Trading) Ltd</a>
57+
<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi (Trading) Ltd</a>
5858
</div>
5959
<!-- <div class="search">
6060
<form>

docs/weblinks_page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ The full documentation for the RP2040 and Raspberry Pi Pico board can be found a
1414

1515
At Raspberry Pi we have a very community-based attitude to help. We run a very popular and busy forum where you can ask questions about any aspect of the Raspberry Pi ecosystem, including the Raspberry Pi Pico.
1616

17-
You can find our forums at the [following link](https://www.raspberrypi.org/forums).
17+
You can find our forums at the [following link](https://forums.raspberrypi.com/).
1818

19-
For the main Raspberry Pi website, [see here](https://www.raspberrypi.org)
19+
For the main Raspberry Pi website, [see here](https://www.raspberrypi.com)
2020

2121
For the Raspberry Pi Pico page, [see here](https://rptl.io/rp2040-get-started)
2222

lib/tinyusb

Submodule tinyusb updated 359 files

pico_sdk_version.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
set(PICO_SDK_VERSION_MAJOR 1)
44
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_MINOR, SDK minor version number, type=int, group=pico_base
55
# PICO_CONFIG: PICO_SDK_VERSION_MINOR, SDK minor version number, type=int, group=pico_base
6-
set(PICO_SDK_VERSION_MINOR 2)
6+
set(PICO_SDK_VERSION_MINOR 3)
77
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_REVISION, SDK version revision, type=int, group=pico_base
88
# PICO_CONFIG: PICO_SDK_VERSION_REVISION, SDK version revision, type=int, group=pico_base
99
set(PICO_SDK_VERSION_REVISION 0)
1010
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_PRE_RELEASE_ID, optional SDK pre-release version identifier, type=string, group=pico_base
1111
# PICO_CONFIG: PICO_SDK_VERSION_PRE_RELEASE_ID, optional SDK pre-release version identifier, type=string, group=pico_base
12+
#set(PICO_SDK_VERSION_PRE_RELEASE_ID develop)
1213

1314
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_STRING, SDK version, type=string, group=pico_base
1415
# PICO_CONFIG: PICO_SDK_VERSION_STRING, SDK version, type=string, group=pico_base

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ endfunction()
3636
function(pico_add_map_output TARGET)
3737
get_target_property(target_type ${TARGET} TYPE)
3838
if ("EXECUTABLE" STREQUAL "${target_type}")
39-
target_link_options(${TARGET} PRIVATE "LINKER:-Map=$<TARGET_PROPERTY:NAME>${CMAKE_EXECUTABLE_SUFFIX}.map")
39+
target_link_options(${TARGET} PRIVATE "LINKER:-Map=$<IF:$<BOOL:$<TARGET_PROPERTY:OUTPUT_NAME>>,$<TARGET_PROPERTY:OUTPUT_NAME>,$<TARGET_PROPERTY:NAME>>${CMAKE_EXECUTABLE_SUFFIX}.map")
4040
else ()
41-
target_link_options(${TARGET} INTERFACE "LINKER:-Map=$<TARGET_PROPERTY:NAME>${CMAKE_EXECUTABLE_SUFFIX}.map")
41+
target_link_options(${TARGET} INTERFACE "LINKER:-Map=$<IF:$<BOOL:$<TARGET_PROPERTY:OUTPUT_NAME>>,$<TARGET_PROPERTY:OUTPUT_NAME>,$<TARGET_PROPERTY:NAME>>${CMAKE_EXECUTABLE_SUFFIX}.map")
4242
endif ()
4343
endfunction()
4444

src/board_setup.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PICO_CMAKE_CONFIG: PICO_BOARD, The board name being built for. This is overridable from the user environment, type=string, default=rp2040, group=build
1+
# PICO_CMAKE_CONFIG: PICO_BOARD, The board name being built for. This is overridable from the user environment, type=string, default=pico, group=build
22
if (DEFINED ENV{PICO_BOARD})
33
set(PICO_BOARD $ENV{PICO_BOARD})
44
message("Using PICO_BOARD from environment ('${PICO_BOARD}')")

0 commit comments

Comments
 (0)