Merge pull request #2984 from HiFiPhile/preset

Add CMake presets.
This commit is contained in:
Ha Thach
2025-02-14 11:29:33 +07:00
committed by GitHub
46 changed files with 4371 additions and 2 deletions

4002
hw/bsp/BoardPresets.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -399,7 +399,11 @@ endfunction()
# Add flash jlink target
function(family_flash_jlink TARGET)
if (NOT DEFINED JLINKEXE)
set(JLINKEXE JLinkExe)
if(CMAKE_HOST_WIN32)
set(JLINKEXE JLink.exe)
else()
set(JLINKEXE JLinkExe)
endif()
endif ()
if (NOT DEFINED JLINK_IF)