Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-11-07,master
commit 4efa417e2839b5fefe5166b9ccabfc87e5f7e115 Author: Sven Eckelmann sven@narfation.org Date: Mon Oct 14 11:36:31 2019 +0000
doc: open-mesh/Kernel_debugging_with_kgdb
4efa417e2839b5fefe5166b9ccabfc87e5f7e115 open-mesh/Kernel_debugging_with_kgdb.textile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/open-mesh/Kernel_debugging_with_kgdb.textile b/open-mesh/Kernel_debugging_with_kgdb.textile index 72d943b..e4573ba 100644 --- a/open-mesh/Kernel_debugging_with_kgdb.textile +++ b/open-mesh/Kernel_debugging_with_kgdb.textile @@ -330,12 +330,12 @@ We will only demonstrate this here for GPIO 12 with GPIO_SET/GPIO_CLEAR.
<pre> # check where 0x18040000 is mapped to -(gdb) display ath79_gpio_base -8: ath79_gpio_base = (void *) 0xb8040000 +(gdb) print ath79_gpio_base +$1 = (void *) 0xb8040000
# set GPIO 12 to low -set {uint32_t}0xb8040010 = 0x00001000 +(gdb) set {uint32_t}0xb8040010 = 0x00001000
# set GPIO 12 to high -set {uint32_t}0xb804000C = 0x00001000 +(gdb) set {uint32_t}0xb804000C = 0x00001000 </pre> \ No newline at end of file