2016-03-05 22:31:13 +01:00
|
|
|
USEMODULE += x86-multiboot-common
|
2014-01-16 07:39:33 +01:00
|
|
|
|
|
|
|
CFLAGS += -march=i686 -mtune=i686
|
|
|
|
|
2014-12-12 11:01:03 +01:00
|
|
|
TERMPROG = exec $(RIOTBOARD)/qemu-i386/dist/term.py qemu-system-i386 $(BINDIRBASE) $(HEXFILE)
|
2014-05-31 00:13:41 +02:00
|
|
|
|
2014-01-16 07:39:33 +01:00
|
|
|
FLASHER = true
|
2014-05-31 00:13:41 +02:00
|
|
|
|
|
|
|
DEBUGGER = $(TERMPROG)
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
|
|
|
debug-kdbg: DEBUGGER_FLAGS="kdbg -r :1234 -- $(ELFFILE)"
|
|
|
|
debug-kdbg: debug
|
|
|
|
|
|
|
|
debug-ddd: DEBUGGER_FLAGS="ddd --eval-command='target remote :1234' $(ELFFILE)"
|
|
|
|
debug-ddd: debug
|
|
|
|
|
|
|
|
debug-tui: DEBUGGER_FLAGS="x-terminal-emulator -e gdb -ex 'target remote :1234' -tui --args $(ELFFILE)"
|
|
|
|
debug-tui: debug
|
|
|
|
|
|
|
|
debug-gdb: debug
|
|
|
|
DEBUGGER_FLAGS = "x-terminal-emulator -e gdb -ex 'target remote :1234' --args $(ELFFILE)"
|
|
|
|
|
2014-06-07 03:13:55 +02:00
|
|
|
debug:
|
2016-03-05 22:31:13 +01:00
|
|
|
|
|
|
|
include $(RIOTBOARD)/x86-multiboot-common/Makefile.include
|