Skip to content

Commit

Permalink
stm32 discovery: use built in files
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Mar 21, 2024
1 parent 49f9a09 commit 446b713
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions tockloader/board_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,7 @@ class BoardInterface:
"page_size": 2048,
"no_attribute_table": True,
"openocd": {
"prefix": 'interface hla; \
hla_layout stlink; \
hla_device_desc "ST-LINK/V2-1"; \
hla_vid_pid 0x0483 0x374b; \
set WORKAREASIZE 0xC000; \
source [find target/stm32f3x.cfg];',
"cfg": "stm32f3discovery.cfg",
},
},
"stm32f4discovery": {
Expand All @@ -194,12 +189,7 @@ class BoardInterface:
"page_size": 2048,
"no_attribute_table": True,
"openocd": {
"prefix": 'interface hla; \
hla_layout stlink; \
hla_device_desc "ST-LINK/V2-1"; \
hla_vid_pid 0x0483 0x374b; \
set WORKAREASIZE 0x40000; \
source [find target/stm32f4x.cfg];',
"cfg": "stm32f4discovery.cfg",
},
},
"nucleof4": {
Expand Down

0 comments on commit 446b713

Please sign in to comment.