You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fact for all vendor's drivers program method throw exceptions when something is wrong.
But it's true, changing program to a non void method may be more easy to manage
And for efinix most of errors doesn't produces exception.
If throwing an exception is the existing pattern then following this for Efinix would be sufficient for now - openfpgaloader just returning a non-zero value on error is all we need.
AndrewD
changed the title
openfpgaloader reports success (returns 0) when programming fails
efinix: program reports success (returns 0) when programming fails
Jul 25, 2024
Efinix: programming errors still result in a success return code so there is no way for a script to detect errors from the return value.
This interface needs to be able to propagate errors (not return void):
openFPGALoader/src/efinix.hpp
Line 30 in a395246
The text was updated successfully, but these errors were encountered: