-
Notifications
You must be signed in to change notification settings - Fork 712
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 problem #152
Comments
Please, provide the detailed steps to reproduce the error. There are nine example sketches bundled with the library. All of them have been successfully compiled for ESP8266 by the automated test script. |
Before update to 1.4.2 all was ok. |
Try removing the last line from RTClib/library.properties: diff --git a/library.properties b/library.properties
index 44a50c4..97b70be 100644
--- a/library.properties
+++ b/library.properties
@@ -7,4 +7,3 @@ paragraph=A fork of Jeelab's fantastic RTC library
category=Timing
url=https://github.com/adafruit/RTClib
architectures=*
-depends=TinyWireM, OneWire Alternatively, try this version: it's just 1.4.2 that line removed. Tell us if it fixes the issue for you. If that's the case, I'll submit a pull request. |
@ivankravets hihi - taggin you to see another example that platform-unique dependencies cause compilation issues. tinywirem is referenced here: Line 45 in a40bfbc
|
Hi @ladyada, thanks for tagging me. Yes, yes, this is a known issue. There are a few solutions:
We have some ideas about how to improve our Library Dependency Finder but it will need some efforts. The current LDF behavior is to follow your declarations. It allows PlatformIO Core to build project crazy fast. |
It doesnt work |
@Lightwell-bg does it work if you add to platformio.ini
|
Sorry, and it doesnt work |
@valeros, please help |
Hi @Lightwell-bg ! The error is caused by a misleading dependency specified in
|
Hi @valeros |
Isn't there a better way to solve this issue? Using lib_ignore in our platform.ini file feels dirty. |
Hey @ladyada , Would you like to have |
hihi @ivankravets - as other library developers such as @PaulStoffregen have mentioned, folks usually forget or neglect to update both on the libs they maintain. adafruit/DHT-sensor-library#118 (comment) as more libraries add dependencies, some of which are for specific platforms, we recommend only compiling code that is referenced/included in the projects. |
@ivankravets, If I understood correctly, we cannot express a conditional library dependency using Maybe we can automatically generate a |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
FYI, I've hidden the heated conversation as off-topic. It's not helpful. |
RTClib@1.4.2 version doesn't work with ESP8266
fatal error: avr/interrupt.h: No such file or directory
The text was updated successfully, but these errors were encountered: