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

arduino huzzah (esp8266) upload fail #154

Open
Niko-La opened this issue May 22, 2019 · 1 comment
Open

arduino huzzah (esp8266) upload fail #154

Niko-La opened this issue May 22, 2019 · 1 comment

Comments

@Niko-La
Copy link

Niko-La commented May 22, 2019

Was uploading fine few days ago now wont compile to upload.

did a pio update as well.

:/

`$ pio run --target upload
Processing huzzah (platform: espressif8266; board: huzzah; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/huzzah.html
PLATFORM: Espressif 8266 > Adafruit HUZZAH ESP8266
HARDWARE: ESP8266 80MHz 80KB RAM (4MB Flash)
Converting main.ino
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 29 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 0.6.1
| |-- 1.0
|-- 1.0
Compiling .pioenvs\huzzah\src\main.ino.cpp.o
Generating LD script .pioenvs\huzzah\ld\local.eagle.app.v6.common.ld
Compiling .pioenvs\huzzah\lib00c\ESP8266WiFi\BearSSLHelpers.cpp.o
Compiling .pioenvs\huzzah\lib00c\ESP8266WiFi\CertStoreBearSSL.cpp.o
C:/Users/kavas/Desktop/Platformio/cliontest/src/main.ino:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import <Arduino.h>
^
Compiling .pioenvs\huzzah\lib00c\ESP8266WiFi\ESP8266WiFi.cpp.o
C:/Users/kavas/Desktop/Platformio/cliontest/src/main.ino:53:6: error: 'long int time' redeclared as different kind of symbol
long time;
^
In file included from C:\Users\kavas.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\includ e/stdlib.h:11:0,
from C:\Users\kavas.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:27,
from c:\users\kavas\appdata\local\temp\tmpbqboyl:1:
C:\Users\kavas.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/time.h:53:18: error: previous declaration of 'time_t time(time_t*)'
time_t _EXFUN(time, (time_t *_timer));
^
C:\Users\kavas.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/_ansi.h:65:30: note: in definition of macro '_EXFUN'
#define _EXFUN(name, proto) name proto
^
scons: *** [.pioenvs\huzzah\src\main.ino.cpp.o] Error 1
========================= [ERROR] Took 10.30 seconds =====`

@ivankravets
Copy link
Member

Does it work with Arduino IDE?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants