-
Notifications
You must be signed in to change notification settings - Fork 37
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
Teensey 4.1 Support #108
Comments
It seems the library is no longer maintained. if you want to fix the code yourself its pretty easy. go to "Snooze/src/hal/TEENSY_40/SnoozeDigital.cpp" and fix the defines at the beginning to:
go through the code and add the underscore everywhere the defines are used. Its just a naming collision with register names that have changed I guess. Second fix needed is documented here: #114 |
Thank you. I will try that.
Jeff
From: savejeff ***@***.***
Sent: Thursday, May 5, 2022 10:20 AM
To: duff2013/Snooze
Cc: c172jeff; Author
Subject: Re: [duff2013/Snooze] Teensey 4.1 Support (Issue #108)
It seems the library is no longer maintained. if you want to fix the code yourself its pretty easy.
go to "Snooze/src/hal/TEENSY_40/SnoozeDigital.cpp" and fix the defines at the beginning to:
#define _DR 0
#define _GDIR 1
#define _PSR 2
#define _ICR1 3
#define _ICR2 4
#define _IMR 5
#define _ISR 6
#define _EDGE 7
go through the code and add the underscore everywhere the defines are used. Its just a naming collision with register names that have changed I guess.
compiles fine for me
—
Reply to this email directly, view it on GitHub <#108 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJTIFOZC5XK4YEFZDDQQFVTVIPKIVANCNFSM5KVJZD6A> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AJTIFO4VZFXHUEFVIFQIGPDVIPKIVA5CNFSM5KVJZD6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIKWLBHQ.gif> Message ID: ***@***.***>
|
I followed the suggestion and it works together with #114 |
Hello, I am currently trying to fix this, but changing those defines in this single file didn't solve the compiling error. I also did fix the other file from #114. Any obvious idea what I might be doing wrong? I am on Teensy 4.1 |
Hi, I was wondering if this is working in Teensey 4.1? The last time I checked, I had problems compiling. I would like to have the Teensey 4.1 sleep at very low power and wake up ever 2 hours or so and perform like a bat out of hell/take pictures and save to the sd card. What little I have read was related to clock scalers and 4.1 having lots of peripherals that needed to be switched off for low power.. For my Teensey 4.1 to be useful, it needs to sleep with extremenly low power current draw until needed...either time or interrupt
Jeff
The text was updated successfully, but these errors were encountered: