TeensyHelpers
TeensyHelpers copied to clipboard
Installation with PlatformIO
Hi, thanks for this nice helper library! I wanted to use teensy_clock in my PlatformIO project with a Teensy 3.1. Unfortunately it was unclear how to properly incorporate the library in my source code. What I tried so far:
- Putting the
teensy_clock
folder in thelib
subfolder of my project - Putting the
teensy_clock
folder in thesrc
subfolder of my project - Putting the
teensy_clock
files directly into thesrc
subfolder of my project - All of the above variants with the
.cppx
file renamed tocpp
I always get an error at link time:
.pio/build/teensy31/src/main.cpp.o: In function `L_214_delayMicroseconds':
main.cpp:(.text._Z20perform_needed_stepshR7StepperS0_S0_S0_+0x28): undefined reference to `cycles64::get()'
collect2: error: ld returned 1 exit status
*** [.pio/build/teensy31/firmware.elf] Error 1
(it is a different error when I rename the .cppx
file)
Do you have any hints for me?