Get the embedded8266 port working with esp82xx!

This commit is contained in:
Charles Lohr 2016-08-18 22:09:01 -04:00
parent c8e5d078b7
commit 6eaea114d0
3 changed files with 10 additions and 1 deletions

@ -1 +1 @@
Subproject commit 6dbcc51d030d05360696925a8cb1963ca3f6747e
Subproject commit 37dbc4c68f0520bb3900cf76be5fcbca8d95dce3

View file

@ -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

View file

@ -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.