Build example project with esp-open-sdk

mmmmar
Posts: 6
Joined: Thu Jan 26, 2017 10:28 am

Build example project with esp-open-sdk

Postby mmmmar » Thu Jan 26, 2017 2:16 pm

when I build the example at project in ESP8266_NONOS_SDK_V2.0.0_16_08_10, it failed.
I have built the sdk with "make STANDALONE=y" and copyed the project to path/esp-open-sdk/sdk/at

Code: Select all

mmmmar@acer:$ ./gen_misc.sh
gen_misc.sh version 20150511

Please follow below steps(1-5) to generate specific bin(s):
STEP 1: choose boot version(0=boot_v1.1, 1=boot_v1.2+, 2=none)
enter(0/1/2, default 2):

boot mode: none

STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):

generate bin: eagle.flash.bin+eagle.irom0text.bin

STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):

spi speed: 40 MHz

STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):

spi mode: QIO

STEP 5: choose spi size and map
    0= 512KB( 256KB+ 256KB)
    2=1024KB( 512KB+ 512KB)
    3=2048KB( 512KB+ 512KB)
    4=4096KB( 512KB+ 512KB)
    5=2048KB(1024KB+1024KB)
    6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):

spi size: 512KB
spi ota map:  256KB + 256KB


start...

../../Makefile:103: warning: overriding recipe for target 'clean'
../Makefile:301: warning: ignoring old recipe for target 'clean'
../../Makefile:183: warning: overriding recipe for target 'ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
../../Makefile:178: warning: ignoring old recipe for target 'ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
You cloned without --recursive, fetching submodules for you.
git submodule update --init --recursive
pwd
/home/mmmmar/esp-open-sdk/sdk/at
echo /home/mmmmar/esp-open-sdk/sdk/at
/home/mmmmar/esp-open-sdk/sdk/at
make -C crosstool-NG -f ../Makefile _ct-ng
make[1]: *** crosstool-NG: 没有那个文件或目录。 停止。
../../Makefile:140: recipe for target 'crosstool-NG/ct-ng' failed
make: *** [crosstool-NG/ct-ng] Error 2

ESP_Xutao
Posts: 134
Joined: Tue Sep 27, 2016 5:42 pm

Re: Build example project with esp-open-sdk

Postby ESP_Xutao » Fri Feb 24, 2017 5:08 pm

Hi
According the log,Maybe your SDK is not perfect,so please download your SDK again.If you want to build eagle bin,you should modify at/include/user_config.h.

Who is online

Users browsing this forum: Baidu [Spider] and 7 guests