How to use SEGGER RTT view - no IDE
Hi,
我想妈ke SEGGER RTT work. I'm using CMake to compile my application on Ubuntu.
I added `#include SEGGER_RTT.h` to `main.c`. In main() I call `SEGGER_RTT_Init()` and then I just do a while loop with `SEGGER_RTT_WriteString(0, "HELLO \n");`
In my `custom_config_qspi.h` I added `#define CONFIG_RTT 1`.
I also added the SEGGER_RTT.c and SEGGER_RTT_printf.c and SEGGER headers.
This is what I do:
- Build and flash my DA14681 microcontroller
- Grep from memory map the address of _SEGGER_RTT