-# Name of the target\r
-set(CMAKE_SYSTEM_NAME arm-none-eabi)\r
-set(CMAKE_SYSTEM_PROCESSOR cortex-m0)\r
-\r
-set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0")\r
-set(VFP_FLAGS "")\r
-set(LD_FLAGS "-nostartfiles")\r
-\r
+# Name of the target
+set(CMAKE_SYSTEM_NAME Generic)
+set(CMAKE_SYSTEM_PROCESSOR cortex-m0)
+
+set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0")
+set(VFP_FLAGS "")
+set(LD_FLAGS "-nostartfiles")
+