Skip to content

Commit

Permalink
Home Accessory Architect version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RavenSystem committed May 13, 2019
1 parent f0d36e1 commit c81299f
Show file tree
Hide file tree
Showing 2 changed files with 420 additions and 0 deletions.
34 changes: 34 additions & 0 deletions devices/HAA/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
PROGRAM = main

EXTRA_COMPONENTS = \
extras/onewire \
extras/ds18b20 \
extras/dht \
extras/http-parser \
extras/dhcpserver \
extras/rboot-ota \
$(abspath ../../external_libs/wolfssl) \
$(abspath ../../external_libs/cJSON) \
$(abspath ../../external_libs/homekit) \
$(abspath ../../external_libs/wifi_config_haa) \
$(abspath ../../libs/adv_button)

FLASH_SIZE = 8
FLASH_MODE = dout
FLASH_SPEED = 40

HOMEKIT_SPI_FLASH_BASE_ADDR = 0x8c000
HOMEKIT_MAX_CLIENTS = 16
HOMEKIT_SMALL = 0

EXTRA_CFLAGS += -I../.. -DHOMEKIT_SHORT_APPLE_UUIDS -DWIFI_CONFIG_CONNECT_TIMEOUT=300000
EXTRA_CFLAGS += -DHOMEKIT_OVERCLOCK_PAIR_VERIFY
EXTRA_CFLAGS += -DHOMEKIT_OVERCLOCK_PAIR_SETUP

## DEBUG
#EXTRA_CFLAGS += -DHOMEKIT_DEBUG=1

include $(abspath ../../sdk/esp-open-rtos/common.mk)

monitor:
$(FILTEROUTPUT) --port $(ESPPORT) --baud 115200 --elf $(PROGRAM_OUT)
Loading

0 comments on commit c81299f

Please sign in to comment.