Skip to content

pxtarget.json: githubCorePackage bumped from v0.2.13 to v0.3.0#6925

Open
KierPalin wants to merge 1 commit into
microsoft:masterfrom
KierPalin:microbit-v2-samples#v0.3.0
Open

pxtarget.json: githubCorePackage bumped from v0.2.13 to v0.3.0#6925
KierPalin wants to merge 1 commit into
microsoft:masterfrom
KierPalin:microbit-v2-samples#v0.3.0

Conversation

@KierPalin

@KierPalin KierPalin commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Hi @abchatra @thomasjball,

This is the aforementioned compilation issue:
CMake 4.0.0+ removed compatibility with versions older than 3.5. This is a problem because the current githubCorePackage is on v0.2.13 which means that the microbit-v2-samples/utils/cmake/JSONParser.cmake has a cmake_minimum_required of 3.1, thus pxt-microbit cannot be compiled when using the latest versions of CMake.

Fortunately, the latest microbit-v2-samples bumps the cmake_minimum_required to 3.6, so we need only update the githubCorePackage to it.

I tested the change by building microcode-v2 and its dependencies with this change and the latest CMake version 4.3.0.

There are a few changes between v0.3.0 and v0.2.13, as visible in this comparison for v0.3.0 and v0.2.13.

Thanks,
Kier

…s cmake_minimum_required of utils/cmake/JSONParser.cmake from 3.1 to 3.6; this is important because CMake 4.0.0 deprecates <3.5. This meant that pxt-microbit couldn't be compiled with CMake versions newer than 4.0.0
@thomasjball thomasjball requested a review from abchatra June 12, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant