Skip to content

Commit

Permalink
update makefile for ota example
Browse files Browse the repository at this point in the history
  • Loading branch information
nqd committed May 16, 2015
1 parent 7dd56b3 commit 58e2ea4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions apps/fota/Makefile.fota
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
LIBS += ssl
APPS += jsmn
7 changes: 5 additions & 2 deletions apps/fota/fota.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@
#include "mem.h"
#include "upgrade.h"

#include "driver/uart.h"

#include "jsmn.h" // json parsing
#include "utils.h"

#include "fota.h"
#include "fota-util.h"

unsigned char *default_certificate;
unsigned int default_certificate_len = 0;
unsigned char *default_private_key;
unsigned int default_private_key_len = 0;

static is_running = 0;

static struct espconn *firmware_espconn = NULL;
Expand Down
4 changes: 1 addition & 3 deletions examples/ota-update/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
PROJECT = otaupdate

OTA = 1
LIBS += upgrade
MODULES += ${ROOT}/apps/jsmn
MODULES += ${ROOT}/apps/fota
APPS += fota

ROOT = ../..
include $(ROOT)/Makefile.common

0 comments on commit 58e2ea4

Please sign in to comment.