mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-30 01:04:13 +01:00
5b85b0f661
* [SC64][SW] Added board bring-up via UART header * [SC64][SW] Made I2C in primer stable * [SC64][SW] LCMXO2 primer fixes * [SC64][SW] SC64 primer PC software * [SC64][SW] Added primer.py to release package * [SC64][SW] Fixed FPGA refresh * [SC64][SW] Changed release package contents
67 lines
1.3 KiB
Plaintext
67 lines
1.3 KiB
Plaintext
MEMORY {
|
|
code (rx) : org = 0x08000000, len = 4k
|
|
ram (rwx) : org = 0x20000000, len = 8k
|
|
}
|
|
|
|
ENTRY(Reset_Handler)
|
|
|
|
SECTIONS {
|
|
.isr_vector : {
|
|
. = ALIGN(4);
|
|
KEEP(*(.isr_vector))
|
|
. = ALIGN(4);
|
|
} > code
|
|
|
|
.startup : {
|
|
. = ALIGN(4);
|
|
*(.text.Reset_Handler)
|
|
. = ALIGN(4);
|
|
} > code
|
|
|
|
.text : {
|
|
_sitext = LOADADDR(.text);
|
|
. = ALIGN(4);
|
|
_stext = .;
|
|
*(.text)
|
|
*(.text*)
|
|
*(.glue_7)
|
|
*(.glue_7t)
|
|
. = ALIGN(4);
|
|
_etext = .;
|
|
} > ram AT > code
|
|
|
|
.bss : {
|
|
. = ALIGN(4);
|
|
_sbss = .;
|
|
*(.bss)
|
|
*(.bss*)
|
|
*(COMMON)
|
|
. = ALIGN(4);
|
|
_ebss = .;
|
|
} > ram
|
|
|
|
.data : {
|
|
_sidata = LOADADDR(.data);
|
|
. = ALIGN(4);
|
|
_sdata = .;
|
|
*(.data)
|
|
*(.data*)
|
|
. = ALIGN(4);
|
|
_edata = .;
|
|
} > ram AT > code
|
|
|
|
.rodata : {
|
|
_sirodata = LOADADDR(.rodata);
|
|
. = ALIGN(4);
|
|
_srodata = .;
|
|
*(.rodata)
|
|
*(.rodata*)
|
|
. = ALIGN(4);
|
|
_erodata = .;
|
|
} > ram AT > code
|
|
|
|
_app_header = ORIGIN(code) + LENGTH(code);
|
|
_app_magic = _app_header + 16;
|
|
_estack = ORIGIN(ram) + LENGTH(ram);
|
|
}
|