Skip to content

Commit 038c2d3

Browse files
committed
Switch to building with C11
Signed-off-by: Peter Collingbourne <[email protected]>
1 parent 2e146c9 commit 038c2d3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

records/tools/armcc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tool_specific:
1313
- -O2
1414
- -Ospace
1515
- --gnu
16-
- --c99
16+
- --c11
1717
- --asm
1818
- --split_sections
1919
- --interleave
@@ -37,7 +37,7 @@ tool_specific:
3737
c_flags:
3838
# uvision.uvproj.tmpl specifies:
3939
# - O2, space
40-
# - C99
40+
# - C11
4141
# - split sections
4242
- --gnu
4343
- --asm

records/tools/armclang.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tool_specific:
1818
- --target=arm-arm-none-eabi
1919
- -Oz
2020
- -g
21-
- --std=c99
21+
- --std=c11
2222
- -fdata-sections
2323
- -ffunction-sections
2424
- -fno-builtin

records/tools/gcc_arm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tool_specific:
1717
- -Werror
1818
- -ffunction-sections
1919
- -fdata-sections
20-
- -std=gnu99
20+
- -std=gnu11
2121
- -fshort-wchar
2222
- -fno-common
2323
- -ffreestanding

records/tools/uvision.uvproj.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
<wLevel>0</wLevel>
357357
<uThumb>0</uThumb>
358358
<uSurpInc>0</uSurpInc>
359-
<uC99>1</uC99>
359+
<uC99>2</uC99>
360360
<useXO>0</useXO>
361361
<VariousControls>
362362
<MiscControls></MiscControls>

0 commit comments

Comments
 (0)