projects
/
libsigrok.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
40a0db1
)
kingst-la2016: zero pad FPGA bitstream to 4KiB boundaries
author
Gerhard Sittig
<redacted>
Mon, 21 Feb 2022 20:43:16 +0000
(21:43 +0100)
committer
Gerhard Sittig
<redacted>
Tue, 22 Feb 2022 20:53:20 +0000
(21:53 +0100)
The 2KiB padding worked for LA2016 but kept looking susipcious. Pad the
FPGA bitstream to 4KiB boundaries, which unbreaks LA5016 and still works
with LA2016.
src/hardware/kingst-la2016/protocol.h
patch
|
blob
|
blame
|
history
diff --git
a/src/hardware/kingst-la2016/protocol.h
b/src/hardware/kingst-la2016/protocol.h
index 5d465d942a094948c8fb301a09ddac369bbc16b8..dd1092446d06d6db15fa1c19007615b465a3fe11 100644
(file)
--- a/
src/hardware/kingst-la2016/protocol.h
+++ b/
src/hardware/kingst-la2016/protocol.h
@@
-67,7
+67,7
@@
* The device expects some zero padding to follow the content of the
* file which contains the FPGA bitstream. Specify the chunk size here.
*/
-#define LA2016_EP2_PADDING
2048
+#define LA2016_EP2_PADDING
4096
/*
* Whether the logic input threshold voltage is a config item of the