/* * STM32L010x4 Linkerscript * Copyright (C) 2023 Mario Huettel * * 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 . * -------------------------------------------------------------------- */ #include void main(void) { int on_stack = 0x1234; static int data = 0xabcd; static int bss; while (1); }