*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K
}
-C_STACK_SIZE = 512;
-
INCLUDE registers.ld
SECTIONS {
__bss_end__ = .;
} >ram
- PROVIDE(__stack__ = . + C_STACK_SIZE);
+ PROVIDE(__stack__ = ORIGIN(ram) + LENGTH(ram));
PROVIDE(end = .);
}