Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 Fails to compile under the Arduino IDE #4

Closed
sfranzyshen opened this issue Oct 8, 2019 · 12 comments
Closed

ESP8266 Fails to compile under the Arduino IDE #4

sfranzyshen opened this issue Oct 8, 2019 · 12 comments

Comments

@sfranzyshen
Copy link

LINUX_DIST="Linux Mint 18.3 Sylvia MATE 32-bit"
KERNEL=Linux computer 4.10.0-38-generic i686 i686 i686 GNU/Linux

ARDUINO IDE: 1.8.10 (32bit)
mDash Library: 1.1.8 (Installed using Arduino IDE library manager)
ESP8266 BOARD: 2.5.2 (Installed with board manager from Arduino IDE)

OUTPUT:


/home/name/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/name/Arduino/libraries/mDash/src/esp8266/libmDash.a:(.irom0.text.mDash.c.212.89+0x54): undefined reference to `esp_random'
/home/name/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/name/Arduino/libraries/mDash/src/esp8266/libmDash.a:(.irom0.text.mDash.c.212.89+0xa4): undefined reference to `esp_random'
collect2: error: ld returned 1 exit status
exit status 1
@sfranzyshen
Copy link
Author

LINUX_DIST="Linux Mint 18.3 Sylvia MATE 32-bit"
KERNEL=Linux computer 4.10.0-38-generic i686 i686 i686 GNU/Linux

ARDUINO IDE: 1.8.10 (32bit)
mDash Library: 1.1.8 (Installed using Arduino IDE library manager)
ESP8266 BOARD: 2.6.0-dev (Installed manually into the Arduino IDE)

OUTPUT:

/home/name/Arduino/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino_build_253567/Minimal.ino.elf section `.text1' will not fit in region `iram1_0_seg'
collect2: error: ld returned 1 exit status
Using library mDash at version 1.1.8 in folder: /home/name/Arduino/libraries/mDash 
Using library WiFi at version 1.2.7 in folder: /home/name/arduino-1.8.10/libraries/WiFi 
Using library SPI at version 1.0 in folder: /home/name/Arduino/hardware/esp8266com/esp8266/libraries/SPI 
exit status 1
Error compiling for board Generic ESP8266 Module.

@sfranzyshen
Copy link
Author

same with release 1.1.11

@sfranzyshen
Copy link
Author

sfranzyshen commented Oct 11, 2019

uint32_t esp_random(void); is not supported outside of esp-idf & esp8266-rtos (not esp8266-nonos) ... but it could be ...

[esp32_compat.h]
#define esp_random() (rand()%UINT32_MAX)

@sfranzyshen
Copy link
Author

BTW this builds fine on the esp32 platform

@sfranzyshen
Copy link
Author

sfranzyshen commented Oct 19, 2019

same result with latest version 1.2.0
Using library mDash at version 1.2.0 in folder: /home/name/Arduino/libraries/mDash

@sfranzyshen
Copy link
Author

same result with latest version 1.2.2
Using library mDash at version 1.2.2 in folder: /home/name/Arduino/libraries/mDash

@sfranzyshen
Copy link
Author

same result with latest version 1.2.3
Using library mDash at version 1.2.3 in folder: /home/name/Arduino/libraries/mDash

@sfranzyshen sfranzyshen changed the title Fails to compile under the Arduino IDE ESP8266 Fails to compile under the Arduino IDE Nov 9, 2019
@sfranzyshen
Copy link
Author

... 1.2.4

@sfranzyshen
Copy link
Author

... 1.2.5

@sfranzyshen
Copy link
Author

... 1.2.6

@sfranzyshen
Copy link
Author

... 1.2.7 ... 1.2.8 ... can we assume that esp8266 support has been dropped?

@cpq
Copy link
Member

cpq commented Sep 3, 2020

Yeah, esp8266 support is dropped for now,
the plan is to re-enable that in Q1/Q2 2021

@cpq cpq closed this as completed Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants