ESPRESSIVE ESPS266 NONOS_SDK - Machell

问题描述 投票:0回答:1

我想编译ESP8266的源代码(Extensa NONOS_SDK工具链已经安装并正常工作)。

这是我的文件夹结构:

enter image description here

我从Espressif的一个例子中使用这个Makefile:https://github.com/espressif/ESP8266_NONOS_SDK/blob/master/examples/simple_pair/Makefile

我也用这个gen_misc.shhttps://github.com/espressif/ESP8266_NONOS_SDK/blob/master/examples/simple_pair/gen_misc.sh

我正在运行Ubuntu 18作为Windows 10的Linux子系统。这就是我从cmd调用gen_misc.sh的方法:

./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):
0
boot mode: old

STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
0
ignore boot
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):
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):
2
spi mode: DIO

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)
    7=4096KB(2048KB+2048KB) not support ,just for compatible with nodeMCU board
    8=8192KB(1024KB+1024KB)
    9=16384KB(1024KB+1024KB)
enter (0/2/3/4/5/6/7/8/9, default 0):
4
spi size: 4096KB
spi ota map:  512KB + 512KB

这是我得到的输出:

start...

make: Nothing to be done for 'FORCE'.

非常感谢任何想法或帮助我做错的事。

如果我没有提供您回答此问题可能需要的任何信息,请不要犹豫。

makefile arduino esp8266 arduino-esp8266
1个回答
0
投票

here建议的解决方案是将运行脚本的文件夹复制到sdk文件夹的根目录并运行脚本。

© www.soinside.com 2019 - 2024. All rights reserved.