I have uploaded ESP8266 SDK on ftp://ftp.acsoftware.pl/SUPLA/Espressif-SDK.tgz compiled using Debian x86_64.
SDK Enviroment allow you to compile SUPLA-ESP6266 firmware.
To do this you need to download Espressif-SDK.tgz and unpack it.
Then, clone the supla-core respority.
git clone https://github.com/SUPLA/supla-core
Finally, modify supla-core/ESP8266_IOT/build.sh file.
Set correct path to SDK and output directory.
Start compilation by running ./build.sh
--->build.sh:
#!/bin/sh
export PATH=/hdd2/Espressif/xtensa-lx106-elf/bin:$PATH
export COMPILE=gcc
export SDK_PATH=/hdd2/Espressif/ESP8266_IOT_SDK
export BIN_PATH=/hdd2/Espressif/ESP8266_BIN
make clean
make BOOT=new APP=0 SPI_SPEED=40 SPI_MODE=DIO SPI_SIZE_MAP=0 && \
cp $BIN_PATH/eagle.flash.bin /media/sf_Public/ &&
cp $BIN_PATH/eagle.irom0text.bin /media/sf_Public/ &&
exit 0
exit 1
<—
On end of the compilation process you should see message:
!!!
No boot needed.
Generate eagle.flash.bin and eagle.irom0text.bin successully in folder bin.
eagle.flash.bin-------->0x00000
eagle.irom0text.bin---->0x40000
!!!
Espressif-SDK
-
- Posts: 19401
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
This archive in no longer available. Please read
viewtopic.php?f=6&t=21
viewtopic.php?f=6&t=21