GithubHelp home page GithubHelp logo

cherts / esp8266-devkit Goto Github PK

View Code? Open in Web Editor NEW
261.0 261.0 102.0 132.68 MB

Unofficial Development Kit for Espressif ESP8266

Home Page: http://www.programs74.ru

License: GNU General Public License v3.0

Makefile 3.71% C 74.62% C++ 4.07% Objective-C 0.26% Shell 1.25% Python 15.53% Smarty 0.04% HTML 0.05% CSS 0.01% Inno Setup 0.21% Batchfile 0.19% JavaScript 0.06%

esp8266-devkit's Introduction

Hello! My name is Mikhail Grigorev

I am a professional system administrator for Linux (Debian-like and RedHat-like) and Windows (2012/2016) and databases (MySQL, PostgreSQL, Clickhouse).

I have been working for over 20 years.

You can read articles on my blog and ask me questions by email

Contribution Stats

esp8266-devkit's People

Contributors

alonewolfx2 avatar boseji avatar cherts avatar fvpalha 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

esp8266-devkit's Issues

Missing interrupt flags in spi_test.c for SPI slave mode

Tring the SPI test code with two ESP8266s connected, one as master and one as slave. Using the example code the specific interrupts like Master to Slave status is not occurring. A transfer interrupt is occurring on status transfers but none of the lower 4 bits of the status register are set.

For example, Master sends Status to Slave, Slave ISR is called with the transfer flag set but not the master sent status flag.

I assume some interrupt enables are missing as the test code ISR ends up only seeing the transfer flag.

I have verified that the Master is sending the SPI data in hardware using a logic analyzer, have even verified that the actual bytes are as expected. Just seems that the ESP is not setting the right bits.

SSL Client

Hi,

I was able to install with success this DevKit and run several of the demos on a NodeMCU 0.9.

Currently, I'm trying to establish a secure SSL connection, based on the code published here: [http://bbs.espressif.com/viewtopic.php?f=31&t=389&p=1466&hilit=ssl#p1466]

After adding the corresponding dependencies, like #include "espconn.h", and others, I'm receiving the errors:

undefined reference to espconn_secure_connect' undefined reference toespconn_secure_sent'

Is it anything wrong with that code? Does the secure-connection part of the SDK work OK? Do you have plans for an example of a secure connection?

Thanks for the help.

HSPI Slave mode example code fails

Using example code from the SDK to test SPI slave mode with HSPI. The code may appear to work but the transmitted bits from the slave do not match those loaded into the buffer at the slave. This was verified with a logic analyzer.

There seems to be some correlation to what was loaded, as in load a 0x55 into [0] and get 0x54 sent as [0]. The first guess would be polarity and clock edge but again these were both verified with an OScope. I also tried all combinations at the slave and master.

For the SPI master, I used another ESP8266. I have done several projects using SPI with the ESP and other microcontrollers as well.

I have long since given up with the slave SPI code but I will report the bug. I really wish this was something I'm doing wrong but I can not find it so far. If anyone can vouch for the code with strong believe that it really does work, sending the correct bytes I'd be very happy to hear it. I was counting on using the slave SPI and now have to scrap the ESP for some other parts.

Advantage over the official devkit?

Hi,
Great work. I had a simple question, sorry if it is too obvious or has been answered somewhere already - why should I be using this over the official SDK? Is there any specific advantage?

samples error large Integer

Hello,

there are many samples which have and integer error like this:
delay_us is just defined as unsigned int. and that means only 16 bit. 1000*1000 are already more.

CC driver/dht22.c
driver/dht22.c: In function 'DHTRead':
driver/dht22.c:71:10: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
sleepms(250);
^
driver/dht22.c:30:32: note: in definition of macro 'sleepms'
#define sleepms(x) os_delay_us(x*1000);
^
cc1.exe: all warnings being treated as errors
mingw32-make.exe: *** [build/driver/dht22.o] Error 1
../common_nonos.mk:351: recipe for target 'build/driver/dht22.o' failed

20:46:55 Build Finished (took 6s.623ms)

