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:
4
Makefile
4
Makefile
@ -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)
|
||||
|
Reference in New Issue
Block a user