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
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
||||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||
|
||||
## [unreleased][unreleased]
|
||||
- Changed NG frame layout to align better with 64bytes frames. From 512 -> 624bytes (@iceman1001)
|
||||
- Changed `hf plot` - converted to NG frame (@iceman1001)
|
||||
- Fixed `hf mfu cchk` - now 3-pass key check all keys sent to device (@iceman1001)
|
||||
- Changed iso15693 on device side to share one response buffer across the reader helpers (@iceman1001)
|
||||
|
||||
+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