-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EOR now a submodule RFM69 driver now a submodule Removed legacy SPI driver
- Loading branch information
Showing
7 changed files
with
147 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,7 @@ | |
# Debug files | ||
*.dSYM/ | ||
*.su | ||
|
||
.DS_Store | ||
build/ | ||
firmware/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "mqtt_sniffer/esp-open-rtos"] | ||
path = mqtt_sniffer/esp-open-rtos | ||
url = https://github.com/superhouse/esp-open-rtos.git | ||
[submodule "mqtt_sniffer/rfm69"] | ||
path = mqtt_sniffer/rfm69 | ||
url = https://github.com/kanflo/eor-rfm69.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,32 @@ | ||
PROGRAM=mqtt_sniffer | ||
EXTRA_COMPONENTS = extras/spi extras/rfm69 extras/rboot-ota extras/paho_mqtt_c | ||
EXTRA_COMPONENTS = extras/rboot-ota extras/paho_mqtt_c | ||
OTA=1 | ||
include $(EOR_ROOT)/common.mk | ||
|
||
# MQTT host config. Override with one, more or all of: | ||
# make MQTT_HOST=172.16.3.100 MQTT_PORT=123345 MQTT_USER=mrrobot MQTT_PASS=secret | ||
MQTT_HOST ?= iot.eclipse.org | ||
MQTT_PORT ?= 1883 | ||
MQTT_USER ?= NULL | ||
MQTT_PASS ?= NULL | ||
HW_REV ?= 4 | ||
|
||
# You should change this ;) | ||
RFM_KEY ?= sampleEncryptKey | ||
|
||
# Things will go south without this, flags are not inherited by EOR | ||
PROGRAM_CFLAGS = -Wall -Wl,-EL -nostdlib -ffunction-sections -fdata-sections -g -O2 -std=gnu99 | ||
|
||
# Add our config | ||
PROGRAM_CFLAGS += -DCONFIG_HW_REV=$(HW_REV) -DCONFIG_RFM_KEY=\"$(RFM_KEY)\" | ||
PROGRAM_CFLAGS += -DCONFIG_MQTT_HOST=\"$(MQTT_HOST)\" -DCONFIG_MQTT_PORT=$(MQTT_PORT) | ||
ifneq ($(MQTT_USER), NULL) | ||
PROGRAM_CFLAGS += -DCONFIG_MQTT_USER=\"$(MQTT_USER)\" | ||
endif | ||
ifneq ($(MQTT_PASS), NULL) | ||
PROGRAM_CFLAGS += -DCONFIG_MQTT_PASS=\"$(MQTT_PASS)\" | ||
endif | ||
|
||
PROGRAM_INC_DIR = . ./rfm69 | ||
PROGRAM_SRC_DIR = . ./rfm69 | ||
|
||
include esp-open-rtos/common.mk |
Submodule esp-open-rtos
added at
53fa63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters