diff options
| author | hathach <[email protected]> | 2024-04-24 11:24:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-24 11:26:22 +0700 |
| commit | 36e07093b8a62f6b899451562f232638b2b80415 (patch) | |
| tree | 1c78f6c9770e7b18efd496a9f9f163924b87c75e /hw/bsp/samg55xplained | |
| parent | 60f39f7b1e32a1a081f6e850eafebbce4068ecf1 (diff) | |
fix samd linker with clang: cannot self-check defined symbol with lld e.g `STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x1000` --> STACK_SIZE = 0
Diffstat (limited to 'hw/bsp/samg55xplained')
| -rw-r--r-- | hw/bsp/samg55xplained/samg55j19_flash.ld | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/samg55xplained/samg55j19_flash.ld b/hw/bsp/samg55xplained/samg55j19_flash.ld index 21c0b5bcd..a222b919b 100644 --- a/hw/bsp/samg55xplained/samg55j19_flash.ld +++ b/hw/bsp/samg55xplained/samg55j19_flash.ld @@ -40,7 +40,7 @@ MEMORY } /* The stack size used by the application. NOTE: you need to adjust according to your application. */ -STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : DEFINED(__stack_size__) ? __stack_size__ : 0x0400; +STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400; /* The heapsize used by the application. NOTE: you need to adjust according to your application. */ HEAP_SIZE = DEFINED(HEAP_SIZE) ? HEAP_SIZE : DEFINED(__heap_size__) ? __heap_size__ : 0x0200; |
