0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-18 22:29:50 +03:00
This commit is contained in:
OneOfEleven
2023-11-10 14:30:04 +00:00
parent 630c6ac196
commit f724b159c7
687 changed files with 152 additions and 170290 deletions

View File

@ -258,8 +258,6 @@ endif
CFLAGS =
CFLAGS += -DCPU_CLOCK_HZ=48000000
ifeq ($(ENABLE_CLANG),0)
#CFLAGS += -Os -Wall -Werror -mcpu=cortex-m0 -fno-builtin -fshort-enums -fno-delete-null-pointer-checks -std=c11 -MMD
CFLAGS += -Os -Werror -mcpu=cortex-m0 -freorder-blocks-algorithm=stc -std=c11 -MMD
@ -282,6 +280,8 @@ endif
# better to bust than add new bugs
CFLAGS += -Wall -Wextra -Wpedantic
CFLAGS += -DCPU_CLOCK_HZ=48000000
CFLAGS += -DPRINTF_INCLUDE_CONFIG_H
CFLAGS += -DGIT_HASH=\"$(GIT_HASH)\"
ifeq ($(ENABLE_SWD),1)