mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
* Rework use of pico_cmake_set in board headers to make it slightly less magic/confusing - prefer "pico_cmake_set(var, value)" over "// pico_cmake_set var = value" - prefer "pico_cmake_set_default(var, value)" over "// pico_cmake_set_default var = value" - move these inside the header include guards as CLion complains Note that the macros are defined in "pico.h" however that is not explicitly included by the board headers; this will probably confuse some VS code syntax highligting, so lets see how it looks - i'd prefer to avoid having to include a header just for this * Update check_board_header.py with the new pico_cmake_set formats * Add brackets back around `PICO_FLASH_SIZE_BYTES` settings The python script checks for an exact match between the #define and the pico_cmake_set_default, so fails without the brackets * Rename to pico_board_cmake_set and pico_board_cmake_set_default * Fix support for old versions --------- Co-authored-by: William Vinnicombe <william.vinnicombe@raspberrypi.com> |
||
|---|---|---|
| .. | ||
| example_keys | ||
| pioasm | ||
| bazel_build.py | ||
| bazel_common.py | ||
| BUILD.bazel | ||
| build_all_headers.py | ||
| check_all_board_headers.sh | ||
| check_board_header.py | ||
| check_configs.sh | ||
| check_doxygen_groups.py | ||
| check_source_files_in_bazel_build.py | ||
| CMakeLists.txt | ||
| compare_build_systems.py | ||
| copro_dis.py | ||
| extract_build_defines.py | ||
| extract_cmake_configs.py | ||
| extract_configs.py | ||
| Findpicotool.cmake | ||
| Findpioasm.cmake | ||
| run_all_bazel_checks.py | ||
| uf2_aspect.bzl | ||