Skip to content

Support files to enable support of nrf52840 flash peripheral

License

Notifications You must be signed in to change notification settings

vChavezB/renode-nrf52840_flash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Renode NRF52840 Flash support

License: GPL v3

This repository contains support files for simulating the internal flash of the NRF52840 SoC with Renode (>=1.15.2).

The peripherals that are contained in this repository are:

Usage

CLI (Monitor) /Renode script (.resc)

include @https://raw.githubusercontent.com/vChavezB/renode-nrf52840_flash/refs/hea
ds/main/nrf52840_nvcm.cs
mach add "my_machine"
machine LoadPlatformDescription @platforms/cpus/nrf52840.repl
machine LoadPlatformDescription @https://raw.githubusercontent.com/vChavezB/renode
-nrf52840_flash/refs/heads/main/nrf52840_flash.repl

Pyrenode3

from pyrenode3.wrappers import Emulation, Monitor
repo = "https://raw.githubusercontent.com/vChavezB/renode-nrf52840_flash/refs/heads/main"
e = Emulation()
m = Monitor()
res = m.Parse(f"include @{repo}/nrf52840_nvcm.cs")
device = e.add_mach("nrf")
device.load_repl("platforms/cpus/nrf52840.repl")
device.load_repl(f"{repo}/nrf52840_flash.repl")

About

Support files to enable support of nrf52840 flash peripheral

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors