summaryrefslogtreecommitdiff
path: root/hw/bsp/samg
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-01-22 22:31:08 +0700
committerhathach <[email protected]>2025-01-22 22:31:08 +0700
commit6080f89f3daae50344e21accf972061240f55ccd (patch)
tree0bd2e48e588877d9751daeddd3d4c71b21101f5e /hw/bsp/samg
parent91214b46142186b6c30ea468779c7ad39e1bc605 (diff)
- change to use CMAKE_SYSTEM_CPU to prevent CMAKE_SYSTEM_PROCESSOR conflict with zephyr
- change tinyusb CMakeLists.txt to function tinyusb_target_add() instead of defining tinyusb lib target
Diffstat (limited to 'hw/bsp/samg')
-rw-r--r--hw/bsp/samg/family.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/samg/family.cmake b/hw/bsp/samg/family.cmake
index 1cc715ce6..4a1cbd730 100644
--- a/hw/bsp/samg/family.cmake
+++ b/hw/bsp/samg/family.cmake
@@ -7,7 +7,7 @@ set(SDK_DIR ${TOP}/hw/mcu/microchip/samg55)
include(${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake)
# toolchain set up
-set(CMAKE_SYSTEM_PROCESSOR cortex-m4 CACHE INTERNAL "System Processor")
+set(CMAKE_SYSTEM_CPU cortex-m4 CACHE INTERNAL "System Processor")
set(CMAKE_TOOLCHAIN_FILE ${TOP}/examples/build_system/cmake/toolchain/arm_${TOOLCHAIN}.cmake)
set(FAMILY_MCUS SAMG CACHE INTERNAL "")