mirror of
https://github.com/satoshinm/pill_6502.git
synced 2024-06-12 23:29:33 +00:00
Build without optimizations to make debugging easier
This commit is contained in:
parent
e99cb9b068
commit
af6043e028
|
@ -3,7 +3,7 @@ MAKEFLAGS += --no-print-dir
|
||||||
Q := @
|
Q := @
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OPT_FLAGS ?= -O2
|
OPT_FLAGS = -O0 -g
|
||||||
|
|
||||||
CFLAGS += -Wall -Wextra -Werror -Wno-char-subscripts\
|
CFLAGS += -Wall -Wextra -Werror -Wno-char-subscripts\
|
||||||
$(OPT_FLAGS) -std=gnu99 -g3 -MD \
|
$(OPT_FLAGS) -std=gnu99 -g3 -MD \
|
||||||
|
@ -22,7 +22,6 @@ CROSS_COMPILE ?= arm-none-eabi-
|
||||||
CC = $(CROSS_COMPILE)gcc
|
CC = $(CROSS_COMPILE)gcc
|
||||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||||
|
|
||||||
OPT_FLAGS = -Os
|
|
||||||
CFLAGS += -mcpu=cortex-m3 -mthumb \
|
CFLAGS += -mcpu=cortex-m3 -mthumb \
|
||||||
-DSTM32F1 -DDISCOVERY_STLINK -I../libopencm3/include \
|
-DSTM32F1 -DDISCOVERY_STLINK -I../libopencm3/include \
|
||||||
-I .
|
-I .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user