GithubHelp home page GithubHelp logo

esp8266-wiki's Introduction

esp8266-wiki's People

Contributors

egbit avatar jcmvbkbc avatar themindfactory avatar tommie avatar zarya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp8266-wiki's Issues

Toolchain generation: version check failure on make and libtool

Attempting to build a toolchain for esp8266.

While running ./configure --prefix=pwd in crosstool-NG

checking whether /usr/bin/make sets $(MAKE)... yes
checking for make 3.81... no
checking for GNU libtool >= 1.5.26... no
configure: error: could not find GNU libtool >= 1.5.26

My configuration:
make: 4.0
libtool: 2.4.2

Apologies if this bug report does not belong to this repo.

Flash access (Example request)

Hi,

I'd like to access the flash memory in order to store information like SSID and password.

Here, http://www.electrodragon.com/w/Wi07c#V0.922 , the selected baudrate is already stored "somewhere". However I can not find the sources for version 0.922

Is there information about the memory structure available. The latest original firmware can update itself via TCP (AT+CIUPDATE). I'd like to know how it is done in order to be able to load my own software.

Regards
Juergen

TCP Connection

Is there some example to use a TCP connection between with computer and the ESP module (client/server)?

Example request

I could like of arduino example, I only see raspberry pi examples

toolchain wiki page tweaks

(sorry, I don't know how to fork the wiki, or issue pull requests for it)

/wiki/Toolchain:

  1. add 'unzip' to apt-get lines

  2. Setting up the Espressif SDK:

- unzip esp_iot_sdk_v0.9.3_14_11_21_patch1.zip
+ unzip -o esp_iot_sdk_v0.9.3_14_11_21_patch1.zip
- mkdir ESP8266_SDK

(otherwise the subsequent 'mv esp_iot_sdk_v0.9.3 ESP8266_SDK' does the wrong thing)

  1. Installing the ESP image tool
- dpkg -i esptool_0.0.2-1_i386.deb
+ sudo dpkg -i esptool_0.0.2-1_i386.deb
  1. Installing the ESP upload tool
- ln -s $PWD/esptool-py/esptool.py crosstool-NG/builds/xtensa-lx106-elf/bin/
+ sudo ln -s $PWD/esptool-py/esptool.py crosstool-NG/builds/xtensa-lx106-elf/bin/

wdt reset, despite wdt_disable()

Howdy... I have wdt_disable() scattered throughout my code, yet the watchdog still resets. How do I completely and forever disable the watchdog?

Download

I wish to get a pdf in the docs library here but there is no zip download button -what gives?

code uploaded succeeds but ESP8266 doesn't run (NodeMCU) for ESP8266_RTOS_SDK v1.4.0

Hi,
I'm trying to run blinking LED program using ESP8266_RTOS_SDK on LUBUNTU by espressif.
program link-->https://github.com/sarwadenj/ESP8266_RTOS/tree/master/test_2
also i written another program and set WiFi in station mode--->https://github.com/sarwadenj/ESP8266_RTOS/blob/master/wifi/user/user_main.c

I compiled my program using
./gen_misc.sh
and set
STEP 1: use boot_v1.2+ by default
STEP 2: generate bin: user1.bin
STEP 3: spi speed: 40 MHz
STEP 4: spi mode: QIO
STEP 5: spi size: 4096KB
spi ota map: 1024KB + 1024KB

and uploaded code going into Bin_path-->
sudo esptool.py --port /dev/ttyUSB0 write_flash --flash_mode qio 0x2000 user1.4096.new.6.bin

it uploaded successfully but code didn't run. So what should be the problem. is I'm missing something.

Is there any solution for this?
Thanks in advance.

Toolchain is broken xt-xcc: Command not found

None of the examples build. Make returns the following errors:

make[1]: xt-xcc: Command not found
make[1]: *** [.output/eagle/debug/obj/at_baseCmd.o] Error 127
make[1]: Leaving directory `/opt/Espressif/ESP8266_SDK/at_v0.20_on_SDKv0.9.3/user'
make: *** [.subdirs] Error 2

Where is the x64 version of esptool_0.0.2-1_i386.deb ?

The toolchain installation instruction says that you are supposed to install esptool_0.0.2-1_i386.deb. But the installation fails with:

package architecture (i386) does not match system (amd64)

I'm using the latest x64 Debian (Jessie).

connecting two esp8266

Hi there, can we set one esp as server other as client using arduino ide and then make two arduinos communicate via esp8266?

UDP server

UDP server to listen many UDP client. in layer 3 IPV6 has to be used

AP + STA mode need to enable

hi, its found that as in AT mode we can enable AP + client mode and also Lua have this capability to oprate in that mode, if we implement that in it, we can the enable the mash network buy using a simple protocol or either use MQTT or such

fatal error: ets_sys.h: No such file or directory #include "ets_sys.h"

Experts,

As I run the blinky script I get the fatal error: ets_sys.h: No such file or directory
#include "ets_sys.h".

I don't know how to resolve the and the internet is not very helpful. Anyone who has seen this or knows how to interpret this issue?

I run a clean install of Lubuntu and/or GalliumOS

Much appreciated
-Tiest

New official release candidate soon?

Any chance we'll see a new "official" build or release candidate soon? I tried cloning the current state and overwriting the hardware directory without success...not sure why, but a formal build would be great.

64 or 32 bit

The 64 and 32 bit, must be reversed?

32-Bit systems
apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev-amd64
mkdir /opt/Espressif
chown $username /opt/Espressif

64-bit systems
apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawklibc6-dev-i386
mkdir /opt/Espressif
chown $username /opt/Espressif

Cannot unzip ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip file

I'm trying to build toolchain on my Ubuntu 14.04 arm-based computer.

$ uname -a
Linux odroid 3.8.13.29 #1 SMP PREEMPT Sat Jan 10 17:41:41 BRST 2015 armv7l armv7l armv7l GNU/Linux

Unfortunately I cannot build toolchain because unzipping fails:

$ make
make -C crosstool-NG -f ../Makefile _ct-ng
make[1]: Entering directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
./bootstrap
Running autoconf...
Done. You may now run:
    ./configure
./configure --prefix=`pwd`
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking whether sed understands -r -i -e... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for gobjcopy... no
checking for objcopy... objcopy
checking for absolute path to objcopy... /usr/bin/objcopy
checking for gobjdump... no
checking for objdump... objdump
checking for absolute path to objdump... /usr/bin/objdump
checking for greadelf... no
checking for readelf... readelf
checking for absolute path to readelf... /usr/bin/readelf
checking for gperf... gperf
checking for absolute path to gperf... /usr/bin/gperf
checking for bison... bison
checking for flex... flex
checking for makeinfo... makeinfo
checking for cut... cut
checking for stat... stat
checking for readlink... readlink
checking for wget... wget
checking for tar... tar
checking for gzip... gzip
checking for bzip2... bzip2
checking for patch... /usr/bin/patch
checking for bash >= 3.1... /bin/bash
checking for GNU awk... /usr/bin/gawk
checking for GNU make >= 3.80... /usr/bin/make
checking whether /usr/bin/make sets $(MAKE)... yes
checking for make 3.81... yes
checking for GNU libtool >= 1.5.26... /usr/bin/libtool
checking for GNU libtoolize >= 1.5.26... /usr/bin/libtoolize
checking for GNU automake >= 1.10... /usr/bin/automake
checking for xz... xz
checking for cvs... no
checking for svn... no
checking for inline... inline
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether gettext is declared... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncursesw/curses.h usability... no
checking ncursesw/curses.h presence... no
checking for ncursesw/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for library containing initscr... -lncurses
configure: creating ./config.status
config.status: creating Makefile
make MAKELEVEL=0
make: Entering directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
  SED    'ct-ng'
  SED    'scripts/crosstool-NG.sh'
  SED    'scripts/saveSample.sh'
  SED    'scripts/showTuple.sh'
  GEN    'config/configure.in'
  GEN    'paths.mk'
  GEN    'paths.sh'
  DEP    'nconf.gui.dep'
  DEP    'nconf.dep'
  DEP    'lxdialog/yesno.dep'
  DEP    'lxdialog/util.dep'
  DEP    'lxdialog/textbox.dep'
  DEP    'lxdialog/menubox.dep'
  DEP    'lxdialog/inputbox.dep'
  DEP    'lxdialog/checklist.dep'
  DEP    'mconf.dep'
  DEP    'conf.dep'
  BISON  'zconf.tab.c'
  GPERF  'zconf.hash.c'
  LEX    'lex.zconf.c'
  DEP    'zconf.tab.dep'
  CC     'zconf.tab.o'
  CC     'conf.o'
  LD     'conf'
  CC     'lxdialog/checklist.o'
  CC     'lxdialog/inputbox.o'
  CC     'lxdialog/menubox.o'
  CC     'lxdialog/textbox.o'
  CC     'lxdialog/util.o'
  CC     'lxdialog/yesno.o'
  CC     'mconf.o'
  LD     'mconf'
  CC     'nconf.o'
  CC     'nconf.gui.o'
  LD     'nconf'
  SED    'docs/ct-ng.1'
  GZIP   'docs/ct-ng.1.gz'
make: Leaving directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
make install MAKELEVEL=0
make: Entering directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
  GEN    'config/configure.in'
  GEN    'paths.mk'
  GEN    'paths.sh'
  INST    'ct-ng'
  INSTDIR 'config/'
  INSTDIR 'contrib/'
  INSTDIR 'patches/'
  INSTDIR 'scripts/'
  INST    'steps.mk'
  INST    'paths'
  INSTDIR 'samples/'
  INST    'kconfig/'
  INST    'docs/*.txt'
  INST    'ct-ng.1.gz'

For auto-completion, do not forget to install 'ct-ng.comp' into
your bash completion directory (usually /etc/bash_completion.d)
make: Leaving directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
make[1]: Leaving directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
cp -f 1000-mforce-l32.patch crosstool-NG/local-patches/gcc/4.8.2/
make -C crosstool-NG -f ../Makefile _toolchain
make[1]: Entering directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
./ct-ng xtensa-lx106-elf
make[2]: Entering directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
  IN    config.gen/arch.in
  IN    config.gen/kernel.in
  IN    config.gen/cc.in
  IN    config.gen/binutils.in
  IN    config.gen/libc.in
  CONF  config/config.in
#
# configuration saved
#

***********************************************************

Initially reported by: Max Filippov <[email protected]>
URL: http://www.esp8266.com/viewtopic.php?f=9&t=224

***********************************************************

WARNING! This sample may enable experimental features.
         Please be sure to review the configuration prior
         to building and using your toolchain!
Now, you have been warned!

***********************************************************

Now configured for "xtensa-lx106-elf"
make[2]: Leaving directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
sed -r -i.org s%CT_PREFIX_DIR=.*%CT_PREFIX_DIR="/home/odroid/tmp/esp/esp-open-sdk/xtensa-lx106-elf"% .config
sed -r -i s%CT_INSTALL_DIR_RO=y%"#"CT_INSTALL_DIR_RO=y% .config
cat ../crosstool-config-overrides >> .config
./ct-ng build
make[2]: Entering directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20160314.181610
[INFO ]  Building environment variables
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in 0.18s (at 00:06)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 448.64s (at 07:35)
[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[INFO ]  Installing GMP for host: done in 150.76s (at 10:06)
[INFO ]  =================================================================
[INFO ]  Installing MPFR for host
[INFO ]  Installing MPFR for host: done in 71.84s (at 11:17)
[INFO ]  =================================================================
[INFO ]  Installing ISL for host
[INFO ]  Installing ISL for host: done in 110.65s (at 13:08)
[INFO ]  =================================================================
[INFO ]  Installing CLooG for host
[INFO ]  Installing CLooG for host: done in 25.64s (at 13:34)
[INFO ]  =================================================================
[INFO ]  Installing MPC for host
[INFO ]  Installing MPC for host: done in 27.73s (at 14:01)
[INFO ]  =================================================================
[INFO ]  Installing binutils for host
[INFO ]  Installing binutils for host: done in 258.85s (at 18:20)
[INFO ]  =================================================================
[INFO ]  Installing pass-2 core C compiler
[INFO ]  Installing pass-2 core C compiler: done in 1046.98s (at 35:47)
[INFO ]  =================================================================
[INFO ]  Installing C library
[INFO ]  Installing C library: done in 111.22s (at 37:39)
[INFO ]  =================================================================
[INFO ]  Installing final compiler
[INFO ]  Installing final compiler: done in 1354.68s (at 60:13)
[INFO ]  =================================================================
[INFO ]  Installing cross-gdb
[INFO ]  Installing cross-gdb: done in 498.95s (at 68:32)
[INFO ]  =================================================================
[INFO ]  Cleaning-up the toolchain's directory
[INFO ]    Stripping all toolchain executables
[INFO ]  Cleaning-up the toolchain's directory: done in 10.56s (at 68:43)
[INFO ]  Build completed at 20160314.192453
[INFO ]  (elapsed: 68:43.00)
[INFO ]  Finishing installation (may take a few seconds)...
[68:43] / make[2]: Leaving directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
make[1]: Leaving directory `/home/odroid/tmp/esp/esp-open-sdk/crosstool-NG'
cp esptool/esptool.py /home/odroid/tmp/esp/esp-open-sdk/xtensa-lx106-elf/bin/
Creating irom version of libc...
/home/odroid/tmp/esp/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-objcopy --rename-section .text=.irom0.text \
        --rename-section .literal=.irom0.literal /home/odroid/tmp/esp/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/libc.a /home/odroid/tmp/esp/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/libcirom.a;
unzip -q -o ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip
warning [ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip]:  9501 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip]:  start of central directory not found;
  zipfile corrupt.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
