31 lines
923 B
C
31 lines
923 B
C
/*
|
|
* STM32L010x4 Linkerscript
|
|
* Copyright (C) 2023 Mario Huettel <mario.huettel@linux.com>
|
|
*
|
|
* This file is part of 'STM32L010x4 code template'.
|
|
*
|
|
* It is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, version 2 of the License.
|
|
*
|
|
* This code is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this template. If not, see <http://www.gnu.org/licenses/>.
|
|
* --------------------------------------------------------------------
|
|
*/
|
|
|
|
#include <stm32l0xx.h>
|
|
|
|
void main(void)
|
|
{
|
|
int on_stack = 0x1234;
|
|
static int data = 0xabcd;
|
|
static int bss;
|
|
|
|
while (1);
|
|
}
|