-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
34 lines (25 loc) · 789 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PROGRAM = temperature_sensor
EXTRA_COMPONENTS = \
extras/bmp280 \
extras/http-parser \
extras/dhcpserver \
extras/i2c \
$(abspath ../../external_libs/wolfssl) \
$(abspath ../../external_libs/cJSON) \
$(abspath ../../external_libs/homekit) \
$(abspath ../../external_libs/wifi_config)
FLASH_SIZE ?= 32
FLASH_MODE = dout
FLASH_SPEED = 40
HOMEKIT_SPI_FLASH_BASE_ADDR = 0x8c000
HOMEKIT_MAX_CLIENTS = 16
HOMEKIT_SMALL = 0
HOMEKIT_OVERCLOCK = 1
HOMEKIT_OVERCLOCK_PAIR_SETUP = 1
HOMEKIT_OVERCLOCK_PAIR_VERIFY = 1
EXTRA_CFLAGS += -I../.. -DHOMEKIT_SHORT_APPLE_UUIDS -DWIFI_CONFIG_CONNECT_TIMEOUT=180000
## DEBUG
#EXTRA_CFLAGS += -DHOMEKIT_DEBUG=1
include $(abspath ../../sdk/esp-open-rtos/common.mk)
monitor:
$(FILTEROUTPUT) --port $(ESPPORT) --baud 115200 --elf $(PROGRAM_OUT)