1
0
mirror of https://github.com/raspberrypi/pico-sdk.git synced 2025-08-07 17:02:52 +03:00

Propogate changed pico_cmake_set_default values to the compilation (#2034)

* Propogate non-default pico_cmake_set_default values through to compile definitions

Add PICO_BOARD_CMAKE_OVERRIDES common scope variable, to contain any pico_cmake_set_default
CMake variables which have been overwritten. This allows passing CMake arguments to the
build, without needing extra target_compile_definitions.

Also add pico_cmake_set_default PICO_RP2350_A2_SUPPORTED to enable/disable the E10 abs-block fix

* Fix more board files missing pico_cmake_set_default PICO_RP2350_A2_SUPPORTED

* Apply @lurch's patch to check_board_header.py
This commit is contained in:
will-v-pi
2024-11-21 23:47:51 +00:00
committed by GitHub
parent 338f99ff1c
commit 2692d9a4cb
42 changed files with 84 additions and 11 deletions

View File

@@ -75,6 +75,7 @@ if (NOT TARGET _pico_sdk_pre_init_marker)
PICO_SDK_POST_LIST_FILES
PICO_CONFIG_HEADER_FILES
PICO_RP2040_CONFIG_HEADER_FILES
PICO_BOARD_CMAKE_OVERRIDES
)
macro(pico_promote_common_scope_vars)