This only increases the ELF size and doesn't increase the binary code anyhow. With this settings it's possible to use preprocessor definitions in GDB expressions and to "macro expand" them (handy when you want to check a particular memory mapped register's value).
Signed-off-by: Paul Fertser <fercer...@gmail.com> --- lib/stm32/f1/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stm32/f1/Makefile b/lib/stm32/f1/Makefile index 6c8d4ce..cadb5c2 100755 --- a/lib/stm32/f1/Makefile +++ b/lib/stm32/f1/Makefile @@ -24,7 +24,7 @@ PREFIX ?= arm-none-eabi CC = $(PREFIX)-gcc AR = $(PREFIX)-ar -CFLAGS = -Os -g \ +CFLAGS = -Os -ggdb3 \ -Wall -Wextra -Wimplicit-function-declaration \ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \ -Wundef -Wshadow \ -- 2.0.5 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ libopencm3-devel mailing list libopencm3-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopencm3-devel