-
Notifications
You must be signed in to change notification settings - Fork 1
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
Installation with PlatformIO #2
Comments
The issue seems to be, that the code was written for the Teensy 4.0/4.1. When I remove all references to the snvs interrupt, I get it to compile with the following folder structure:
However, the time does not seem to advance after the initial sync to the RTC. ARM_DEMCR |= ARM_DEMCR_TRCENA;
ARM_DWT_CTRL |= ARM_DWT_CTRL_CYCCNTENA; to the |
Yes, this was done for the T4. For the T3.1 you need to enable the cycle counter as you have already found. Edit: Fixed the wrong cppx extension in the repo |
Thanks for the fix. When I include the teensy_clock code in my code in this way. Where would you want me to place the license file? One copy in each subfolder? |
Actually I don't care. Would be nice if you could place a link to the repo somewhere but event that is not necessary from my point of view. |
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:
teensy_clock
folder in thelib
subfolder of my projectteensy_clock
folder in thesrc
subfolder of my projectteensy_clock
files directly into thesrc
subfolder of my project.cppx
file renamed tocpp
I always get an error at link time:
(it is a different error when I rename the
.cppx
file)Do you have any hints for me?
The text was updated successfully, but these errors were encountered: