[riot-notifications] [RIOT-OS/RIOT] tools/renode: refactor integration + add debugger support (#15490)

Alexandre Abadie notifications at github.com
Sun Nov 22 11:18:25 CET 2020

I found some interaction problems between this PR and existing programmers so I had to rebase on top of #15475 and provide some adaptation: in master the programmer management code is included unconditionally and programmers also define the `DEBUGGER*`/`DEBUGSERVER*` that are used by the renode emulator. And since programmer makefile is included before emulator makefile code, the variable are already defined.
With cc2538dk this is not really a problem because the cc2538-bsl doesn't provide these variables but for other boards (stm32f4discovery for example) `emulate debug` won't work.
This PR also now contains 4ed2215 because emulator makefile is included before programmer makefiles and the `DEBUGGER*`/`DEBUGSERVER*` shouldn't be redefined by programmers if already defined by the emulator.

In the end, there are lots of changes required in the build system to be able to have a nice integration of `emulate debug`. But I think they are useful and are enforcing cleaner things.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201122/4223fea3/attachment-0001.htm>

More information about the notifications mailing list