Add initial Release mode support
This commit is contained in:
5
Makefile
5
Makefile
@@ -2,4 +2,9 @@ PROJECT_NAME := mkrwifi1010-fw
|
|||||||
|
|
||||||
EXTRA_COMPONENT_DIRS := $(PWD)/arduino
|
EXTRA_COMPONENT_DIRS := $(PWD)/arduino
|
||||||
|
|
||||||
|
ifeq ($(RELEASE),1)
|
||||||
|
CFLAGS += -DNDEBUG -DCONFIG_FREERTOS_ASSERT_DISABLE -Os -DLOG_LOCAL_LEVEL=0
|
||||||
|
CPPFLAGS += -DNDEBUG -Os
|
||||||
|
endif
|
||||||
|
|
||||||
include $(IDF_PATH)/make/project.mk
|
include $(IDF_PATH)/make/project.mk
|
||||||
|
|||||||
Reference in New Issue
Block a user