mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-12 16:26:05 +01:00
lib: Update samd21 code with local changes
A minor change is necessary to work with GCC's -flto and to work with common bootloaders. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -35,7 +35,7 @@ SEARCH_DIR(.)
|
||||
/* Memory Spaces Definitions */
|
||||
MEMORY
|
||||
{
|
||||
rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000
|
||||
rom (rx) : ORIGIN = 0x00000000 + FLASH_START , LENGTH = 0x00040000 - FLASH_START
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000
|
||||
}
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ void PTC_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler
|
||||
void I2S_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
|
||||
|
||||
/* Exception Table */
|
||||
__attribute__ ((section(".vectors")))
|
||||
__attribute__ ((section(".vectors"))) __attribute__((externally_visible))
|
||||
const DeviceVectors exception_table = {
|
||||
|
||||
/* Configure Initial Stack Pointer, using linker-generated symbols */
|
||||
|
||||
Reference in New Issue
Block a user