Unable to link (`.text' will not fit in region `iram1_0_seg')

In the current version of the SDK (2.1.1) I am unable to link a project [https://bitbucket.org/scargill/hackitt] that previously worked.

The error is: section .text' will not fit in region iram1_0_seg'.

Any help in understanding what this means and how to troubleshoot it is appreciated. Especially understanding what items are included in the .text section and the relative space used by each item.

I'm running Windows 10 with Eclipse Neon as the IDE and the default eagle.app.v6.ld file located in C:\Espressif\ESP8266_SDK\ld.

mkdir -p in makefiles does not work on windows

I have this issue in several makefiles that try to make the build/driver and build/user directories.
The make runs mkdir -p with a forward-slash directory path and that does not work.

Making the dir manually lets the make complete ok.

Question is whether it is supposed to be a mkdir command in MinGW (mine does not have any)

Thanks,

Greg

How to Disable OTA

My ESP is creating a WiFi network called ESP_91A62D when I turn it on. My guess is that it is for OTA updates. How can I disable that?
I'm using the mqtt example. I checked the Makefile but couldn't find anything helpful for that matter....
Also, I'm using version 2.0.9

NodeMCU ESP8266 Example Flashing

Hello SIr,
I am facing problem in executing the example project I have compiled the smart_config project from example and it compiled successfully with SDK2.2.
And it generated two file
Generate eagle.flash.bin and eagle.irom0text.bin successully in folder firmware
eagle.flash.bin-------->0x00000
eagle.irom0text.bin---->0x10000
And it successfully flashed in development board but its not behaving as expected as it to be.
On serial monitor its shows it continuously resetting itself.

load 0x40100000, len 30156, room 16
tail 12
chksum 0xd0
ho 0 tail 12 room 4
load 0x3ffe8000, len 2984, room 12
tail 12
chksum 0x29
ho 0 tail 12 room 4
load 0x3ffe8bb0, len 3840, room 12
tail 4
chksum 0x31
csum 0x31
rf_cal[0] !=0x05,is 0x00
ets Jan 8 2013,rst cause:2, boot mode:(3,6)

Please help me out to sort this.
Thanks

Installation in other directory then C:\Espressif is not supported

There are few reason why installation in default directory is the only way.

  • no directory choosing during installation
  • hardcoded paths in some python/exe tools

Possible solution would be to add env variable (e.g. ESP8266_HOME or similar) and use it in all tools where c:\espressif is hardcoded and make installer to set this variable to wherever you choose to install.

About pvPortReAlloc

pvPortReAlloc doubles the size used at the freeRTOS heap at first step before copying values to the new buffer. However, realloc function of bare metal basically adds tail space to a buffer.

Compile error

Hi
I tried compiling the mesh light example. How do i get past this error? what needs to be included in the makefile?
CC espfs/espfs.c
Assembler messages:
Fatal error: can't create build/espfs/espfs.o: No such file or directory
make[2]: *** [build/espfs/espfs.o] Error 1
Thanks

Compile error

Hi
Upon compiling the mesh example I am receiving the following error.
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: cannot find -lmgcc
collect2.exe: error: ld returned 1 exit status

What needs to be done here?

Find out UDK version

Hi Is there a way to find the UDK version at make time?

Recently the tools folder is moved to utils/ESP8266 and on older UDK the tols like esptool was in utils/

We need a way (registry, environment variable etc) to find out the UDK version in order to automatically adjust some paths. Is this implemented now? Will it be implemented in the future? A simple ESP_UDK_VERSION environment variable would be more than welcome.

Values wrong

Hi

I THINK you have a line wrong in user_c -
I believe

console_printf("Pressure: %d.%d mbar\r\n", (int)(pressure), (int)(pressure%100));

should be

console_printf("Pressure: %d.%d mbar\r\n", (int)(pressure/100), (int)(pressure%100));

Also the Altitude output - something wrong there as I am near sea level and with the pressure and temperature showing correctly - I get a very strange value for altitude - I've no idea what it is supposed to mean.

ESP8266 does nothing but puts gibberish on console

Hi
I am using the your latest toolchain with eclipse oxygen and sdk 2.0.0 to program nodemcu v0.9. All examples compile and flash successfully. But esp8266 doesn't do anything it is supposed to do. Opening putty Serial shows a lot of gibberish (even thought the baudrate and other settings are correct). and the LED on esp8266 board keeps on blinking for a long time and then turns off.

ESP32 Toolchain support

Hi,
I am active in the Sming framework and there is currently work in progress to include ESP32 support in there.
For ESP8266 the windows users of sming are using Cherts UDK as a base for their development environment.

Are there any plans for adding the ESP32 toolchain for windows to the UDK releases ?
If so, can you indicate the progress you have in that and, if possible, any timelines on that ?

Flashing fails against the new esptool

eclipse console log

07:13:50 **** Build of configuration Default for project esp8266-core ****
mingw32-make.exe -f C:/Backup/GitHub/esp8266-devkit/Espressif/examples/ESP8266/esp8266-core/Makefile flash 
c:/Espressif/utils/ESP8266/esptool.exe -p COM3 -b 256000 write_flash -ff 40m -fm qio -fs 32m-c1 0x01000 firmware/upgrade/user1.4096.new.6.bin
WARNING: Flash size arguments in megabits like '32m-c1' are deprecated.
Please use the equivalent size '4MB-c1'.
Megabit arguments may be removed in a future release.
esptool.py v2.0.0
Connecting....
Detecting chip type... ESP8266
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 256000
Changed.
Attaching SPI flash...

A fatal error occurred: Invalid head of packet ('\x80')
../common_nonos.mk:315: recipe for target 'flash' failed
mingw32-make.exe: *** [flash] Error 2

07:13:52 Build Finished (took 2s.0ms)

IoT_demo - TCP post request when arrive is split in two parts

Hi, i'm testing IoT_demo and it works well even if I've discovered that with some devices or browser (like Safari) the TCP packet of POST is splitted in two parts, so the ESP doesn't parse it correctly.

Here the wrong one with 2 call of function webserver_recv
the content of the first "pusrdata" is

POST /config?command=wifi HTTP/1.1
Content-Type: application/json
Content-Length: 150
User-Agent: PostmanRuntime/3.0.11-hotfix.2
Accept: */*
Host: 192.168.4.1
accept-encoding: gzip, deflate
Connection: keep-alive

the second "pusrdata" content is:

{"Request":{"Station":{"Connect_Station":{"ssid":"XXXXXXX", "password":"XXXXXXXX", "token":"XXXXX"}}}}

Где взять заголовочные файлы?

При попытке сборки примеров, возникают ошибки: string.h: No such file or directory
В include SDK нет файлов stdint.h, string.h и некоторых других.
Эти файлы можно найти только в SDK v0.9. Подключение файлов из старого SDK ни к чему не привели. Идут дальнейшие ошибки.

While building final GCC v5.1

Making all in include
make[4]: Entering directory `/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include'
mkdir -p ./xtensa-lx106-elf/bits/stdc++.h.gch
/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/./gcc/xgcc -shared-libgcc -B/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/./gcc -nostdinc++ -L/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/src -L/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/src/.libs -L/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/libsupc++/.libs -B/home/toms/esp8266/esp8266-devkit/Espressif/xtensa-lx106-elf/xtensa-lx106-elf/bin/ -B/home/toms/esp8266/esp8266-devkit/Espressif/xtensa-lx106-elf/xtensa-lx106-elf/lib/ -isystem /home/toms/esp8266/esp8266-devkit/Espressif/xtensa-lx106-elf/xtensa-lx106-elf/include -isystem /home/toms/esp8266/esp8266-devkit/Espressif/xtensa-lx106-elf/xtensa-lx106-elf/sys-include    -x c++-header -nostdinc++ -g -O2  -I/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include/xtensa-lx106-elf -I/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include -I/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/libstdc++-v3/include/precompiled/stdc++.h \
        -o xtensa-lx106-elf/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from /home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include/bits/char_traits.h:380:0,
                 from /home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include/ios:40,
                 from /home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include/istream:38,
                 from /home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include/sstream:38,
                 from /home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include/complex:45,
                 from /home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include/ccomplex:38,
                 from /home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/libstdc++-v3/include/precompiled/stdc++.h:52:
/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include/cstdint:78:11: error: 'uint_least32_t' is already declared in this scope
   using ::uint_least32_t;
           ^
make[4]: *** [xtensa-lx106-elf/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[4]: Leaving directory `/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3/include'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2/xtensa-lx106-elf/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/toms/esp8266/esp8266-devkit/Espressif/dl/gcc-xtensa/build-2'
make: *** [all] Error 2

Any idea ?

.irom0.text will not fit. mesh Example

Hi upon compiling I am gettting following error.

/xtensa-lx106-elf/bin/ld.exe: .output/eagle/release/image/eagle.app.v6.out section .irom0.text' will not fit in regionirom0_0_seg'

Is this due to limited flash size? I have 512KB flash. What is the minimum flash size required to run esp mesh example?
Thanks

Why some macros are missing from SDK 1.2 ?

The following makros can be found in eagle_soc.h SDK 1.0.1 but not in SDK(latest) 1.2
#define PIN_PULLDWN_DIS(PIN_NAME) CLEAR_PERI_REG_MASK(PIN_NAME, PERIPHS_IO_MUX_PULLDWN)
#define PIN_PULLDWN_EN(PIN_NAME) SET_PERI_REG_MASK(PIN_NAME, PERIPHS_IO_MUX_PULLDWN)

Samples: Can´t compile the C++ Sample

Hello and sorry.

I didnt find any way how i can compile the C++ samples under Windows + Eclipse.
It´s always taking the gcc compiler but not gcc++

c:/Espressif/ESP8266_SDK/include/osapi.h:67:6: note: previous declaration with 'C++' linkage
void ets_timer_setfn(os_timer_t *ptimer, os_timer_func_t *pfunction, void parg);
^
user/user_main.cpp:28:86: error: conflicting declaration of 'void ets_timer_arm_new(ETSTimer
, uint32_t, bool, bool)' with 'C' linkage
void ets_timer_arm_new(ETSTimer *ptimer,uint32_t milliseconds, bool repeat_flag, bool);
^
In file included from user/user_main.cpp:6:0:
c:/Espressif/ESP8266_SDK/include/osapi.h:65:6: note: previous declaration with 'C++' linkage
void ets_timer_arm_new(os_timer_t *ptimer, uint32_t time, bool repeat_flag, bool ms_flag);
^
../common_cpp.mk:351: recipe for target 'build/user/user_main.o' failed
mingw32-make.exe: *** [build/user/user_main.o] Error 1

21:15:23 Build Finished (took 6s.960ms)

thanks

Ripo updated with SDK v1.5.2, installer is still old version

There are updates in this ripo about 2 months ago, which include patches to compilers and SDK update to 1.5.2. But the pre-built installer available on linked website is still older one.

I'd appreciate if maintainer also update the installer with these latest changes. Thanks.

sysinfo example is broken

For the past day I've been chasing what I believed was a problem with my toolchain or how I was flashing the chip, and it turned out to be a minor issue with the sysinfo example program.

The list of flash mode strings at the top are missing some commas, so the second half of them end up concatenating together and the array size becomes 4, not 6 :-)

Tiny error, but it means my 4M chips kept printing for the mode no matter what I was doing, until I saw the missing punctuation

Please, help me change the files/folders and the Makefile

Hi Mikhail,

I would like to change the files/folders and the Makefile. Something like the others examples (user/drive/include) to make easy add the FOTA resource.

I changed the files/folders model in rboot-sampleproject

Now, it's necessary change the makefile to build the ROM.bin, the original Makefile was renamed to Makefile_original.

Your help would be great.

Problem when compile about std::string by ESP8266-DEVKIT's GCC-xtensa version 5.2.0.

When I build code like as the following by ESP8266-DEVKIT's GCC-xtensa version 5.2.0.

#include <string>

....

  const char *arr  = "HelloArray";
  std::string str = arr;
...

I found some error

(.text.setup+0x14): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy_chars(char*, char const*, char const*)'
(.text.setup+0x18): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()'
undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy_chars(char*, char const*, char const*)'
In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
xtensa-lx106-elf\include\c++\5.2.0\bits/basic_string.tcc:229: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()'

collect2.exe: error: ld returned 1 exit status

And this version gcc-xtensa 5.2.0 std::to_string missing ?
Do you mind to upgrade to other version of gcc-xtensa for esp-devkit.

Thank you.

Error with new version 2.0.3

Hi Mikhail.

I removed completely the old version 2.0.2 and I installed the new version 2.0.3, but now my project doesn't compile.

**** Build of configuration Default for project ESP8266-transparent-bridge-master ****
mingw32-make.exe -f C:/Espressif/examples/ESP8266-transparent-bridge-master/Makefile all 
CC driver/gpio16.c
CC driver/uart.c
CC user/config.c
CC user/flash_param.c
CC user/server.c
CC user/user_main.c
AR build/app_app.a
LD build/app.out
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: build/app.out section `.text' will not fit in region `iram1_0_seg'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [build/app.out] Error 1

The same occurs with the example ESPWebFramework.

**** Build of configuration Default for project ESPWebFramework ****
mingw32-make.exe -f C:/Espressif/examples/ESPWebFramework/Makefile all 
C+ user/fdvcollections.cpp
C+ user/fdvconfmanager.cpp
C+ user/fdvdebug.cpp
C+ user/fdvflash.cpp
C+ user/fdvnetwork.cpp
C+ user/fdvprintf.cpp
C+ user/fdvserial.cpp
C+ user/fdvstrings.cpp
C+ user/fdvsync.cpp
C+ user/fdvutils.cpp
C+ user/user_main.cpp
AR build/app_app.a
LD build/app.out
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: build/app.out section `.text' will not fit in region `iram1_0_seg'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [build/app.out] Error 1

Do you have a tip?
Best regards.

Incorrect memory setting in makefiles

esp8266-devkit/Espressif/examples/ESP8266/common_nonos.mk has an incorrect setting for flash mode 6 on line 109.

It should read '32m-c1' but currently reads '32m' so ends up building for mode 6 (1024+1024) but only flashing mode 4 (512+512)

Experimenting with a new version

I am using an old version of the devkit and it works fine. I would like to experiment with the newest version so I renamed the c:\Espressif folder to c:\Espressif_
However when I try to run the installation of the newest devkit (Espressif-ESP8266-DevKit-v2.2.1-x86) I get the following message:
An old version of Unofficial Development Kit for Espressif ESP8266 was detected. Do you want to uninstall it ?
If I click No the new devkit is not installed
How can I have both installed ?

Hardcoded full paths in different tools

There are some utilities that contain full path to devkit's default installation directory. That renders it impossible to install devkit into any other place than default path.

Example: Espressif/utils/gen_appbin.py:123
Because of that, compiling fails as it is unable to eventually create eagle.app.flash.bin file into project's folder.

CPU_CLK_FREQ' undeclared

timers.c:392:51: error: 'CPU_CLK_FREQ' undeclared (first use in this function)

Where should this be declared?

ESP8266_Relay_Board not reliable

I am not sure, example is compiled and flashed without problem.
Program runig, I see responses on terminal.
But connection is very unreliable, sometime I connect, sometime not, I try many modules, testing few weeks but I can not found problem.

dht22_thingspeak resets

dht22_thingspeak

==== System info: ====
SDK version:2.0.0(5a875ba) rom 0
Time = 90302
Chip id = 0x2f842
CPU freq = 80 MHz
Flash size map =
ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 29016, room 16
tail 8
chksum 0x7b
load 0x3ffe8000, len 2088, room 0
tail 8
chksum 0xfa
load 0x3ffe8830, len 5864, room 0
tail 8
chksum 0x01
csum 0x01
âäoäròo|ì$$$$ âr$j
==== System info: ====
SDK version:2.0.0(5a875ba) rom 0
Time = 89818
Chip id = 0x2f842
CPU freq = 80 MHz
Flash size map =
ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 29016, room 16
tail 8
chksum 0x7b
load 0x3ffe8000, len 2088, room 0
tail 8
chksum 0xfa
load 0x3ffe8830, len 5864, room 0
tail 8
chksum 0x01
csum 0x01
âäoäròo|ìdlll`ã{Ûlj
==== System info: ====
SDK version:2.0.0(5a875ba) rom 0
Time = 90074
Chip id = 0x2f842
CPU freq = 80 MHz
Flash size map =
ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 29016, room 16
tail 8
chksum 0x7b
load 0x3ffe8000, len 2088, room 0
tail 8
chksum 0xfa
load 0x3ffe8830, len 5864, room 0
tail 8
chksum 0x01
csum 0x01
âäoìÛ{ûn|äll$$ âr$j

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.