Online community http://www.esp8266.com supporting all aspects of the ESP8266 and ESP8266EX
For more info see our wiki https://github.com/esp8266/esp8266-wiki/wiki
Check out the code examples in https://github.com/esp8266/source-code-examples
Online community http://www.esp8266.com supporting all aspects of the ESP8266 and ESP8266EX
For more info see our wiki https://github.com/esp8266/esp8266-wiki/wiki
Check out the code examples in https://github.com/esp8266/source-code-examples
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
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?
(sorry, I don't know how to fork the wiki, or issue pull requests for it)
/wiki/Toolchain:
add 'unzip' to apt-get lines
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)
- dpkg -i esptool_0.0.2-1_i386.deb
+ sudo dpkg -i esptool_0.0.2-1_i386.deb
- 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/
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
I've encountered some problems following your commands to
"Install the Xtensa crosstool-NG (as local user)".
This works for me:
cd /opt/Espressif
git clone https://github.com/jcmvbkbc/crosstool-NG/tree/lx106
chown $username -R /opt/Espressif
cd crosstool-NG
./bootstrap && ./configure --prefix=pwd
&& make && make install
./ct-ng xtensa-lx106-elf
./ct-ng build
PATH=$PWD/builds/xtensa-lx106-elf/bin:$PATH
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.
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]
^
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]
^
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]
^
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]
^
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]
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
Please add my project https://github.com/tuanpmt/esp_mqtt to your wiki to help people find it
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.
Hi there, can we set one esp as server other as client using arduino ide and then make two arduinos communicate via esp8266?
Note that Espressif examples such as IoT_Demo would not compile using esp-open-sdk and the makefile need to be replaced. This is in reference to
https://github.com/esp8266/esp8266-wiki/wiki/Building
Is there an easy way to contribute to the wiki? I don't see an option to edit like there is on most other wikis.
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.
In the toolchain instructions there are some added libs and headers.
What's the source of these, from espressif sdk and what would happen if I didn't include them?
If I'm using the compiler download listed at bbs.espressif.com I don't need them it seems.
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:
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?
Hi,
the page
https://github.com/esp8266/esp8266-wiki/wiki/Toolchain
contains a link to a very old SDK file. Might be better to point to the latest SDK
br
Patrick
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
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.
In the "Setting up the Espressif SDK" section of the Toolchain page, there is a line mkdir ESP8266_SDK
that messes up the process. Later, at the mv esp_iot_sdk_v0.9.3 ESP8266_SDK
line, the intended rename is instead turned into a move into the previously created directory.
Solution: The mkdir ESP8266_SDK
should be removed.
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
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
Please add 2 projects
For arduino: https://github.com/tuanpmt/espduino
For esp8266 used with espduino: https://github.com/tuanpmt/esp_bridge
to your wiki to help people find it
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
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
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).
I believe Info/Pin8 should be labelled VCC, not VDD
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...)
Is there some example to use a TCP connection between with computer and the ESP module (client/server)?
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
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
I wish to get a pdf in the docs library here but there is no zip download button -what gives?
Howdy... I have wdt_disable() scattered throughout my code, yet the watchdog still resets. How do I completely and forever disable the watchdog?
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);
}
Build Toolchain may add libc6-dev-i386,which not install on AMD64 system.
May avoid some problems on compiling.
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
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.
I wrote a C library to interface the ESP8266 with a PIC microcontroller. Please have a look and if you want it would be great if you would add it to the examples.
build toolchain should add: libc6-dev-i386. This lib not included on AMD64 OS , but need to compile.
On https://github.com/esp8266/esp8266-wiki/wiki/Toolchain under the heading "Setting up the Espressif SDK", the link http://bbs.espressif.com/viewtopic.php?f=5&t=72 goes to a page that says "The requested topic does not exist."
Thank you very much. For the Wiki.
Maybe for me (noob), I can add some information for uploading to the board from Windows 8 with FTDI on COM 3
Use python 2.7.8 NOT python 3!
https://www.python.org/downloads/
Install lib: pyserial-2.7
http://pyserial.sourceforge.net/pyserial.html
use command ..... --port COM3 ......
under windows.
I use Virtualbox Ubuntu for building. Then using a FTDI 3.3 volt programmer on COM3 to burn in in the chip :D.
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
I implemented the full v0.20 AT command set in my arduino-ESP8266 library and I believe it could be mentioned somewhere in the wiki to help people find it.
I'll soon implement a derived client so I can pass it to the MQTT library.
https://github.com/esp8266/esp8266-wiki/wiki/Toolchain doesnt have any osx instructions, I would love it if they were there!
UDP server to listen many UDP client. in layer 3 IPV6 has to be used
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.
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
I could like of arduino example, I only see raspberry pi examples
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.