Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Compilation error #247

Closed
dreamerchandra opened this issue Feb 4, 2017 · 5 comments
Closed

Compilation error #247

dreamerchandra opened this issue Feb 4, 2017 · 5 comments

Comments

@dreamerchandra
Copy link

I'm using ESP8266. I wanted to speak this wifi module to firebase. So I googled a found a library. I used example programs first.
But while compiling the firebaseArudino.h doesn't runs properly and throws back an error
Arduino: 1.6.11 (Linux), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"

/home/chandrakumar/Arduino/libraries/firebase-arduino-master/src/thing/FireThing.cpp:17:3: error: 'D1' was not declared in this scope
D1, // digital in
^
/home/chandrakumar/Arduino/libraries/firebase-arduino-master/src/thing/FireThing.cpp:20:3: error: 'D1' was not declared in this scope
D1, // analog out
^
/home/chandrakumar/Arduino/libraries/firebase-arduino-master/src/thing/FireThing.cpp:21:3: error: 'D0' was not declared in this scope
D0, // config mode button
^
exit status 1
Error compiling for board Generic ESP8266 Module.

@timtimmytime
Copy link

Same experience when compiling for board: Adafruit HUZZAH ESP8266

@dreamerchandra
Copy link
Author

Use nodemcu v1.0 as a board

@timtimmytime
Copy link

Thanks! Works for me, I noticed now that it was already one of the steps in the README.md

  1. Select the board Board > ESP8266 Modules > NodeMCU 1.0

@proppy
Copy link
Contributor

proppy commented Apr 10, 2017

Should be fixed with #241

@arnabGudu
Copy link

Downgrade ArduinoJson to 5.13.1
Download FirebaseArduino library from https://github.com/FirebaseExtended/firebase-arduino.git

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

No branches or pull requests

4 participants