Skip to content

Commit

Permalink
gowin: fix gw1n external flash access
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Dec 14, 2023
1 parent 1dbc9e6 commit 2093ce7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gowin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,9 @@ bool Gowin::prepare_flash_access()
return false;
}
} else if (!is_gw2a) {
if (!enableCfg()) {
return false;
}
send_command(0x3D);
}

Expand Down

0 comments on commit 2093ce7

Please sign in to comment.