Use vendor pack
Now that debug is working, we can use the vendor provided pack instead of a custom one.
This commit is contained in:
parent
d6c1ec4c42
commit
a048921c54
|
@ -31,8 +31,6 @@ MEMORY
|
|||
{
|
||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 4K
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 32K
|
||||
PERIPHERAL (rw): ORIGIN = 0x40000000, LENGTH = 512M
|
||||
PPB (rw) : ORIGIN = 0xe0000000, LENGTH = 512M
|
||||
}
|
||||
|
||||
/* Define output sections */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
pack:
|
||||
- boards/pack/Puya.PY32F0xx_DFP.1.1.3a.pack
|
||||
- boards/pack/Puya.PY32F0xx_DFP.1.1.3.pack
|
||||
|
||||
script: pyocd_user.py
|
|
@ -3,12 +3,12 @@
|
|||
def will_connect(board):
|
||||
print("notice: adding peripheral memory map...");
|
||||
|
||||
# target.memory_map.add_region(DeviceRegion(
|
||||
# name="Peripheral",
|
||||
# start=0x40000000,
|
||||
# length=0x20000000,
|
||||
# access='rw'
|
||||
# ))
|
||||
target.memory_map.add_region(DeviceRegion(
|
||||
name="Peripheral",
|
||||
start=0x40000000,
|
||||
length=0x20000000,
|
||||
access='rw'
|
||||
))
|
||||
|
||||
target.memory_map.add_region(DeviceRegion(
|
||||
name="PPB",
|
||||
|
|
Loading…
Reference in New Issue