mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-28 23:09:46 +01:00
buildsystem: add target debug-client
This commit is contained in:
parent
375eae5ddd
commit
4e1ac37400
@ -895,6 +895,10 @@ debug: $(DEBUGDEPS)
|
||||
$(call check_cmd,$(DEBUGGER),Debug program)
|
||||
$(DEBUGGER) $(DEBUGGER_FLAGS)
|
||||
|
||||
debug-client:
|
||||
$(call check_cmd,$(DEBUGCLIENT),Debug client program)
|
||||
$(DEBUGCLIENT) $(DEBUGCLIENT_FLAGS)
|
||||
|
||||
debug-server:
|
||||
$(call check_cmd,$(DEBUGSERVER),Debug server program)
|
||||
$(DEBUGSERVER) $(DEBUGSERVER_FLAGS)
|
||||
|
1
dist/tools/buildsystem_sanity_check/check.sh
vendored
1
dist/tools/buildsystem_sanity_check/check.sh
vendored
@ -107,6 +107,7 @@ UNEXPORTED_VARIABLES+=('FLASHER' 'FFLAGS')
|
||||
UNEXPORTED_VARIABLES+=('RESET' 'RESETFLAGS')
|
||||
UNEXPORTED_VARIABLES+=('DEBUGGER' 'DEBUGGER_FLAGS')
|
||||
UNEXPORTED_VARIABLES+=('DEBUGSERVER' 'DEBUGSERVER_FLAGS')
|
||||
UNEXPORTED_VARIABLES+=('DEBUGCLIENT' 'DEBUGCLIENT_FLAGS')
|
||||
UNEXPORTED_VARIABLES+=('PREFLASHER' 'PREFFLAGS' 'FLASHDEPS')
|
||||
UNEXPORTED_VARIABLES+=('OPENOCD_DEBUG_ADAPTER' 'DEBUG_ADAPTER_ID')
|
||||
UNEXPORTED_VARIABLES+=('PROGRAMMER_SERIAL')
|
||||
|
@ -119,6 +119,9 @@ info-build:
|
||||
@echo 'DEBUGSERVER: $(DEBUGSERVER)'
|
||||
@echo 'DEBUGSERVER_FLAGS: $(DEBUGSERVER_FLAGS)'
|
||||
@echo ''
|
||||
@echo 'DEBUGCLIENT: $(DEBUGCLIENT)'
|
||||
@echo 'DEBUGCLIENT_FLAGS: $(DEBUGCLIENT_FLAGS)'
|
||||
@echo ''
|
||||
@echo 'RESET: $(RESET)'
|
||||
@echo 'RESET_FLAGS: $(RESET_FLAGS)'
|
||||
@echo ''
|
||||
|
@ -110,6 +110,8 @@ export HEXFILE # The 'intel hex' stripped result of the compilatio
|
||||
# DEBUGGER_FLAGS # The parameters to supply to DEBUGGER.
|
||||
# DEBUGSERVER # The command to call on "make debug-server", usually a script starting the GDB server.
|
||||
# DEBUGSERVER_FLAGS # The parameters to supply to DEBUGSERVER.
|
||||
# DEBUGCLIENT # The command to call on "make debug-client", usually a script starting the GDB client.
|
||||
# DEBUGCLIENT_FLAGS # The parameters to supply to DEBUGCLIENT.
|
||||
# DEVELHELP # Set to 1 to spend ROM, RAM and CPU time for help during development (e.g. enable asserts())
|
||||
# RESET # The command to call on "make reset", this command resets/reboots the target.
|
||||
# RESET_FLAGS # The parameters to supply to RESET.
|
||||
|
Loading…
Reference in New Issue
Block a user