I’m using PlatformIO for Arduino and I’d like to try to test parts of code and examples to troubleshoot my project.
I’ve followed the instructions from:
https://docs.platformio.org/en/latest/tutorials/core/unit_testing_blink.html#tutorial-unit-testing-blink
I’m trying to run an example test code for a graphical LCD.
When running platformio test
, I get the following error:
In function main:
undefined reference to setup
undefined reference to loop
Also, I’m unable to run platformio test -v
to get a verbose output.
Thanks!