mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-10 17:49:32 +08:00
chg: increase stack size - hf mfu simlation needs it
This commit is contained in:
parent
4c2483cd3f
commit
62ce1cdf13
2 changed files with 3 additions and 2 deletions
|
@ -361,9 +361,10 @@ static void SendStatus(void) {
|
|||
#endif
|
||||
printConnSpeed();
|
||||
DbpString(_CYAN_("Various"));
|
||||
// pointer arithmetic is times 4. (two shifts to the left)
|
||||
for (uint32_t *p = &_stack_start; ; ++p) {
|
||||
if (*p != 0xdeadbeef) {
|
||||
Dbprintf(" Max stack usage so far..%d", (&_stack_end - p)*4);
|
||||
Dbprintf(" Max stack usage.........%d / %d bytes", (&_stack_end - p) << 2, (&_stack_end - &_stack_start) << 2);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ ms of the GNU GPL, version 2 or,
|
|||
-----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
stacksize = DEFINED(stacksize) ? stacksize : 5K;
|
||||
stacksize = DEFINED(stacksize) ? stacksize : 6K;
|
||||
commonareasize = 0x20;
|
||||
|
||||
/* AT91SAM7S256 has 256k Flash and 64k RAM */
|
||||
|
|
Loading…
Reference in a new issue