[riot-notifications] [RIOT-OS/RIOT] boards/stm32f4discovery: Add initial renode support (#15473)

Alexandre Abadie notifications at github.com
Tue Jan 5 14:39:26 CET 2021


@aabadie requested changes on this pull request.

A rebase + small changes are needed to make this PR compatible with the recent emulator support refactorings.

> +# setup emulator
+include $(RIOTMAKE)/tools/renode.inc.mk
+

Not needed, the emulator is included in Makefile.include:

https://github.com/RIOT-OS/RIOT/blob/8aae7f165f24b23d0afffb560f761cf42af6c329/Makefile.include#L400-L405

```suggestion
```

> +$name?="STM32F4_Discovery"
+mach create $name
+machine LoadPlatformDescription @platforms/boards/stm32f4_discovery-kit.repl
+
+cpu PerformanceInMips 125
+
+showAnalyzer sysbus.uart2
+
+
+macro reset
+"""
+    sysbus LoadELF $image_file
+"""
+
+runMacro $reset
+start

With the recent renode refactoring, the `start` command is handled directly by the build system, so no need to call it here:

```suggestion
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15473#pullrequestreview-561791694
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210105/2a4345f1/attachment.htm>


More information about the notifications mailing list