diff --git a/cmake/cortex_m0.cmake b/cmake/cortex_m0.cmake index c1ecc144..82a50ecf 100644 --- a/cmake/cortex_m0.cmake +++ b/cmake/cortex_m0.cmake @@ -1,6 +1,6 @@ # Name of the target set(CMAKE_SYSTEM_NAME Generic) -set(CMAKE_SYSTEM_PROCESSOR cortex-m4) +set(CMAKE_SYSTEM_PROCESSOR cortex-m0) set(THREADX_ARCH "cortex_m0") set(THREADX_TOOLCHAIN "gnu") diff --git a/cmake/cortex_m3.cmake b/cmake/cortex_m3.cmake index 622c456b..9cc1e06e 100644 --- a/cmake/cortex_m3.cmake +++ b/cmake/cortex_m3.cmake @@ -1,6 +1,6 @@ # Name of the target set(CMAKE_SYSTEM_NAME Generic) -set(CMAKE_SYSTEM_PROCESSOR cortex-m4) +set(CMAKE_SYSTEM_PROCESSOR cortex-m3) set(THREADX_ARCH "cortex_m3") set(THREADX_TOOLCHAIN "gnu")