The slight increase of array size makes us use the usb packages the AT91 sends which is 64bytes of size. We maximizing the available bytes basically and it comes with a slight cost of .bss and stack cost. Making bigbuff just abit smaller. We gain: 600 kBs -> 630 kB/s and less number of frames being sent over the wire. \n\nWhen it comes to Pm5 it will need to find its own aligned size to optimize transfers
This commit is contained in:
1 parent
b7bd6ddadb
commit
6d2c35b05b
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -25,7 +25,7 @@
|
||||
// Use it e.g. when using slow links such as BT
|
||||
#define USART_SLOW_LINK
|
||||
|
||||
#define PM3_CMD_DATA_SIZE 512
|
||||
#define PM3_CMD_DATA_SIZE 624
|
||||
// OLD frames are pinned at 512 independently of PM3_CMD_DATA_SIZE:
|
||||
// the bootloader only speaks OLD
|
||||
#define PM3_CMD_DATA_SIZE_OLD 512
|
||||
|
||||
Reference in new issue
Block a user