aboutsummaryrefslogtreecommitdiffstats
path: root/support/gdb/gpio.gdb
blob: 4376cfde8c7323dd36f5cabd2b38d3564131d306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
set print pretty on

print "GPIOA registers:"
p/x *GPIOA->regs
print "GPIOB registers:"
p/x *GPIOB->regs
print "GPIOC registers:"
p/x *GPIOC->regs
print "GPIOD registers:"
p/x *GPIOD->regs
print "AFIO registers:"
p/x *(struct afio_reg_map*)0x40010000