Get the embedded8266 port working with esp82xx!
This commit is contained in:
parent
c8e5d078b7
commit
6eaea114d0
|
@ -1 +1 @@
|
||||||
Subproject commit 6dbcc51d030d05360696925a8cb1963ca3f6747e
|
Subproject commit 37dbc4c68f0520bb3900cf76be5fcbca8d95dce3
|
|
@ -13,6 +13,10 @@ PAGE_OFFSET = 65536 # 1048576
|
||||||
SDK_DEFAULT = $(HOME)/esp8266/esp-open-sdk
|
SDK_DEFAULT = $(HOME)/esp8266/esp-open-sdk
|
||||||
ESP_GCC_VERS = 4.8.5
|
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 += -DICACHE_FLASH
|
||||||
#OPTS += -DVERIFY_FLASH_WRITE
|
#OPTS += -DVERIFY_FLASH_WRITE
|
||||||
#OPTS += -DDEBUG
|
#OPTS += -DDEBUG
|
||||||
|
|
|
@ -4,7 +4,12 @@
|
||||||
#define _DFT32_H
|
#define _DFT32_H
|
||||||
|
|
||||||
#include <ccconfig.h>
|
#include <ccconfig.h>
|
||||||
|
|
||||||
|
#ifdef ICACHE_FLASH
|
||||||
|
#include <c_types.h> //If on ESP8266
|
||||||
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
//A 32-bit version of the DFT used for ColorChord.
|
//A 32-bit version of the DFT used for ColorChord.
|
||||||
//This header makes it convenient to use for an embedded system.
|
//This header makes it convenient to use for an embedded system.
|
||||||
|
|
Loading…
Reference in a new issue