mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-14 17:13:50 +01:00
boards/stm32f4discovery: Add initial renode support
This commit is contained in:
parent
4bcf908176
commit
67ef7e25e6
19
boards/stm32f4discovery/dist/board.resc
vendored
Normal file
19
boards/stm32f4discovery/dist/board.resc
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
:name: STM32F4 Discovery
|
||||
:description: This script runs the stm32f4_discovery on RIOT.
|
||||
|
||||
using sysbus
|
||||
$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
|
||||
@ -166,6 +166,15 @@ The board is now flashed with your RIOT binary
|
||||
- **PA2** is connected with **RX** on the UART converter
|
||||
2. done
|
||||
|
||||
# Emulator
|
||||
|
||||
To emulate this board you need an updated version of
|
||||
[renode](https://github.com/renode/renode) installed, at least version 1.11.
|
||||
|
||||
```
|
||||
BOARD=stm32f4discovery make all emulate
|
||||
```
|
||||
|
||||
## Known Issues / Problems
|
||||
|
||||
### I2C
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user