@ -36,3 +36,9 @@ all: libopencm3 $(NAME).bin
%.bin: %.elf
$(OBJCOPY) $< -O binary $@
gdb:
arm-none-eabi-gdb -ex 'target extended-remote :3333' $(NAME).elf
oocd:
openocd -f /usr/share/openocd/scripts/interface/stlink.cfg -f /usr/share/openocd/scripts/target/stm32f4x.cfg