mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
emulation: check in newly-minted i2c drivers
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
a0cc1e2f24
commit
24fbdd9c48
2 changed files with 13 additions and 7 deletions
|
|
@ -32,7 +32,8 @@ memlcd: Video.BetrustedLCD @ sysbus 0xf000c000
|
|||
|
||||
// Unrecognized peripheral: com
|
||||
|
||||
// Unrecognized peripheral: i2c
|
||||
i2c: I2C.BetrustedI2C @ sysbus 0xf000e000
|
||||
-> cpu @ 1006
|
||||
|
||||
// Unrecognized peripheral: btevents
|
||||
|
||||
|
|
@ -113,6 +114,8 @@ engine: Memory.MappedMemory @ sysbus 0xe0020000
|
|||
|
||||
|
||||
|
||||
abracom_rtc: Sensors.ABRTCMC @ i2c 0x68
|
||||
|
||||
sysbus:
|
||||
init:
|
||||
ApplySVD @soc/renode.svd
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ using sysbus
|
|||
|
||||
# Add peripherals that are defined in C#. You must restart Renode
|
||||
# if you modify these files.
|
||||
i @peripherals/ABRTCMC.cs
|
||||
i @peripherals/BetrustedI2C.cs
|
||||
i @peripherals/keyboard.cs
|
||||
i @peripherals/LiteX_Timer_32.cs
|
||||
i @peripherals/memlcd.cs
|
||||
|
|
@ -27,14 +29,15 @@ showAnalyzer memlcd
|
|||
|
||||
sysbus Tag <0xB0000000, 0xB0006000> "Framebuffer"
|
||||
|
||||
# Silence WDT
|
||||
sysbus SilenceRange <0xF001F000, 0xF001FFFF>
|
||||
|
||||
# Silence I2C
|
||||
sysbus SilenceRange <0xF000D000, 0xF000DFFF>
|
||||
|
||||
# logLevel -1 keyboard
|
||||
# logLevel -1 ticktimer
|
||||
logLevel -1 i2c
|
||||
logLevel -1 abracom_rtc
|
||||
|
||||
# Silence COM and WDT and WFI
|
||||
sysbus SilenceRange <0xF000D000, 0xF000DFFF>
|
||||
sysbus SilenceRange <0xF0021000, 0xF0021FFF>
|
||||
sysbus SilenceRange <0xF0023000, 0xF0023FFF>
|
||||
|
||||
# The macro `reset` gets called implicitly when running `machine Reset`
|
||||
macro reset
|
||||
|
|
|
|||
Loading…
Reference in a new issue