diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-02-01 01:03:25 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-02-18 15:29:56 +0100 |
commit | a3f0fb062048c52c3f04e907f0107e1db9b6141c (patch) | |
tree | 07531f53a38f8b5440f3f48c6ff21e945cb506c9 /etc | |
download | ntw-a3f0fb062048c52c3f04e907f0107e1db9b6141c.tar.gz ntw-a3f0fb062048c52c3f04e907f0107e1db9b6141c.tar.bz2 |
Initial commit
Diffstat (limited to 'etc')
-rw-r--r-- | etc/debug.gdb | 16 | ||||
-rw-r--r-- | etc/memory.x | 10 | ||||
-rw-r--r-- | etc/openocd.cfg | 5 |
3 files changed, 31 insertions, 0 deletions
diff --git a/etc/debug.gdb b/etc/debug.gdb new file mode 100644 index 0000000..3599638 --- /dev/null +++ b/etc/debug.gdb @@ -0,0 +1,16 @@ +# Copyright 2019 Robin Krahl <robin.krahl@ireas.org> +# SPDX-License-Identifier: CC0-1.0 + +target extended-remote :3333 + +set print asm-demangle on + +break DefaultHandler +break HardFault +break rust_begin_unwind + +monitor arm semihosting enable + +load + +stepi diff --git a/etc/memory.x b/etc/memory.x new file mode 100644 index 0000000..6a430dc --- /dev/null +++ b/etc/memory.x @@ -0,0 +1,10 @@ +/* + * Copyright 2019 Robin Krahl <robin.krahl@ireas.org> + * SPDX-License-Identifier: CC0-1.0 + */ + +MEMORY +{ + FLASH : ORIGIN = 0x08000000, LENGTH = 128K + RAM : ORIGIN = 0x20000000, LENGTH = 20K +} diff --git a/etc/openocd.cfg b/etc/openocd.cfg new file mode 100644 index 0000000..731cf7e --- /dev/null +++ b/etc/openocd.cfg @@ -0,0 +1,5 @@ +# Copyright 2019 Robin Krahl <robin.krahl@ireas.org> +# SPDX-License-Identifier: CC0-1.0 + +source [find interface/stlink-v2.cfg] +source [find target/stm32f1x.cfg] |