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

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





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

Register Lost password?
sp_Feed sp_TopicIcon
ESP8266 and ARDUINO IDE
Avatar
TheFossil
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
1
May 14, 2017 - 5:26 pm
sp_Permalink sp_Print

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

Avatar
rw950431

Forum Posts: 232
sp_UserOfflineSmall Offline
2
May 14, 2017 - 9:01 pm
sp_Permalink sp_Print

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: loli72
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 232

Vinod: 136

vespapierre: 63

piajola: 62

Adarsh_Murthy: 59

chrisjmears: 54

Newest Members:

loli72

beeconnections

py2alc

Tonibco6

Ge_O

Negron

Forum Stats:

Groups: 4

Forums: 17

Topics: 1148

Posts: 4060

 

Member Stats:

Guest Posters: 1

Members: 5340

Moderators: 0

Admins: 2

Administrators: Hans, lee