FabioBatSilva / ArduinoFake

Arduino mocking made easy
https://platformio.org/lib/show/1689/ArduinoFake
MIT License
105 stars 48 forks source link

undefined reference to `yield' #8

Closed dolfandringa closed 4 years ago

dolfandringa commented 4 years ago

I see yield is defined in arduino/Arduino.h but not implemented anywhere. I am using ArduinoFake with DallasTemperature, which uses the yield function, which causes the following compile error: undefined reference toyield'`. How is yield supposed to be implemented? I don't care what it does (it won't even be called), but my efforts at implementing it myself with am empty function didn't work.

FabioBatSilva commented 4 years ago

Hi..

The yield is not supported by ArduinoFake yet..

If you want to contribute and implement the missing functionality You can follow this instructions here on Contribution Guidelines

dolfandringa commented 4 years ago

Made a PR

FabioBatSilva commented 4 years ago

Closed by https://github.com/FabioBatSilva/ArduinoFake/pull/10