mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
remove assembler warning if StackSize or HeapSize are explicitly set to zero (#2465)
This commit is contained in:
parent
3515dad632
commit
c9c38252ec
1 changed files with 4 additions and 0 deletions
|
|
@ -573,11 +573,15 @@ spacer_section .stack
|
|||
// align to allow for memory protection (although this alignment is pretty much ignored by linker script)
|
||||
.p2align 5
|
||||
.equ StackSize, PICO_STACK_SIZE
|
||||
.if StackSize != 0
|
||||
.space StackSize
|
||||
.endif
|
||||
|
||||
spacer_section .heap
|
||||
.p2align 2
|
||||
.equ HeapSize, PICO_HEAP_SIZE
|
||||
.if HeapSize != 0
|
||||
.space HeapSize
|
||||
.endif
|
||||
|
||||
#include "embedded_end_block.inc.S"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue