From c38b438c4a24882654af0a90351959bf18e73903 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Thu, 12 Mar 2026 13:11:01 -0700 Subject: [PATCH 01/15] add readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..5d71822 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Pico Packages + +This repository contains conan package files for the Raspberry Pi Pico C/C++ +SDK. This repository also seperately packages `pioasm` and `picotool` seperately +such that they may be consumed by conan packages as tool requirements. Various +patches are included so picosdk works better with conan dependencies. + From 29a74bf520fe4398f0c45711cfd215bf1eb0512e Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Wed, 18 Mar 2026 09:21:39 -0700 Subject: [PATCH 02/15] move board-headers content to libhal-micromod --- board-headers/micromod/conanfile.py | 31 -------- .../micromod/libhal_rp2350_micromod.h | 71 ------------------- 2 files changed, 102 deletions(-) delete mode 100644 board-headers/micromod/conanfile.py delete mode 100644 board-headers/micromod/libhal_rp2350_micromod.h diff --git a/board-headers/micromod/conanfile.py b/board-headers/micromod/conanfile.py deleted file mode 100644 index 6d5319f..0000000 --- a/board-headers/micromod/conanfile.py +++ /dev/null @@ -1,31 +0,0 @@ -from conan import ConanFile -from conan.tools.files import copy - -class MicromodHeader(ConanFile): - name = "rp-board-header-rp2350-micromod" - package_type = "header-library" - - license = "BSD-3" - author = " " - url = "https://github.com/DolphinGui/ppackage" - description = "A header for Picos on micromod" - topics = ("Embedded", "Raspberry Pi Pico", "ARM") - - settings = "os", "compiler", "build_type", "arch" - options = {} - default_options = {} - - exports_sources = "*.h" - - - def package(self): - copy(self, "*", self.export_sources_folder, self.package_folder) - - def package_info(self): - self.buildenv_info.append("PICO_BOARD_HEADER_DIRS", self.package_folder, separator=";") - self.cpp_info.includedirs = [] # no actual include directories - self.cpp_info.libdirs = [] # nothing is being built - - def package_id(self): - self.info.settings.clear() - diff --git a/board-headers/micromod/libhal_rp2350_micromod.h b/board-headers/micromod/libhal_rp2350_micromod.h deleted file mode 100644 index f81e61c..0000000 --- a/board-headers/micromod/libhal_rp2350_micromod.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2025 Shin Umeda - * - * - * - * */ - -#ifndef _rp2350_micromod_h -#define _rp2350_micromod_h - -pico_board_cmake_set(PICO_PLATFORM, rp2350) - -#define PICO_RP2350A 0 // use RP2350B - -#ifndef PICO_DEFAULT_UART -#define PICO_DEFAULT_UART 0 -#endif -#ifndef PICO_DEFAULT_UART_TX_PIN -#define PICO_DEFAULT_UART_TX_PIN 12 -#endif -#ifndef PICO_DEFAULT_UART_RX_PIN -#define PICO_DEFAULT_UART_RX_PIN 13 -#endif - -// --- LED --- -#ifndef PICO_DEFAULT_LED_PIN -#define PICO_DEFAULT_LED_PIN 46 -#endif - -#ifndef PICO_DEFAULT_I2C -#define PICO_DEFAULT_I2C 0 -#endif -#ifndef PICO_DEFAULT_I2C_SDA_PIN -#define PICO_DEFAULT_I2C_SDA_PIN 16 -#endif -#ifndef PICO_DEFAULT_I2C_SCL_PIN -#define PICO_DEFAULT_I2C_SCL_PIN 17 -#endif - -// --- SPI --- -#ifndef PICO_DEFAULT_SPI -#define PICO_DEFAULT_SPI 0 -#endif -#ifndef PICO_DEFAULT_SPI_SCK_PIN -#define PICO_DEFAULT_SPI_SCK_PIN 34 -#endif -#ifndef PICO_DEFAULT_SPI_TX_PIN -#define PICO_DEFAULT_SPI_TX_PIN 35 -#endif -#ifndef PICO_DEFAULT_SPI_RX_PIN -#define PICO_DEFAULT_SPI_RX_PIN 36 -#endif - -#define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1 - -#ifndef PICO_FLASH_SPI_CLKDIV -#define PICO_FLASH_SPI_CLKDIV 2 -#endif - -pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024)) -#ifndef PICO_FLASH_SIZE_BYTES -#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024) -#endif - -pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1) -#ifndef PICO_RP2350_A2_SUPPORTED -#define PICO_RP2350_A2_SUPPORTED 1 -#endif - - -#endif From 013fa66616583474de714cf9e52df29954a991ef Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Wed, 18 Mar 2026 09:23:37 -0700 Subject: [PATCH 03/15] add new profiles for the feather and micromod --- profiles/feather-rp2350 | 5 +++++ profiles/micromod-rp2350 | 5 +++++ profiles/rp2350 | 8 ++++++-- profiles/rp2350a | 5 +++++ profiles/rp2350b | 5 +++++ 5 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 profiles/feather-rp2350 create mode 100644 profiles/micromod-rp2350 create mode 100644 profiles/rp2350a create mode 100644 profiles/rp2350b diff --git a/profiles/feather-rp2350 b/profiles/feather-rp2350 new file mode 100644 index 0000000..f808d59 --- /dev/null +++ b/profiles/feather-rp2350 @@ -0,0 +1,5 @@ +include(rp2350a) + +[options] +*:board=adafruit_feather_rp2350 + diff --git a/profiles/micromod-rp2350 b/profiles/micromod-rp2350 new file mode 100644 index 0000000..7ae7a0c --- /dev/null +++ b/profiles/micromod-rp2350 @@ -0,0 +1,5 @@ +include(rp2350b) + +[options] +*:board=libhal_rp2350_micromod +*:micromod_board=mod-rp2350b diff --git a/profiles/rp2350 b/profiles/rp2350 index abcab05..34f43a4 100644 --- a/profiles/rp2350 +++ b/profiles/rp2350 @@ -1,14 +1,18 @@ [settings] -build_type=MinSizeRel os=baremetal -arch=cortex-m33 build_type=RelWithDebInfo +arch=cortex-m33f [options] *:platform=rp2350-arm-s +prebuilt-picolibc/*:oslib=semihost +prebuilt-picolibc/*:crt0=none +libhal-arm-mcu/*:use_default_linker_script=False + [buildenv] CC=arm-none-eabi-gcc CXX=arm-none-eabi-g++ LD=arm-none-eabi-ld + [conf] tools.cmake.cmaketoolchain:generator=Ninja diff --git a/profiles/rp2350a b/profiles/rp2350a new file mode 100644 index 0000000..70dee5f --- /dev/null +++ b/profiles/rp2350a @@ -0,0 +1,5 @@ +include(rp2350) + +[options] +*:variant=rp2350a + diff --git a/profiles/rp2350b b/profiles/rp2350b new file mode 100644 index 0000000..1ba6308 --- /dev/null +++ b/profiles/rp2350b @@ -0,0 +1,5 @@ +include(rp2350) + +[options] +*:variant=rp2350b + From cace3f68fdc59eafb3f407d0a6d2812658af69b5 Mon Sep 17 00:00:00 2001 From: Khalil Estell Date: Wed, 8 Apr 2026 17:08:03 -0700 Subject: [PATCH 04/15] :construction_worker: Add deploy on release --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bea2b3..a00b712 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ on: push: branches: - main + release: + types: [published] concurrency: group: ${{ github.workflow }}-${{ github.ref }} From 62bdb8a8d6b62a7100ba762570afb52e2f645a14 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 14 Apr 2026 17:48:47 -0700 Subject: [PATCH 05/15] change profile to fit arm-mcu requirements --- profiles/micromod-rp2350 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/profiles/micromod-rp2350 b/profiles/micromod-rp2350 index 7ae7a0c..2af4712 100644 --- a/profiles/micromod-rp2350 +++ b/profiles/micromod-rp2350 @@ -2,4 +2,7 @@ include(rp2350b) [options] *:board=libhal_rp2350_micromod -*:micromod_board=mod-rp2350b +*:flash_size=(8 * 1024 * 1024) +*:flash_clkdiv=2 +*:rp_revision=a2 +*:use_w25q_flash=True From fe282103f2e8699304c89f94df79c6e0cbb55a0b Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 14 Apr 2026 22:32:17 -0700 Subject: [PATCH 06/15] fix test_package conan configuration --- test_package/CMakeLists.txt | 7 +++++++ test_package/conanfile.py | 9 ++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/test_package/CMakeLists.txt b/test_package/CMakeLists.txt index f458419..6b48e13 100644 --- a/test_package/CMakeLists.txt +++ b/test_package/CMakeLists.txt @@ -16,6 +16,13 @@ add_executable(main main.cpp) target_compile_options(main PRIVATE -Wall -Werror) target_link_libraries(main pico_stdlib hardware_gpio pico_stdio) +# This is necessary to get LTO to work, but for some reason it doesn't build when +# it's off. TODO investigate further +target_compile_definitions(main PUBLIC PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS=0) + +include(CheckIPOSupported) +check_ipo_supported() +set_property(TARGET main PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) pico_add_extra_outputs(main) pico_enable_stdio_usb(main 1) diff --git a/test_package/conanfile.py b/test_package/conanfile.py index 3da280a..947e5e2 100644 --- a/test_package/conanfile.py +++ b/test_package/conanfile.py @@ -4,11 +4,11 @@ class CompressorRecipe(ConanFile): settings = "os", "compiler", "build_type", "arch" + options = {"board": ["ANY"], "platform": ["ANY"], "variant": ["ANY"]} generators = "VirtualBuildEnv" def requirements(self): self.requires("picosdk/2.2.0") - self.requires("micromod-header/1.0.0") def build_requirements(self): self.tool_requires("pioasm/2.2.0") @@ -16,6 +16,9 @@ def build_requirements(self): def generate(self): tc = CMakeToolchain(self) + if str(self.options.platform).startswith("rp2"): + if self.options.board: + tc.cache_variables["PICO_BOARD"] = str(self.options.board) tc.generate() deps = CMakeDeps(self) deps.generate() @@ -24,10 +27,6 @@ def build(self): cmake = CMake(self) defs = { "CMAKE_ASM_FLAGS_INIT": "-mcpu=cortex-m33 -mfloat-abi=soft", - # "PICO_PLATFORM": "rp2350-arm-s", - # For some reason even if I set PICO_FLASH_SIZE with PICO_BOARD=none, - # it still doesn't work. I can't explain why. - "PICO_BOARD": "rp2350_micromod", } cmake.configure(variables = defs) cmake.build() From c8939996b8045c5351aa8a75da22ad895c5b208a Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 14 Apr 2026 22:37:49 -0700 Subject: [PATCH 07/15] update readme to include basic build instructions --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index 5d71822..3521b3e 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,39 @@ SDK. This repository also seperately packages `pioasm` and `picotool` seperately such that they may be consumed by conan packages as tool requirements. Various patches are included so picosdk works better with conan dependencies. +## Building + +`pico-sdk` is a pure source package and does not require any profile to build. +Use `conan create pico-sdk --version ` and it should just work. The current +version that is supported is `2.2.1-alpha` since it has hard-floating point ABI support. +`2.2.0` is also supported for soft-fp ABI, and is required to build picotool and pioasm. + +```sh +conan create pico-sdk --version 2.2.1-alpha +``` + +`picotool` is a host software used to generate uf2 files and upload firmware. Use either +the default conan profile, or whatever conan profile you use to build host software. `picotool` +is currently tested to work on `2.2.0`, which depends on `pico-sdk/2.2.0`. + +```sh +conan create picotool --version 2.2.0 +``` + +`pioasm` is a host software used to assemble pio programs. It is not necessary unless you are +developing programs using the pio peripheral. `pioasm` is currently known to build on `2.2.0`, which +depends on `pico-sdk/2.2.0`. + +```sh +conan create pioasm --version 2.2.0 +``` + +`test_package` is a small program demonstrating the usage of `pico-sdk` and `picotool`. It is intended +as a guide on configuring dependents on how to use `pico-sdk`. + +```sh +conan build test_package -pr:h hal/tc/arm-gcc-14.2 -pr:h feather-rp2350 -of build +``` + +Using `pico-sdk/2.2.1-alpha` with `picotool/2.2.0` is perfectly acceptable and the expected way to build +projects until `pico-sdk/2.2.1` becomes formally released. From aae16a078b9bb66d0e3013d0d94068c04f552d33 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 5 May 2026 14:01:17 -0600 Subject: [PATCH 08/15] fix windows min/max issues for all files --- picotool/conanfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/picotool/conanfile.py b/picotool/conanfile.py index ef3fa00..ae8bd5e 100644 --- a/picotool/conanfile.py +++ b/picotool/conanfile.py @@ -74,6 +74,7 @@ def generate(self): deps = CMakeDeps(self) deps.generate() tc = CMakeToolchain(self) + tc.preprocessor_definitions["NOMINMAX"] = "1" tc.generate() def build(self): From c16fa0351c891942024556f0c497c2617f9fbf79 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 5 May 2026 14:05:23 -0600 Subject: [PATCH 09/15] hopefully fix CI to get it to work on windows. --- .github/workflows/ci.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a00b712..73cf727 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 🏗️ Build pioasm, picosdk, picotool +name: 🏗️ Build all packages on: workflow_dispatch: @@ -41,8 +41,8 @@ jobs: # Build picosdk 2.2.0 - - run: conan create pioasm --version=2.2.0 -pr:a hal/tc/llvm -b missing - run: conan create pico-sdk --version=2.2.0 + - run: conan create pioasm --version=2.2.0 -pr:a hal/tc/llvm -b missing - if: ${{ startsWith(matrix.os, 'macos') }} run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm -pr:a profiles/macos-build @@ -51,7 +51,7 @@ jobs: run: sudo -E $(which conan) create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm -c tools.system.package_manager:mode=install - if: ${{ startsWith(matrix.os, 'windows') }} - run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm + run: conan create picotool -b missing --version=2.2.0 -c tools.cmake.cmaketoolchain:generator="NMake Makefiles" - name: 📡 Sign into JFrog Artifactory env: @@ -59,19 +59,21 @@ jobs: JFROG_USER: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN_USER }} run: conan remote login -p $PASSWORD libhal $JFROG_USER - # Upload Packages + # TODO(#5): Check that demo builds correctly + + # Upload Packages: disabled for now as we fix - - if: ${{ startsWith(github.ref, 'refs/tags/') }} - run: conan upload "libusb/*" --confirm -r=libhal + # - if: ${{ startsWith(github.ref, 'refs/tags/') }} + # run: conan upload "libusb/*" --confirm -r=libhal - - if: ${{ startsWith(github.ref, 'refs/tags/') }} - run: conan upload "mbedlts/*" --confirm -r=libhal + # - if: ${{ startsWith(github.ref, 'refs/tags/') }} + # run: conan upload "mbedlts/*" --confirm -r=libhal - - if: ${{ startsWith(github.ref, 'refs/tags/') }} - run: conan upload "pioasm/*" --confirm -r=libhal + # - if: ${{ startsWith(github.ref, 'refs/tags/') }} + # run: conan upload "pioasm/*" --confirm -r=libhal - - if: ${{ startsWith(github.ref, 'refs/tags/') }} - run: conan upload "pico-sdk/*" --confirm -r=libhal + # - if: ${{ startsWith(github.ref, 'refs/tags/') }} + # run: conan upload "pico-sdk/*" --confirm -r=libhal - - if: ${{ startsWith(github.ref, 'refs/tags/') }} - run: conan upload "picotool/*" --confirm -r=libhal + # - if: ${{ startsWith(github.ref, 'refs/tags/') }} + # run: conan upload "picotool/*" --confirm -r=libhal From ce90f79d576658136077bde062db504c26fb3957 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 5 May 2026 14:08:52 -0600 Subject: [PATCH 10/15] build windows too --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73cf727..89ce34f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-24.04, macos-latest] + os: [ubuntu-24.04, macos-latest windows-2022] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From f3bcd3deaecfddcbf1f66bcbcfa295af7788fa36 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 5 May 2026 14:10:39 -0600 Subject: [PATCH 11/15] oopsies typo --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89ce34f..54e23df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-24.04, macos-latest windows-2022] + os: [ubuntu-24.04, macos-latest, windows-2022] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From 4718e17436997958eaf73731cb3a8b913287e7af Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 5 May 2026 14:17:44 -0600 Subject: [PATCH 12/15] make macos build non-profile dependent --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54e23df..a9f5aec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: - run: conan create pioasm --version=2.2.0 -pr:a hal/tc/llvm -b missing - if: ${{ startsWith(matrix.os, 'macos') }} - run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm -pr:a profiles/macos-build + run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm -c tools.build:sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk - if: ${{ startsWith(matrix.os, 'ubuntu') }} run: sudo -E $(which conan) create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm -c tools.system.package_manager:mode=install From 439a228397142c8a488bb1cdc6aa9da7a1f206cb Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 5 May 2026 14:24:30 -0600 Subject: [PATCH 13/15] don't log in either actually --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9f5aec..8035f3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,11 +53,11 @@ jobs: - if: ${{ startsWith(matrix.os, 'windows') }} run: conan create picotool -b missing --version=2.2.0 -c tools.cmake.cmaketoolchain:generator="NMake Makefiles" - - name: 📡 Sign into JFrog Artifactory - env: - PASSWORD: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN }} - JFROG_USER: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN_USER }} - run: conan remote login -p $PASSWORD libhal $JFROG_USER + # - name: 📡 Sign into JFrog Artifactory + # env: + # PASSWORD: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN }} + # JFROG_USER: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN_USER }} + # run: conan remote login -p $PASSWORD libhal $JFROG_USER # TODO(#5): Check that demo builds correctly From ee43f99b3e597b15b6ba44431adb0900a236b931 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 5 May 2026 14:34:58 -0600 Subject: [PATCH 14/15] reenable upload and do not upload dependencies --- .github/workflows/ci.yml | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8035f3d..f54e8e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,27 +53,19 @@ jobs: - if: ${{ startsWith(matrix.os, 'windows') }} run: conan create picotool -b missing --version=2.2.0 -c tools.cmake.cmaketoolchain:generator="NMake Makefiles" - # - name: 📡 Sign into JFrog Artifactory - # env: - # PASSWORD: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN }} - # JFROG_USER: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN_USER }} - # run: conan remote login -p $PASSWORD libhal $JFROG_USER + - name: 📡 Sign into JFrog Artifactory + env: + PASSWORD: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN }} + JFROG_USER: ${{ secrets.JFROG_LIBHAL_TRUNK_ID_TOKEN_USER }} + run: conan remote login -p $PASSWORD libhal $JFROG_USER # TODO(#5): Check that demo builds correctly - # Upload Packages: disabled for now as we fix + - if: ${{ startsWith(github.ref, 'refs/tags/') }} + run: conan upload "pioasm/*" --confirm -r=libhal - # - if: ${{ startsWith(github.ref, 'refs/tags/') }} - # run: conan upload "libusb/*" --confirm -r=libhal + - if: ${{ startsWith(github.ref, 'refs/tags/') }} + run: conan upload "pico-sdk/*" --confirm -r=libhal - # - if: ${{ startsWith(github.ref, 'refs/tags/') }} - # run: conan upload "mbedlts/*" --confirm -r=libhal - - # - if: ${{ startsWith(github.ref, 'refs/tags/') }} - # run: conan upload "pioasm/*" --confirm -r=libhal - - # - if: ${{ startsWith(github.ref, 'refs/tags/') }} - # run: conan upload "pico-sdk/*" --confirm -r=libhal - - # - if: ${{ startsWith(github.ref, 'refs/tags/') }} - # run: conan upload "picotool/*" --confirm -r=libhal + - if: ${{ startsWith(github.ref, 'refs/tags/') }} + run: conan upload "picotool/*" --confirm -r=libhal From aab82d122aa1f6157a1d35472999b8a2fb758413 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Tue, 5 May 2026 14:36:34 -0600 Subject: [PATCH 15/15] update profiles to be slightly more concise --- profiles/micromod-rp2350 | 1 - profiles/rp2350 | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/profiles/micromod-rp2350 b/profiles/micromod-rp2350 index 2af4712..3f04d6f 100644 --- a/profiles/micromod-rp2350 +++ b/profiles/micromod-rp2350 @@ -1,7 +1,6 @@ include(rp2350b) [options] -*:board=libhal_rp2350_micromod *:flash_size=(8 * 1024 * 1024) *:flash_clkdiv=2 *:rp_revision=a2 diff --git a/profiles/rp2350 b/profiles/rp2350 index 34f43a4..ba18aa6 100644 --- a/profiles/rp2350 +++ b/profiles/rp2350 @@ -1,13 +1,12 @@ [settings] +build_type=Release os=baremetal -build_type=RelWithDebInfo arch=cortex-m33f [options] *:platform=rp2350-arm-s prebuilt-picolibc/*:oslib=semihost prebuilt-picolibc/*:crt0=none -libhal-arm-mcu/*:use_default_linker_script=False [buildenv] CC=arm-none-eabi-gcc