gowin: add reset method
This commit is contained in:
parent
b10f9c4e15
commit
414e6ee1b0
|
|
@ -90,6 +90,12 @@ Gowin::~Gowin()
|
|||
delete _fs;
|
||||
}
|
||||
|
||||
void Gowin::reset()
|
||||
{
|
||||
wr_rd(RELOAD, NULL, 0, NULL, 0);
|
||||
wr_rd(NOOP, NULL, 0, NULL, 0);
|
||||
}
|
||||
|
||||
void Gowin::programFlash()
|
||||
{
|
||||
uint8_t *data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue