Add DEBUG_FORMAT and DEBUG_LEVEL optional parameters to the BUILD module. Turn off generation of debug information when performing a validation build, and when running the build tests.

This commit is contained in:
Dean Camera 2012-07-15 09:59:35 +00:00
parent 3c1b28cf5f
commit 3ca025f214
7 changed files with 35 additions and 14 deletions

View file

@ -17,6 +17,7 @@ OPTIMIZATION = 1
TARGET = Test
SRC = $(TARGET)_C.c $(TARGET)_CPP.cpp Dummy.S $(LUFA_SRC_USB)
LUFA_PATH = ../../LUFA
DEBUG_LEVEL = 0
ifeq ($(ARCH), AVR8)
F_USB = 8000000