mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
455 B
16 lines
455 B
|
|
/* Memory map:
|
|
* https://github.com/qemu/qemu/blob/master/hw/riscv/virt.c
|
|
* RAM and flash are set to 1MB each. That should be enough for the foreseeable
|
|
* future. QEMU does not seem to limit the flash/RAM size and in fact doesn't
|
|
* seem to differentiate between it.
|
|
*/
|
|
MEMORY
|
|
{
|
|
FLASH_TEXT (rw) : ORIGIN = 0x80000000, LENGTH = 0x100000
|
|
RAM (xrw) : ORIGIN = 0x80100000, LENGTH = 0x100000
|
|
}
|
|
|
|
_stack_size = 2K;
|
|
|
|
INCLUDE "targets/riscv.ld"
|
|
|