Skip to content

Picotool 2.1.1 fails to configure on CMake 4.x #2573

@Ferdi265

Description

@Ferdi265

When building pico-sdk master with CMake 4.x (without picotool installed on the system), configuring the downloaded picotool 2.1.1 fails due to pico-sdk's version of mbedtls having a too old cmake_minimum_required version.

This issue is worked around on picotool's develop branch since PR#226 by including the mbedtls source files directly, without loading the outdated CMake project. The recent change to pin picotool to a stable release (2.1.1) made this issue resurface.

Steps to reproduce

  • clone pico-sdk
  • run git submodule update --init
  • run cmake -B build && cmake --build build
  • build fails (see log)

Versions

  • pico-sdk commit 9a4113f
  • CMake version 4.0.3-1 (Arch Linux package)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions