MyGit

2.0.0

raspberrypi/pico-sdk

版本发布时间: 2024-08-08 22:59:22

raspberrypi/pico-sdk最新发布版本:2.0.0(2024-08-08 22:59:22)

This is a major release which adds support for the new RP2350 and for compiling RISC-V code in addition to Arm.

Notices

Major New Features

Support for RP2350

Many programs you have written for RP2040 (say a Raspberry Pi Pico) should work unmodified on RP2350 (say a Raspberry Pi Pico 2) even when compiled for RISC-V.

Security and Code Signing

Board Support

The following boards have been added and may be specified via PICO_BOARD:

New Libraries

hardware_boot_lock (RP2350)

hardware_dcp (RP2350 Arm)

hardware_hazard3 (RP2350 RISC-V)

hardware_powman (RP2350)

hardware_rcp (RP2350 Arm)

hardware_riscv_platform_timer (RP2350)

hardware_sha256 (RP2350)

hardware_ticks

pico_aon_timer

pico_atomic

pico_boot_lock (RP2350)

pico_clib_interface

pico_crt0

pico_cxx_options

pico_platform_compiler

pico_platform_panic

pico_platform_sections

pico_runtime_init

pico_sha256

pico_standard_binary_info

Library Changes / Improvements

Note that all hardware libraries now support the increased number of GPIOs on RP2350B in APIs that take a GPIO number; this is not noted for every library.

pico_base

pico_binary_info

hardware_adc

hardware_clocks

hardware_divider

hardware_dma

hardware_exception

hardware_flash

hardware_gpio

hardware_i2c

hardware_interp

hardware_irq

hardware_pio

hardware_pll

hardware_pwm

hardware_resets

hardware_rtc

hardware_spi

hardware_sync

hardware_timer

hardware_uart

hardware_vreg

hardware_watchdog

hardware_xosc

hardware_regs

hardware_structs

boot_stage2

cmsis

pico_bootrom

pico_bt_stack

pico_cyw43_arch

pico_cyw43_driver

pico_divider

pico_double

pico_float

pico_lwip

pico_mbedtls

pico_multicore

pico_rand

pico_runtime

pico_standard_link

pico_stdio

pico_stdio_usb

pico_stdlib

pico_time

pico_util

tinyusb

pioasm

FreeRTOS integration

Backwards Incompatibilities

There are a handful of minor backwards incompatibilities, that hopefully should affect very few people.

Build

Building Documentation

Fixed Issues

You can see a list of individual commits here, and a list of resolved issues here.

Note these only include public changes made since version 1.5.1. The majority of new code and collateral fixes for the previously unannounced RP2350 were developed and committed in private and delivered as a single "squashed" commit.

New Examples

There are in the pico_examples repository.

Example Description
enc_bootloader A bootloader which decrypts binaries from flash into SRAM.
hello_dcp Use the double-precision coprocessor directly in assembler.
dvi_out_hstx_encoder RP2350 Use the HSTX to output a DVI signal with 3:3:2 RGB
runtime_flash_permissions Demonstrates adding partitions at runtime to change the flash permissions
hello_freertos Examples that demonstrate how run FreeRTOS and tasks on 1 or 2 cores.
multicore_doorbell Claims two doorbells for signaling between the cores. Counts how many doorbell IRQs occur on the second core and uses doorbells to coordinate exit.
hello_otp Demonstrate reading and writing from the OTP on RP2350, along with some of the features of OTP (error correction and page locking).
picow_httpd Runs a LWIP HTTP server test app
picow_freertos_ntp_client_socket Connects to an NTP server using the LwIP Socket API with FreeRTOS in NO_SYS=0 (i.e. full FreeRTOS integration) mode.
pico_freertos_httpd_nosys Runs a LWIP HTTP server test app under FreeRTOS in NO_SYS=1 mode.
pico_freertos_httpd_sys Runs a LWIP HTTP server test app under FreeRTOS in NO_SYS=0 (i.e. full FreeRTOS integration) mode.
squarewave_div_sync Generates a square wave on three GPIOs and synchronises the divider on all the state machines
quadrature_encoder_substep High resolution speed measurement using a standard quadrature encoder
hello_sha256 Demonstrates how to use the pico_sha256 library to calculate a checksum using the hardware in rp2350
mbedtls_sha256 Demonstrates using the SHA-256 hardware acceleration in mbedtls
boot_info Demonstrate how to read and interpret sys info boot info.
rand Demonstrate how to use the pico random number functions.
hello_universal The obligatory Hello World program for Pico (USB and serial output). On RP2350 it will reboot to the other architecture after every 10 prints.
nuke_universal Same as the nuke binary, but universal. On RP2350 runs as a packaged SRAM binary, so is written to flash and copied to SRAM by the bootloader

相关地址:原始地址 下载(tar) 下载(zip)

1、 pico-sdk-2.0.0.tar.gz 2.24MB

查看:2024-08-08发行的版本