mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[ion] Discard un-needed sections in DFU linker script.
Change-Id: I1c1c44675a5c1849dc4270673d305abc82d29c48
This commit is contained in:
@@ -38,5 +38,13 @@ SECTIONS {
|
||||
*(.rodata.*)
|
||||
} >RAM_BUFFER
|
||||
|
||||
/* For now, we do not need .bss and .data sections. */
|
||||
/DISCARD/ : {
|
||||
/* For now, we do not need .bss and .data sections. This allows us to simply
|
||||
* skip any rt0-style initialization and jump straight into the PollAndReset
|
||||
* routine. */
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(.data)
|
||||
*(.data.*)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user