2 Commits

Author SHA1 Message Date
Andrew Hutchings
cfc65d4931 Fix flash for sudo
When executed under sudo the wrong shell is used by Debian, causing an
error. This patch fixes the script so it specifies which shell to use.

Note that you don't need to run flash.sh under sudo because it sudos
itself.
2021-06-29 13:21:22 +01:00
Andrew Hutchings
85eee9f53c Add flash autodetect
Added flash.sh and flash_experimental.sh. These will detect the CPLD
version for EPM240(G) and EPM570(G) and execute the correct flash
command.
2021-06-29 09:46:19 +01:00