-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
Multi-file arduino project does not build #730
Comments
You need to declare functions in C before you use them, or in this particular case, re-order the functions so that you start with functions in a file that don't need any of your other ones, then the ones that only need the ones you've declared so far, and so on. http://stackoverflow.com/questions/14307087/whats-wrong-with-this-arduino-code has a good example of the type of thing. |
PlatformIO Build System has own INO to CPP auto converter. See It looks like it doesn't convert code very well. I'll look on it later. |
Please re-test with PlatformIO 3.0 http://docs.platformio.org/en/stable/installation.html#development-version |
Tested with PlatformIO 3.0: code does compile now. |
* develop: Fix incorrect line order when converting from INO to CPP and pointer is used Fix unit test Notify about `version` field when creating library Add support for SparkFun Blynk Board Return valid exit code from ``plaformio test`` command Disable SSL Server-Name-Indication for Python < 2.7.9 Version bump to 3.0.1 (issue #772) Disable temporary SSL for PlatformIO services // Resolve #772 Version bump to 3.0.0 (issues #770, #766, #747, #730, #765, #640, #659, #742, #459, #542, #763, #759, #753, #757, #749, #748, #745, #519, #709, #743, #413, #498, #410, #740, #361, #414, #554, #732, #588, #475, #461, #101, #719, #721, #537, #415, #522, #289, #556, #570, #456, #617, #432, #408, #479, #667, #510) Fix menu height for docs Fix issue with multiple archives when linking firmware Add migration guide for PIO2 to PIO3 Search libraries by headers/includes with ``platformio lib search --header`` option Update pio run command examples Add Unit Testing Demo Update PIO Plus badge title and link Add PlatformIO Plus badge Add links to PlatformIO Plus
Here is a multi-file project which has problems building in platformio ide 1.3.6 cli 2.11.1:
https://github.com/ESP8266nu/ESPEasy
I get quite a number of errors like this:
/Users/sl/ownCloud/Arduino/ESPEasy/src/_P006_BMP085.ino:54:39: error: 'Plugin_006_bmp085_begin' was not declared in this scope
Could it be there is a problem with underscores in the .ino filenames?
How could this be fixed?
Thanks, Sascha
The text was updated successfully, but these errors were encountered: