aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/lisa-m
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/f1/lisa-m')
-rw-r--r--examples/stm32/f1/lisa-m/fancyblink/Makefile2
-rw-r--r--examples/stm32/f1/lisa-m/lisa-m.ld (renamed from examples/stm32/f1/lisa-m/fancyblink/fancyblink.ld)3
-rw-r--r--examples/stm32/f1/lisa-m/usb_cdcacm/Makefile2
-rw-r--r--examples/stm32/f1/lisa-m/usb_cdcacm/cdcacm.ld31
-rw-r--r--examples/stm32/f1/lisa-m/usb_dfu/Makefile2
-rw-r--r--examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld29
-rw-r--r--examples/stm32/f1/lisa-m/usb_hid/Makefile2
-rw-r--r--examples/stm32/f1/lisa-m/usb_hid/usbhid.ld31
8 files changed, 10 insertions, 92 deletions
diff --git a/examples/stm32/f1/lisa-m/fancyblink/Makefile b/examples/stm32/f1/lisa-m/fancyblink/Makefile
index 1baec4d..52f5d95 100644
--- a/examples/stm32/f1/lisa-m/fancyblink/Makefile
+++ b/examples/stm32/f1/lisa-m/fancyblink/Makefile
@@ -19,5 +19,7 @@
BINARY = fancyblink
+LDSCRIPT = ../lisa-m.ld
+
include ../../Makefile.include
diff --git a/examples/stm32/f1/lisa-m/fancyblink/fancyblink.ld b/examples/stm32/f1/lisa-m/lisa-m.ld
index 3409b98..726d34a 100644
--- a/examples/stm32/f1/lisa-m/fancyblink/fancyblink.ld
+++ b/examples/stm32/f1/lisa-m/lisa-m.ld
@@ -17,7 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */
+/* Linker script for Lisa-M (STM32F103RBT6, 128K flash, 20K RAM). */
+/* TODO: Chip name and sizes correct? */
/* Define memory regions. */
MEMORY
diff --git a/examples/stm32/f1/lisa-m/usb_cdcacm/Makefile b/examples/stm32/f1/lisa-m/usb_cdcacm/Makefile
index 38179e3..a913f73 100644
--- a/examples/stm32/f1/lisa-m/usb_cdcacm/Makefile
+++ b/examples/stm32/f1/lisa-m/usb_cdcacm/Makefile
@@ -19,5 +19,7 @@
BINARY = cdcacm
+LDSCRIPT = ../lisa-m.ld
+
include ../../Makefile.include
diff --git a/examples/stm32/f1/lisa-m/usb_cdcacm/cdcacm.ld b/examples/stm32/f1/lisa-m/usb_cdcacm/cdcacm.ld
deleted file mode 100644
index d0df9e6..0000000
--- a/examples/stm32/f1/lisa-m/usb_cdcacm/cdcacm.ld
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * This file is part of the libopencm3 project.
- *
- * Copyright (C) 2010 Thomas Otto <tommi@viadmin.org>
- *
- * This program 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, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */
-
-/* Define memory regions. */
-MEMORY
-{
- rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
-}
-
-/* Include the common ld script. */
-INCLUDE libopencm3_stm32f1.ld
-
diff --git a/examples/stm32/f1/lisa-m/usb_dfu/Makefile b/examples/stm32/f1/lisa-m/usb_dfu/Makefile
index 48e2d6b..88ca7e5 100644
--- a/examples/stm32/f1/lisa-m/usb_dfu/Makefile
+++ b/examples/stm32/f1/lisa-m/usb_dfu/Makefile
@@ -19,5 +19,7 @@
BINARY = usbdfu
+LDSCRIPT = ../lisa-m.ld
+
include ../../Makefile.include
diff --git a/examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld b/examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld
deleted file mode 100644
index 6a01797..0000000
--- a/examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * This file is part of the libopencm3 project.
- *
- * Copyright (C) 2010 Thomas Otto <tommi@viadmin.org>
- *
- * This program 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, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/* Define memory regions. */
-MEMORY
-{
- rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
-}
-
-/* Include the common ld script. */
-INCLUDE libopencm3_stm32f1.ld
-
diff --git a/examples/stm32/f1/lisa-m/usb_hid/Makefile b/examples/stm32/f1/lisa-m/usb_hid/Makefile
index d831e9e..15d3391 100644
--- a/examples/stm32/f1/lisa-m/usb_hid/Makefile
+++ b/examples/stm32/f1/lisa-m/usb_hid/Makefile
@@ -19,5 +19,7 @@
BINARY = usbhid
+LDSCRIPT = ../lisa-m.ld
+
include ../../Makefile.include
diff --git a/examples/stm32/f1/lisa-m/usb_hid/usbhid.ld b/examples/stm32/f1/lisa-m/usb_hid/usbhid.ld
deleted file mode 100644
index d0df9e6..0000000
--- a/examples/stm32/f1/lisa-m/usb_hid/usbhid.ld
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * This file is part of the libopencm3 project.
- *
- * Copyright (C) 2010 Thomas Otto <tommi@viadmin.org>
- *
- * This program 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, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */
-
-/* Define memory regions. */
-MEMORY
-{
- rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
-}
-
-/* Include the common ld script. */
-INCLUDE libopencm3_stm32f1.ld
-