forked from M-Labs/artiq
bootloader: disable minimum stack space check in linker script
* The value varies greatly whether netboot is enabled or not. * There is no simple solution to detect has_ethmac in the linker script and set the value accordingly. * The space check is an imperfect solution that will be superseded by stack pointer limits. * Left commented out so we can re-enable it manually during development if stack corruption is suspected.
This commit is contained in:
parent
deadfead2a
commit
5362f92b39
@ -46,7 +46,7 @@ SECTIONS
|
||||
.stack :
|
||||
{
|
||||
/* Ensure we have a certain amount of space available for stack. */
|
||||
. = ORIGIN(sram) + LENGTH(sram) - 0x1a00;
|
||||
/*. = ORIGIN(sram) + LENGTH(sram) - 0x1a00; */
|
||||
. = ORIGIN(sram) + LENGTH(sram) - 4;
|
||||
_fstack = .;
|
||||
} > sram
|
||||
|
Loading…
Reference in New Issue
Block a user