make: *** [esp_iot_sdk_v1.5.2/.dir] Error 3

Installed unzip version:

$ unzip
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

I also tried to unzip it using different command, but still no luck

$ 7z x ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip 

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)

Processing archive: ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip

Extracting  model two-dimension code.jpg     Unsupported Method

Sub items Errors: 1

$ 7z -version

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)


Error:
Incorrect command line

How to unzip this archive?

Serial.flush() have a problem.

void loop()
{
digitalWrite(12, 1);
Serial.print("abcdffew");
Serial.flush();
digitalWrite(12, 0);
delay(100); // wait for a second
}

see the 12 pin when down, the last byte is not Send End.

so Change the HardwareSerial.cpp to:

void HardwareSerial::flush()
{
if(!_uart || !uart_tx_enabled(_uart)) {
return;
}

uart_wait_tx_empty(_uart);
long tt =uart_get_baudrate(_uart);
tt=12000000/tt;

delayMicroseconds(tt);

}

osapi.h: error: implicit declaration of function

Hi experts,

When running the script as outlined in the esp8266-wiki/wiki/Building section, I get the following error: "implicit declaration of function" in osapi.h.
I receive this error on all clean Lubuntu VMs I've created.
Has anyone seen this before and/or guide me into a direction to get this resolved?

Thanks,
-Tiest

codetiestvangool@localhost:~$ ./blinky.sh
Cloning into 'source-code-examples'...
remote: Counting objects: 107, done.
remote: Total 107 (delta 0), reused 0 (delta 0), pack-reused 107
Receiving objects: 100% (107/107), 20.63 KiB | 0 bytes/s, done.
Resolving deltas: 100% (28/28), done.
Checking connectivity... done.
CC user/user_main.c
In file included from user/user_main.c:2:0:
user/user_main.c: In function 'user_procTask':
/opt/Espressif/ESP8266_SDK/include/osapi.h:12:21: error: implicit declaration of function 'ets_delay_us' [-Werror=implicit-function-declaration]

define os_delay_us ets_delay_us

^
user/user_main.c:34:5: note: in expansion of macro 'os_delay_us'
os_delay_us(10);
^
user/user_main.c: In function 'user_init':
/opt/Espressif/ESP8266_SDK/include/osapi.h:31:25: error: implicit declaration of function 'ets_timer_disarm' [-Werror=implicit-function-declaration]

define os_timer_disarm ets_timer_disarm

^
user/user_main.c:51:5: note: in expansion of macro 'os_timer_disarm'
os_timer_disarm(&some_timer);
^
/opt/Espressif/ESP8266_SDK/include/osapi.h:32:24: error: implicit declaration of function 'ets_timer_setfn' [-Werror=implicit-function-declaration]

define os_timer_setfn ets_timer_setfn

^
user/user_main.c:54:5: note: in expansion of macro 'os_timer_setfn'
os_timer_setfn(&some_timer, (os_timer_func_t )some_timerfunc, NULL);
^
/opt/Espressif/ESP8266_SDK/include/osapi.h:30:31: error: implicit declaration of function 'ets_timer_arm_new' [-Werror=implicit-function-declaration]

define os_timer_arm(a, b, c) ets_timer_arm_new(a, b, c, 1)

