debug: changes in the makefile to reduce the optimization level.

We need to reduce the optimization level in order to be able to
perform a debugging of the applications, without this there is
an strange behaviour while debugging.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2017-11-30 10:46:26 +01:00 committed by Javier Viguera
parent f89af39654
commit cfca505e10
5 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@
BINARY := apix-adc-example
CFLAGS += -Wall -O2
CFLAGS += -Wall -O0
CFLAGS += $(shell pkg-config --cflags libdigiapix)
LDLIBS += $(shell pkg-config --libs libdigiapix)

View File

@ -16,7 +16,7 @@
BINARY := apix-gpio-example
CFLAGS += -Wall -O2
CFLAGS += -Wall -O0
CFLAGS += $(shell pkg-config --cflags libdigiapix)
LDLIBS += $(shell pkg-config --libs libdigiapix)

View File

@ -16,7 +16,7 @@
BINARY := apix-i2c-example
CFLAGS += -Wall -O2
CFLAGS += -Wall -O0
CFLAGS += $(shell pkg-config --cflags libdigiapix)
LDLIBS += $(shell pkg-config --libs libdigiapix)

View File

@ -16,7 +16,7 @@
BINARY := apix-pwm-example
CFLAGS += -Wall -O2
CFLAGS += -Wall -O0
CFLAGS += $(shell pkg-config --cflags libdigiapix)
LDLIBS += $(shell pkg-config --libs libdigiapix)

View File

@ -16,7 +16,7 @@
BINARY := apix-spi-example
CFLAGS += -Wall -O2
CFLAGS += -Wall -O0
CFLAGS += $(shell pkg-config --cflags libdigiapix)
LDLIBS += $(shell pkg-config --libs libdigiapix)