2016-11-05 20:12:14 +00:00
|
|
|
PROGRAM=tests
|
|
|
|
|
|
|
|
EXTRA_COMPONENTS=extras/dhcpserver extras/spiffs
|
|
|
|
|
|
|
|
PROGRAM_SRC_DIR = . ./cases
|
|
|
|
|
|
|
|
FLASH_SIZE = 32
|
|
|
|
|
|
|
|
# spiffs configuration
|
|
|
|
SPIFFS_BASE_ADDR = 0x200000
|
|
|
|
SPIFFS_SIZE = 0x100000
|
|
|
|
|
|
|
|
# Add unity test framework headers & core source file
|
|
|
|
PROGRAM_INC_DIR = ./unity/src ./fs-test
|
|
|
|
PROGRAM_EXTRA_SRC_FILES = ./unity/src/unity.c ./fs-test/fs_test.c
|
|
|
|
|
|
|
|
TESTCASE_SRC_FILES = $(wildcard $(PROGRAM_DIR)cases/*.c)
|
|
|
|
|
|
|
|
# Link every object in the 'program' archive, to pick up constructor functions for test cases
|
2016-11-12 18:54:24 +00:00
|
|
|
PROGRAM_WHOLE_ARCHIVE = yes
|
2016-11-05 20:12:14 +00:00
|
|
|
|
|
|
|
include ../common.mk
|