^
user/user_main.c:60:5: note: in expansion of macro 'os_timer_arm'
os_timer_arm(&some_timer, 1000, 1);
^
user/user_main.c:63:5: error: implicit declaration of function 'system_os_task' [-Werror=implicit-function-declaration]
system_os_task(user_procTask, user_procTaskPrio,user_procTaskQueue, user_pr
^
cc1: all warnings being treated as errors
make: ** [build/user/user_main.o] Error 1
[/code]

typo in the Patching section

Hi.

I think there's a typo in the Patching section:
mkdir ESP8266_SDK
-was probably not what you meant to do; otherwise a bit lower on the page:

cd /opt/Espressif/ESP8266_SDK
-would probably read:
cd /opt/Espressif/ESP8266_SDK/esp_iot_sdk_v0.9.2
-which I don't think is correct.

I think you meant to rename the directory:
esp_iot_sdk_v0.9.2
to
ESP8266_SDK

is this correct?

Cheers,
M

unable to link external proprietary libraries add

after the tool chain is built and ready to use . I got message to link external proprietary libraries by the following command:

xtensa-lx106-elf-gcc -I/home/hifza/esp-open-sdk/sdk/include -L/home/hifza/esp-open-sdk/sdk/lib

when i run this i get no input found

i have added the path

Nomenclature

I believe Info/Pin8 should be labelled VCC, not VDD

Number of users

Hello,

The only problem I'm facing with 8266 is that the soft AP is restricted to 4, which means simultaneously only 4 users can be connected.
Please suggest what should I do if the numbers of users to be connected is more than 50.
Thank you

problem in building toolchain using cygwin for windows

make STANDALONE=y
Makefile:180: warning: overriding recipe for target 'ESP8266_NONOS_SDK_V1.5.4_16_05_20/.dir'
Makefile:169: warning: ignoring old recipe for target 'ESP8266_NONOS_SDK_V1.5.4_16_05_20/.dir'
make -C crosstool-NG -f ../Makefile _ct-ng
make[1]: Entering directory '/cygdrive/c/Users/Hifza/AppData/Roaming/SPB_16.6/esp-open-sdk/crosstool-NG'
../Makefile:180: warning: overriding recipe for target 'ESP8266_NONOS_SDK_V1.5.4_16_05_20/.dir'
../Makefile:169: warning: ignoring old recipe for target 'ESP8266_NONOS_SDK_V1.5.4_16_05_20/.dir'
./bootstrap
: invalid optione 2: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
make[1]: *** [../Makefile:136: _ct-ng] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/Hifza/AppData/Roaming/SPB_16.6/esp-openi-sdk/crosstool-NG'
make: *** [Makefile:133: crosstool-NG/ct-ng] Error 2

getting this error please can anyone sort it

make[1]: xtensa-lx106-elf-gcc: Command not found

followed your wiki instruction almost 1:1.
the only change is that I used the 0.9.5 SDK

compiling the IoT Demo failed always with the above error. how can I fix it.
I use Ubuntu 14.04.1 in Fusion VM.
thx

Please don't put binaries under Git

Please don't put binaries (as in the sdk directory) under git versioning. Either use git annex or GitHub releases. This is not what the system is designed for - it clutters up the history.

Please enable editing of wiki pages

Hi, would like to contribute by editing wiki pages but I don't see a way how to do it now.

I have forged wiki repository but there are no WIKI documentation pages there to edit. Can you please clarify how wiki documentation pages can be edited.

Thanks.

make fails on x64 debian8

Hi There,

I've pulled a copy of toolchain on my debian:

uname -a
Linux vm-debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u2 (2016-06-25) x86_64 GNU/Linux;
lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 8.6 (jessie)
Release:	8.6
Codename:	jessie

when i try to run makem i get the following error:

make -C crosstool-NG -f ../Makefile _ct-ng
make[1]: Entering directory '/home/dennis/Projekte/ESP8266 ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG'
../Makefile:155: warning: overriding recipe for target '/home/dennis/Projekte/ESP8266'
../Makefile:126: warning: ignoring old recipe for target '/home/dennis/Projekte/ESP8266'
../Makefile:162: warning: overriding recipe for target '/home/dennis/Projekte/ESP8266'
../Makefile:155: warning: ignoring old recipe for target '/home/dennis/Projekte/ESP8266'
../Makefile:181: warning: overriding recipe for target 'ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
../Makefile:176: warning: ignoring old recipe for target 'ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
./bootstrap
Running autoconf...
Done. You may now run:
    ./configure
./configure --prefix=`pwd`
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG
checking build system type... Invalid configuration `ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG': machine `ESP-01/github_SDK_repo/esp-open-sdk/crosstool' not recognized
configure: error: /bin/bash scripts/config.sub ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG failed
../Makefile:143: recipe for target '_ct-ng' failed
make[1]: *** [_ct-ng] Error 1
make[1]: Leaving directory '/home/dennis/Projekte/ESP8266 ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG'
Makefile:140: recipe for target 'crosstool-NG/ct-ng' failed
make: *** [crosstool-NG/ct-ng] Error 2

Any Idea what might be going wrong?

Regards,

Karmek

Wiki link to AT command v0.20

Hi,

Could you update wiki page for AT command for sdk 9.3 ?

At https://github.com/esp8266/esp8266-wiki/wiki/Building#the-at-demo

Change

cd /opt/Espressif/ESP8266_SDK
wget -O at_v0.19_14_10_30.zip http://bbs.espressif.com/download/file.php?id=13
unzip at_v0.19_14_10_30.zip
cd at_v0.19_on_SDKv0.9.2
make

By

cd /opt/Espressif/ESP8266_SDK
wget -O at_v0.20_14_11_28.zip http://bbs.espressif.com/download/file.php?id=84
unzip at_v0.20_14_11_28.zip
cd at_v0.20_on_SDKv0.9.3
mv at/* ./
make

Thanks

Wiki memory map additions

Not sure how to contribute to the wiki, so I'm opening an issue.
On the Wiki memory map: https://github.com/esp8266/esp8266-wiki/wiki/Memory-Map

Proven by: libphy.a disassembled (IDA).

(Memory address followed by symbols that reference it.)

(current wiki: Unconfirmed: The SPI controller registers)
0x60000200: chip_v6_rxmax_ext_dig, phy_gpio_cfg, phy_pbus_soc_cfg, ram_get_corr_power, set_crystal_uart, set_rx_gain_testchip_50, tx_cont_dis, tx_cont_en

(current wiki: Unconfirmed: The timer config registers, see)
(bbpll = baseband phase locked loop)
0x60000600: change_bbpll160_sleep, phy_gpio_cfg, reduce_current_init, set_crystal_uart

0x60000A00: bbpll_cal, phy_gpio_cfg

0x60000E00: rtc_mem_backup, rtc_mem_check, rtc_mem_recovery
0x60000E78: rtc_mem_check

0x60009600: phy_dig_spur_prot, phy_dig_spur_set, read_hw_noisefloor

0x60009A00: ant_switch_init, chip_v6_set_chan_rx_cmp, do_noisefloor, do_noisefloor_lsleep_v50, phy_dig_spur_prot, ram_get_noisefloor, ram_set_noise_floor, ram_start_noisefloor, sdt_on_noise_start, set_rx_gain_testchip_50, start_dig_rx, stop_dig_rx

0x60009E00: set_rx_gain_testchip_50

(Still learning about this chip. I hope to extract RSSI from regular packets, not just when doing an AP scan. My next goal is: wifi_station_scan (exists in libmain.a), see how that gets its RSSI...)

Couldn't Install needed dependencies

I am doing as the tutorial here: https://github.com/esp8266/esp8266-wiki/wiki/Toolchain

in the step "64-bit Debian (Linux)", with the command:
sudo apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev-amd64 python-serial libexpat-dev

I got error here:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libexpat1-dev' instead of 'libexpat-dev'
libncurses5-dev is already the newest version.
python-serial is already the newest version.
python-serial set to manually installed.
git is already the newest version.
wget is already the newest version.
wget set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Anyone please help me find out what the problem is.

I am using Ubuntu 64-bit:
uname -r
3.16.0-31-generic

installing toolchain

Hi All, I've followed the steps to install the tool-chain however, it breaks!! I am using Ubuntu 16.04 TLS with the build failing. From what I could gather, the packages:

  1. bunutils-2.24
  2. gcc-4.8.2
  3. gdb-7.5.1

have all moved on. The install script downloads an invalid package and breaks when it tries to extract any of these packages. I have pulled them manually and now it breaks trying to install ISL

I have spent the day trying to get this to work. anybody with any ideas?

cloog-0.18.1.tar.xz

cloog lib should be "cloog-0.18.1.tar.gz", but write to "cloog-0.18.1.tar.xz",need correct it.
but can't find.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.