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:
true 2023-10-21 07:53:25 -07:00
parent d6c1ec4c42
commit a048921c54
3 changed files with 7 additions and 9 deletions

View File

@ -31,8 +31,6 @@ MEMORY
{ {
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 4K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 4K
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 32K FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 32K
PERIPHERAL (rw): ORIGIN = 0x40000000, LENGTH = 512M
PPB (rw) : ORIGIN = 0xe0000000, LENGTH = 512M
} }
/* Define output sections */ /* Define output sections */

View File

@ -1,4 +1,4 @@
pack: pack:
- boards/pack/Puya.PY32F0xx_DFP.1.1.3a.pack - boards/pack/Puya.PY32F0xx_DFP.1.1.3.pack
script: pyocd_user.py script: pyocd_user.py

View File

@ -3,12 +3,12 @@
def will_connect(board): def will_connect(board):
print("notice: adding peripheral memory map..."); print("notice: adding peripheral memory map...");
# target.memory_map.add_region(DeviceRegion( target.memory_map.add_region(DeviceRegion(
# name="Peripheral", name="Peripheral",
# start=0x40000000, start=0x40000000,
# length=0x20000000, length=0x20000000,
# access='rw' access='rw'
# )) ))
target.memory_map.add_region(DeviceRegion( target.memory_map.add_region(DeviceRegion(
name="PPB", name="PPB",