ESP8266 and ARDUINO IDE | ESP8266 Wi-Fi Module | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
ESP8266 and ARDUINO IDE
No permission to create posts
May 14, 2017
5:26 pm
Avatar
TheFossil
New Member
Members
Forum Posts: 1
Member Since:
May 14, 2017
sp_UserOfflineSmall Offline

Hi

I'm new to this forum and very confused / bewildered.

I was excited to find what I thought to be a simple way to log data via the internet. The ESP8266 looked very promising (and simple?).

 

I've spent several hours trying to test the RSSI send example and found it impossible to load into my ESP. Code compilation took several minutes, generated some 250k of code, and just could not upload - errors half way.

 

Please advise me if I'm missing something:

Is it normal that compilation takes forever?

Can the code really be >250k?

I'm used to programming using PIC micros using the Mikroe development system and it is lightning fast, and generates very economical code.

 

I'm really keen to use the ESP, but does it work

 

Thanks

John

May 14, 2017
9:01 pm
Avatar
rw950431

Top
Members
Forum Posts: 261
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

It is quite normal to generate that kind of code size.  The Arduino interface is basically an emulator built on top of the expressif SDK so the code is not that efficient.  I suspect that you could write much smaller and more efficient code using the native SDK (https://espressif.com/en/support/download/sdks-demos) but you would need to learn a new environment and set up a new toolchain. That being said the ESP8266 is a much more sophisticated and capable board than a Pic or AtMega so code is going to be larger by necessity.

 

You may get more assistance with your upload problems on the arduino forums (http://forum.arduino.cc/index.php#c3)

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

harriettlf60, ShaToow, Aleftinfenny, DiaBentee, hugo11dom@gmail.com, Pisaruk530

Administrators: Hans: 387, lee: 457