From 68c67e9c4e92df1a9991d5aaed90eb3d84fc2cf6 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 2 Mar 2025 13:37:24 -0800 Subject: [PATCH] Correct a comment about overriding the SD_VERSION in CMakeLists.txt All existing boards that override SD_VERSION do it in board.mk and, at least, my naive attempt to do it in board.cmake didn't actually work. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 567a815a..4e973be0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ set(UF2_FAMILY_ID_BOOTLOADER 0xd663823c) set(CMAKE_EXECUTABLE_SUFFIX .elf) add_executable(bootloader) -# SD_VERSION can be overwritten by board.cmake +# SD_VERSION can be overwritten by board.mk if(NOT DEFINED SD_VERSION) if(MCU_VARIANT STREQUAL "nrf52833") set(SD_VERSION 7.3.0) @@ -333,4 +333,4 @@ add_custom_target(flash-mbr add_custom_target(flash-erase COMMAND ${NRFJPROG} -f nrf52 --eraseall - ) \ No newline at end of file + )