mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07: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
|
#endif
|
||||||
printConnSpeed();
|
printConnSpeed();
|
||||||
DbpString(_CYAN_("Various"));
|
DbpString(_CYAN_("Various"));
|
||||||
|
// pointer arithmetic is times 4. (two shifts to the left)
|
||||||
for (uint32_t *p = &_stack_start; ; ++p) {
|
for (uint32_t *p = &_stack_start; ; ++p) {
|
||||||
if (*p != 0xdeadbeef) {
|
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;
|
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;
|
commonareasize = 0x20;
|
||||||
|
|
||||||
/* AT91SAM7S256 has 256k Flash and 64k RAM */
|
/* AT91SAM7S256 has 256k Flash and 64k RAM */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue