2023-10-16 14:26:16 -07:00
|
|
|
# Add missing memory region for peripherals.
|
|
|
|
|
|
|
|
def will_connect(board):
|
|
|
|
print("notice: adding peripheral memory map...");
|
|
|
|
|
2023-10-19 16:20:41 -07:00
|
|
|
# target.memory_map.add_region(DeviceRegion(
|
|
|
|
# name="Peripheral",
|
|
|
|
# start=0x40000000,
|
|
|
|
# length=0x20000000,
|
|
|
|
# access='rw'
|
|
|
|
# ))
|
|
|
|
|
2023-10-16 14:26:16 -07:00
|
|
|
target.memory_map.add_region(DeviceRegion(
|
|
|
|
name="PPB",
|
|
|
|
start=0xE0000000,
|
|
|
|
length=0x20000000,
|
|
|
|
access='rw'
|
|
|
|
))
|