qemu-arm: Add license and copyright to files missing them.
All of these files are first-party code written from scratch as part of
this repository, and were added when the top-level MIT license was active,
so they have an MIT license by default. Tracing back the git history show
the original authors/source/copyright as follows:
- main.c, mpconfigport.h: copied from the bare-arm port [1].
- test_main.c: added in [2].
- mphalport.h: added in [3] then updated in [4].
- mps2.ld, nrf51.ld, stm32.ld, uart.h: added in [4].
- imx6.ld, uart.c, startup.c: added in [4] and updated in [5].
[1] Commit c55721582282f282d33e35e458a2944890210ebc in 2014, the initial
bare-arm port; see related ee857853d60a135685c5088e5492dfe6e8a5acb0.
[2] Commit c1c32d65af038ba1b2a2a8dd69e3f7e63eac5f3e in 2014, initial
qemu-arm CI tests.
[3] Commit b0a15aa73540f82ef47c9492af7ce196d1b1a6e9 in 2016, enabling
extmods and their tests.
[4] Commit e7332b05841549a41614e522285639dcaa7bd526 in 2018, big refactor.
[5] Commit b84406f3133a36a703a1506d754fc046dd955922 in 2021, adding
Cortex-A9 support.
Signed-off-by: Damien George <damien@micropython.org>
2024-06-11 12:13:37 +10:00
|
|
|
/* This file is part of the MicroPython project, http://micropython.org/
|
|
|
|
|
* The MIT License (MIT)
|
|
|
|
|
* Copyright (c) 2018 Damien P. George
|
|
|
|
|
*/
|
|
|
|
|
|
2018-09-24 12:09:28 +10:00
|
|
|
MEMORY
|
|
|
|
|
{
|
|
|
|
|
ROM : ORIGIN = 0x00000000, LENGTH = 1M
|
|
|
|
|
RAM : ORIGIN = 0x20000000, LENGTH = 128K
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_estack = ORIGIN(RAM) + LENGTH(RAM);
|
|
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
|
{
|
|
|
|
|
.text : {
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
KEEP(*(.isr_vector))
|
|
|
|
|
*(.text*)
|
|
|
|
|
*(.rodata*)
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
_etext = .;
|
|
|
|
|
_sidata = _etext;
|
|
|
|
|
} > ROM
|
|
|
|
|
|
|
|
|
|
.data : AT ( _sidata )
|
|
|
|
|
{
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
_sdata = .;
|
|
|
|
|
*(.data*)
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
_edata = .;
|
|
|
|
|
} >RAM
|
|
|
|
|
|
|
|
|
|
.bss :
|
|
|
|
|
{
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
_sbss = .;
|
|
|
|
|
*(.bss*)
|
|
|
|
|
*(COMMON)
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
_ebss = .;
|
|
|
|
|
} >RAM
|
|
|
|
|
}
|