mirror of https://github.com/ericonr/dotfiles.git
30 lines
456 B
Plaintext
30 lines
456 B
Plaintext
# funcionalidade basica
|
|
|
|
set history save
|
|
set history size 1000
|
|
|
|
# funcoes para facilitar o uso do arm-none-eabi-gdb
|
|
|
|
# sequencia inicial
|
|
define rst
|
|
monitor reset halt
|
|
tb main
|
|
continue
|
|
end
|
|
|
|
# essa eh necessaria com a STM32F4 para programar
|
|
define mrh
|
|
monitor reset halt
|
|
end
|
|
|
|
# para conectar ao microcontrolador
|
|
define loco
|
|
target extended-remote localhost:3333
|
|
end
|
|
|
|
define semihosting
|
|
monitor arm semihosting enable
|
|
end
|
|
|
|
source /usr/share/gef/gef.py
|