乐鑫ESP8266 NONOS_SDK-Makefile [英] Espressif ESP8266 NONOS_SDK - Makefile
问题描述
我想为ESP8266编译源代码(Extensa NONOS_SDK工具链已安装并可以使用).
I would like to compile my source-code for the ESP8266 (Extensa NONOS_SDK Toolchain is already installed and working).
这是我的文件夹结构:
我从Espressif的示例中使用此Makefile: https://github.com/espressif/ESP8266_NONOS_SDK/blob/master/examples/simple_pair/Makefile
I use this Makefile from an example from Espressif: https://github.com/espressif/ESP8266_NONOS_SDK/blob/master/examples/simple_pair/Makefile
,我也使用此gen_misc.sh
: https: //github.com/espressif/ESP8266_NONOS_SDK/blob/master/examples/simple_pair/gen_misc.sh
我将Ubuntu 18作为Windows 10的Linux子系统运行.这就是我从cmd调用gen_misc.sh
的方式:
I am running Ubuntu 18 as a Linux Subsystem for Windows 10. This is how I called gen_misc.sh
from cmd:
./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'.
任何想法或帮助我做错事情的人都将受到感激.
Any ideas or help what I am doing wrong are greatly appreciated.
请不要犹豫,问我是否未提供任何可能需要回答此问题的信息.
Please don't hesitate do ask if I didn't include any information you might need to answer this question.
推荐答案
the solution as suggested here is to copy the folder where you are running the script to the root of the sdk folder and run the script.
这篇关于乐鑫ESP8266 NONOS_SDK-Makefile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!