mirror of
https://github.com/satoshinm/pill_6502.git
synced 2024-12-27 17:29:19 +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 := @
|
||||
endif
|
||||
|
||||
OPT_FLAGS ?= -O2
|
||||
OPT_FLAGS = -O0 -g
|
||||
|
||||
CFLAGS += -Wall -Wextra -Werror -Wno-char-subscripts\
|
||||
$(OPT_FLAGS) -std=gnu99 -g3 -MD \
|
||||
@ -22,7 +22,6 @@ CROSS_COMPILE ?= arm-none-eabi-
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||
|
||||
OPT_FLAGS = -Os
|
||||
CFLAGS += -mcpu=cortex-m3 -mthumb \
|
||||
-DSTM32F1 -DDISCOVERY_STLINK -I../libopencm3/include \
|
||||
-I .
|
||||
|
Loading…
Reference in New Issue
Block a user