-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issue #9
Comments
Oh that’s a good catch actually!
You should just be able to remove the (std::nothrow) part - that’s a C++
thing that makes it return null and not throw an exception if it cannot
allocate the buffer. It’s probably not there anymore because they probably
disable exceptions by default now.
Do note that the current version is incomplete. Wasn’t able to get it to
read frame buffers using the SPI library. Might be different for faster
chipsets but I wanted to rewrite it to take advantage of DMA with the STM32
chips. Just haven’t really gotten there yet in my life, with work and all.
Best of luck!
…On Thu, Mar 11, 2021 at 5:05 PM Steven Trellis ***@***.***> wrote:
Thank you for the code. I keep getting the same issue below and I have no
clue how to address it. Thank you for any help!
sketch\LeptonFLiR+Protected.cpp: In member function 'void
LeptonFLiR::advanceNextFrame()':
sketch\LeptonFLiR+Protected.cpp:94:32: error: 'nothrow' is not a member of
'std'
_nextFrame = new (std::nothrow) LeptonFLiR::FrameSettings(_lastFrame,
_frameCounter++);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADWDX6AFR3NOLRO22NI3YLTDFLD3ANCNFSM4ZBKLD3Q>
.
|
I will be trying to make some progress on it this weekend; I'll make a pull request if I get anywhere, but I'm doubtful I'll get far. Right now, your code here is the closest to getting a Lepton 3.5 and Teensy 4.0 working together. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the code. I keep getting the same issue below and I have no clue how to address it. Thank you for any help!
sketch\LeptonFLiR+Protected.cpp: In member function 'void LeptonFLiR::advanceNextFrame()':
sketch\LeptonFLiR+Protected.cpp:94:32: error: 'nothrow' is not a member of 'std'
_nextFrame = new (std::nothrow) LeptonFLiR::FrameSettings(_lastFrame, _frameCounter++);
The text was updated successfully, but these errors were encountered: