esl-epfl / x-heep

eXtendable Heterogeneous Energy-Efficient Platform based on RISC-V
Other
129 stars 69 forks source link

fix zcu104 flash #520

Closed LuigiGiuffrida98 closed 1 month ago

LuigiGiuffrida98 commented 1 month ago

The SPI on EPFL programmer was unusable with ZCU104 due to the fact that some functionalities of the driver were enabled only for the pynq-z2.

#ifdef in the driver and SPI examples have been update to enable everything with ZCU104.

A target to clean the flash has been added to solve some issues when the content of the flash results corrupted at programming time.

Tested them on zcu104 and it is all working.

This should solve this issue #521

LuigiGiuffrida98 commented 1 month ago

Please, @JoseCalero, can you review this PR?

JoseCalero commented 1 month ago

I will review it asap tomorrow, thanks for updating everything!