Skip to content

Commit b5858b2

Browse files
committed
Allow non-sequential properties list
1 parent 128d7dc commit b5858b2

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

.licenses/go/github.com/arduino/go-properties-orderedmap.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/arduino/go-properties-orderedmap
3-
version: v1.7.1
3+
version: v1.8.0
44
type: go
55
summary: Package properties is a library for handling maps of hierarchical properties.
66
homepage: https://pkg.go.dev/github.com/arduino/go-properties-orderedmap

docs/platform-specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ OpenOCD server specific configurations:
13611361

13621362
- `debug.server.openocd.path`: is the absolute path to the OpenOCD directory
13631363
- `debug.server.openocd.scripts_dir`: is the absolute path to the OpenOCD scripts directory
1364-
- `debug.server.openocd.scripts.N`: is a list of OpenOCD scripts to run (where N is a number starting from 0)
1364+
- `debug.server.openocd.scripts.N`: is a list of OpenOCD scripts to run, where N is a number (a numbers sequence of non-consecutive numbers is allowed)
13651365

13661366
### Custom config for Cortext-debug plugin for Arduino IDE
13671367

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ replace github.com/mailru/easyjson => github.com/cmaglie/easyjson v0.8.1
88
require (
99
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371
1010
github.com/arduino/go-paths-helper v1.9.0
11-
github.com/arduino/go-properties-orderedmap v1.7.1
11+
github.com/arduino/go-properties-orderedmap v1.8.0
1212
github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b
1313
github.com/arduino/go-win32-utils v1.0.0
1414
github.com/cmaglie/pb v1.0.27

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kd
4949
github.com/arduino/go-paths-helper v1.0.1/go.mod h1:HpxtKph+g238EJHq4geEPv9p+gl3v5YYu35Yb+w31Ck=
5050
github.com/arduino/go-paths-helper v1.9.0 h1:IjWhDSF24n5bK/30NyApmzoVH9brWzc52KNPpBsRmMc=
5151
github.com/arduino/go-paths-helper v1.9.0/go.mod h1:V82BWgAAp4IbmlybxQdk9Bpkz8M4Qyx+RAFKaG9NuvU=
52-
github.com/arduino/go-properties-orderedmap v1.7.1 h1:HQ9Pn/mk3+XyfrE39EEvaZwJkrvgiVSY5Oq3JSEfOR4=
53-
github.com/arduino/go-properties-orderedmap v1.7.1/go.mod h1:DKjD2VXY/NZmlingh4lSFMEYCVubfeArCsGPGDwb2yk=
52+
github.com/arduino/go-properties-orderedmap v1.8.0 h1:wEfa6hHdpezrVOh787OmClsf/Kd8qB+zE3P2Xbrn0CQ=
53+
github.com/arduino/go-properties-orderedmap v1.8.0/go.mod h1:DKjD2VXY/NZmlingh4lSFMEYCVubfeArCsGPGDwb2yk=
5454
github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b h1:9hDi4F2st6dbLC3y4i02zFT5quS4X6iioWifGlVwfy4=
5555
github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b/go.mod h1:uwGy5PpN4lqW97FiLnbcx+xx8jly5YuPMJWfVwwjJiQ=
5656
github.com/arduino/go-win32-utils v1.0.0 h1:/cXB86sOJxOsCHP7sQmXGLkdValwJt56mIwOHYxgQjQ=

internal/integrationtest/debug/debug_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ func testAllDebugInformation(t *testing.T, env *integrationtest.Environment, cli
128128
"scripts": [
129129
"first",
130130
"second",
131-
"third"
131+
"third",
132+
"fourth"
132133
]
133134
},
134135
"svd_file": "svd-file",
@@ -169,7 +170,8 @@ func testAllDebugInformation(t *testing.T, env *integrationtest.Environment, cli
169170
"scripts": [
170171
"first",
171172
"second",
172-
"cold_ice_script"
173+
"cold_ice_script",
174+
"fourth"
173175
]
174176
},
175177
"svd_file": "svd-file",

internal/integrationtest/debug/testdata/hardware/my/samd/boards.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ my.debug.server.openocd.script=
3333
my.debug.server.openocd.scripts.0=first
3434
my.debug.server.openocd.scripts.1=second
3535
my.debug.server.openocd.scripts.2=third
36+
my.debug.server.openocd.scripts.5=fourth
3637
my.debug.cortex-debug.custom.postAttachCommands.0=set remote hardware-watchpoint-limit 2
3738
my.debug.cortex-debug.custom.postAttachCommands.1=monitor reset halt
3839
my.debug.cortex-debug.custom.postAttachCommands.2=monitor gdb_sync

0 commit comments

Comments
 (0)