File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ indent_size = 2
17
17
indent_style = space
18
18
19
19
[{CMakeLists.txt,* .cmake} ]
20
- indent_size = 2
20
+ indent_size = 4
21
21
indent_style = space
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ target_sources(app PRIVATE src/main.c)
8
8
9
9
if (${ARCH} STREQUAL "posix" OR ${ARCH} STREQUAL "x86" )
10
10
set (ldc_target i686-unknown-none-newlibeabi)
11
- elseif (${ARCH} STREQUAL "arm" )
11
+ elseif (CONFIG_CPU_CORTEX_M )
12
12
if (CONFIG_CPU_CORTEX_M3)
13
13
set (ldc_target thumbv7em-unknown-none-newlibeabi)
14
14
else ()
15
- message (FATAL_ERROR "ARCH ${ARCH} not supported " )
15
+ message (FATAL_ERROR "Unknown Cortex-M target " )
16
16
endif ()
17
17
else ()
18
18
message (FATAL_ERROR "ARCH ${ARCH} not supported" )
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ target_sources(app PRIVATE src/main.c)
8
8
9
9
if (${ARCH} STREQUAL "posix" OR ${ARCH} STREQUAL "x86" )
10
10
set (ldc_target i686-unknown-none-newlibeabi)
11
- elseif (${ARCH} STREQUAL "arm" )
11
+ elseif (CONFIG_CPU_CORTEX_M )
12
12
if (CONFIG_CPU_CORTEX_M3)
13
13
set (ldc_target thumbv7em-unknown-none-newlibeabi)
14
14
else ()
15
- message (FATAL_ERROR "ARCH ${ARCH} not supported " )
15
+ message (FATAL_ERROR "Unknown Cortex-M target " )
16
16
endif ()
17
17
else ()
18
18
message (FATAL_ERROR "ARCH ${ARCH} not supported" )
You can’t perform that action at this time.
0 commit comments