synth/mbv/apps/fromddr.ld
Paul Mathieu fa6ae7b667 mbv: now with DDR! and a wozmon
We have access to 256 MiB of fresh DDR3.
Isn't that great?

prog.py is a bit opinionated for now:
- tty is /dev/ttyUSB1
- writing programs to DDR
2025-06-08 23:11:04 -07:00

44 lines
650 B
Plaintext

MEMORY
{
/* RAM (rwx) : ORIGIN = 0x00000800, LENGTH = 14336 */
RAM (rwx) : ORIGIN = 0x80000000, LENGTH = 0x10000000
}
_vector_table = 0x0;
SECTIONS
{
.text :
{
_text_begin = .;
KEEP(*(.start))
*(.text*)
_text_end = .;
*(.rodata*)
} > RAM
.bss (NOLOAD) :
{
_bss_begin = .;
*(.bss*)
*(COMMON)
_bss_end = .;
} > RAM
.data :
{
*(.data*)
__exidx_start = .;
*(.exidx*)
__exidx_end = .;
} > RAM
_heap_begin = .;
_initial_stack_pointer = 16384;
_heap_end = _initial_stack_pointer - 1024;
}