Make the random file bigger
This commit is contained in:
parent
baaf18850b
commit
840baa0d87
3 changed files with 4 additions and 2 deletions
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"files.associations": {}
|
||||||
|
}
|
||||||
|
|
@ -155,7 +155,6 @@ This way, the info file can be found in the initial section of the `CURRENT.UF2`
|
||||||
file as well. Thus, a board type can be determined from the contents of `CURRENT.UF2`.
|
file as well. Thus, a board type can be determined from the contents of `CURRENT.UF2`.
|
||||||
This is particularly useful with the source embedding (see above).
|
This is particularly useful with the source embedding (see above).
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|
|
||||||
|
|
@ -281,7 +281,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
if (strcmp(filename, "random") == 0) {
|
if (strcmp(filename, "random") == 0) {
|
||||||
srand(millis());
|
srand(millis());
|
||||||
filesize = 64 * 1024;
|
filesize = 230 * 1024;
|
||||||
for (i = 0; i < filesize; ++i)
|
for (i = 0; i < filesize; ++i)
|
||||||
flashbuf[i] = rand();
|
flashbuf[i] = rand();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue