Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asterix-vla-dvb2 RTT debug support #144

Open
wants to merge 3 commits into
base: alicegrey/asterix_vla_dvb2
Choose a base branch
from

Conversation

crc-32
Copy link
Member

@crc-32 crc-32 commented Feb 20, 2021

./Utilities/openocd_rtt.sh asterix_vla_dvb2 starts the debugger with RTT commands prepared
rtt_init to start the server (run after reset halt but before resuming to get log from boot)
rtt_reset to restart the server (requires reconnecting to port, but is intended for getting logs from boot again after a reset halt as buffer doesn't flush otherwise)

@@ -47,6 +47,9 @@ PLATFORMS += asterix_vla_dvb1
CFLAGS_asterix_vla_dvb2 = $(CFLAGS_asterix_common)
CFLAGS_asterix_vla_dvb2 += $(CFLAGS_driver_nrf52_ls013b7dh05)
SRCS_asterix_vla_dvb2 = $(SRCS_asterix_common)
SRCS_asterix_vla_dvb2 += external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c
SRCS_asterix_vla_dvb2 += external/segger_rtt/SEGGER_RTT.c
SRCS_asterix_vla_dvb2 += external/segger_rtt/SEGGER_RTT_printf.c
SRCS_asterix_vla_dvb2 += $(SRCS_driver_nrf52_ls013b7dh05)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs to be removed as we've moved it to asterix_common

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants