Skip to content

Commit

Permalink
Disable the low icache for some examples, to gain more malloc heap.
Browse files Browse the repository at this point in the history
  • Loading branch information
ourairquality committed Mar 1, 2018
1 parent c678ba9 commit b1e7c41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/aws_iot/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
PROGRAM=aws_iot
EXTRA_COMPONENTS = extras/paho_mqtt_c extras/mbedtls

EXTRA_CFLAGS += -DESP8266_ENABLE_LOW_ICACHE=0

include ../../common.mk
3 changes: 2 additions & 1 deletion examples/http_get_bearssl/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PROGRAM=http_get_bearssl
EXTRA_COMPONENTS = extras/bearssl

EXTRA_CFLAGS +=-DCONFIG_EPOCH_TIME=$(shell date --utc '+%s')
EXTRA_CFLAGS += -DESP8266_ENABLE_LOW_ICACHE=0
EXTRA_CFLAGS += -DCONFIG_EPOCH_TIME=$(shell date --utc '+%s')

include ../../common.mk
2 changes: 2 additions & 0 deletions examples/http_get_mbedtls/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
PROGRAM=http_get_mbedtls
EXTRA_COMPONENTS = extras/mbedtls

EXTRA_CFLAGS += -DESP8266_ENABLE_LOW_ICACHE=0

include ../../common.mk

0 comments on commit b1e7c41

Please sign in to comment.