mirror of https://github.com/m-labs/artiq.git
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 :
|
.stack :
|
||||||
{
|
{
|
||||||
/* Ensure we have a certain amount of space available for 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;
|
. = ORIGIN(sram) + LENGTH(sram) - 4;
|
||||||
_fstack = .;
|
_fstack = .;
|
||||||
} > sram
|
} > sram
|
||||||
|
|
Loading…
Reference in New Issue