You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lest assume we have Peripheral_1 and Peripheral_2
Both peripherals are in the same namespace Antmicro.Renode.Peripherals.Miscellaneous
In datasheet Peripheral_1 use value that is set in Peripheral_2
I want to access Peripheral_2 within Peripheral_1
I use Include method in .resc file to compile my peripherals written in c#
tried to provide Peripheral_2 object in Peripheral_1 constructor, but renode throw error:
The type or namespace name 'Peripheral_2' could not be found. Are you missing an assembly reference?
Used BUS.ReadByte but this will trigger Read from peripheral, so it's not ideal solution
My questions:
Is there a way to provide renode with names/types while using JIT compile?
If no, is there a way to reference to value from other peripheral?
The text was updated successfully, but these errors were encountered:
Lest assume we have
Peripheral_1
andPeripheral_2
Both peripherals are in the same namespace
Antmicro.Renode.Peripherals.Miscellaneous
In datasheet
Peripheral_1
use value that is set inPeripheral_2
I want to access
Peripheral_2
withinPeripheral_1
I use
Include
method in.resc
file to compile my peripherals written in c#Peripheral_2
object inPeripheral_1
constructor, but renode throw error:BUS.ReadByte
but this will trigger Read from peripheral, so it's not ideal solutionMy questions:
The text was updated successfully, but these errors were encountered: