Skip to content

Commit

Permalink
Get the embedded8266 port working with esp82xx!
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlohr committed Aug 19, 2016
1 parent c8e5d07 commit 6eaea11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion embedded8266/esp82xx
4 changes: 4 additions & 0 deletions embedded8266/user.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ PAGE_OFFSET = 65536 # 1048576
SDK_DEFAULT = $(HOME)/esp8266/esp-open-sdk
ESP_GCC_VERS = 4.8.5

#Tricky: Espressif started eating up a ton of IRAM in their newer SDKs, so ColorChord must use an older SDK.
SDK = $(HOME)/esp8266/esp_iot_sdk_v1.5.2
FWBURNFLAGS = -b 1000000

OPTS += -DICACHE_FLASH
#OPTS += -DVERIFY_FLASH_WRITE
#OPTS += -DDEBUG
Expand Down
5 changes: 5 additions & 0 deletions embeddedcommon/DFT32.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
#define _DFT32_H

#include <ccconfig.h>

#ifdef ICACHE_FLASH
#include <c_types.h> //If on ESP8266
#else
#include <stdint.h>
#endif

//A 32-bit version of the DFT used for ColorChord.
//This header makes it convenient to use for an embedded system.
Expand Down

0 comments on commit 6eaea11

Please sign in to comment.