2021-10-25 15:03:50 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2021 Freie Universität Berlin
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
/* Populate information about rom size */
|
|
|
|
_srom = ORIGIN(ROM);
|
|
|
|
_erom = ORIGIN(ROM) + LENGTH(ROM);
|
|
|
|
|
2022-03-07 11:24:39 +01:00
|
|
|
.flash_writable (NOLOAD) : {
|
|
|
|
KEEP(*(SORT(.flash_writable.*)))
|
|
|
|
} > ROM
|
|
|
|
|
2021-10-25 15:03:50 +02:00
|
|
|
.end_fw (NOLOAD) : ALIGN(4) {
|
|
|
|
_end_fw = . ;
|
|
|
|
} > ROM
|
|
|
|
}
|
2023-06-14 16:18:15 +02:00
|
|
|
|
|
|
|
/* provide address for register maps by taking the address of the first
|
|
|
|
* register (as provided by the vendor files) */
|
|
|
|
|
2023-12-06 20:33:41 +01:00
|
|
|
PROVIDE(PORT_1 = P1IN);
|
|
|
|
PROVIDE(PORT_2 = P2IN);
|
|
|
|
PROVIDE(PORT_3 = P3IN);
|
|
|
|
PROVIDE(PORT_3 = P3IN);
|
|
|
|
PROVIDE(PORT_4 = P4IN);
|
|
|
|
PROVIDE(PORT_5 = P5IN);
|
|
|
|
PROVIDE(PORT_6 = P6IN);
|
2023-06-14 16:18:15 +02:00
|
|
|
|
2023-12-06 20:33:41 +01:00
|
|
|
PROVIDE(TIMER_A = TACTL);
|
|
|
|
PROVIDE(TIMER_B = TBCTL);
|
|
|
|
PROVIDE(TIMER_A_IRQFLAGS = TAIV);
|
|
|
|
PROVIDE(TIMER_B_IRQFLAGS = TBIV);
|