mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
builder: sizes: list interrupt vector as a pseudo-package for -size=full
This is another bit of memory that is now correctly accounted for in `-size=full`.
This commit is contained in:
committed by
Ron Evans
parent
de281191e0
commit
ea97c60959
@@ -1422,6 +1422,9 @@ __isr_vector:
|
||||
for _, intr := range device.Interrupts {
|
||||
fmt.Fprintf(w, " IRQ %s_IRQHandler\n", intr.Name)
|
||||
}
|
||||
w.WriteString(`
|
||||
.size __isr_vector, .-__isr_vector
|
||||
`)
|
||||
return w.Flush()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user