Skip to content

Commit 7718a88

Browse files
committed
bricks/_common/arm_none_eabi.mk: Switch to C11 standard
This codebase already uses a number of C11 features. Enabling C11 globally will allow for UTF-16 string literals which are useful for USB.
1 parent e297f3a commit 7718a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bricks/_common/arm_none_eabi.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ endif
176176
endif
177177

178178
CFLAGS_WARN = -Wall -Werror -Wextra -Wno-unused-parameter -Wno-maybe-uninitialized
179-
CFLAGS = $(INC) -std=c99 -nostdlib -fshort-enums $(CFLAGS_MCU) $(CFLAGS_WARN) $(COPT) $(CFLAGS_EXTRA)
179+
CFLAGS = $(INC) -std=c11 -nostdlib -fshort-enums $(CFLAGS_MCU) $(CFLAGS_WARN) $(COPT) $(CFLAGS_EXTRA)
180180
$(BUILD)/lib/libm/%.o: CFLAGS += -Wno-sign-compare
181181

182182
# linker scripts

0 commit comments

Comments
 (0)