openFPGALoader icon indicating copy to clipboard operation
openFPGALoader copied to clipboard

efinix: program reports success (returns 0) when programming fails

Open AndrewD opened this issue 7 months ago • 3 comments

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): https://github.com/trabucayre/openFPGALoader/blob/a39524636bcc0846a799ed1fb874c891fc350c1b/src/efinix.hpp#L30

AndrewD avatar Jul 25 '24 02:07 AndrewD