Skip to content

Commit 666f37a

Browse files
Implement the plugin commands (#3)
1 parent 7ef28a8 commit 666f37a

File tree

40 files changed

+5305
-142
lines changed

40 files changed

+5305
-142
lines changed

.gitignore

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,19 @@ venv
4343
__debug_bin
4444

4545
# build sketches files
46-
/sketches/commands/build/**/*.elf
47-
/sketches/commands/build/**/*.hex
48-
/sketches/commands/build/**/*.map
49-
/sketches/commands/build/**/*.uf2
50-
/sketches/commands/build/**/*.eep
51-
/sketches/commands/build/**/*bootloader.bin
46+
47+
sketches/commands/build/**/*.hex
48+
sketches/commands/build/**/*.elf
49+
sketches/commands/build/**/*.map
50+
sketches/commands/build/**/*.uf2
51+
sketches/commands/build/**/*.eep
52+
sketches/commands/build/**/*bootloader.bin
53+
54+
sketches/commands/build/arduino.mbed_nano.nanorp2040connect/*.bin
55+
!sketches/commands/build/arduino.mbed_nano.nanorp2040connect/commands.ino.elf
56+
57+
sketches/commands/build/arduino.megaavr.uno2018/*.bin
58+
!sketches/commands/build/arduino.megaavr.uno2018/commands.ino.hex
59+
60+
# compiled binary in root folder
61+
nina-fwuploader-plugin

.licensed.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ reviewed:
1010
- golang.org/x/exp/slog
1111
- golang.org/x/exp/slog/internal
1212
- golang.org/x/exp/slog/internal/buffer
13+
- golang.org/x/sys/unix
14+
- golang.org/x/text/internal/language
15+
- golang.org/x/text/internal/language/compact
16+
- golang.org/x/text/internal/tag
17+
- golang.org/x/text/language
1318

1419
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies/AGPL-3.0/.licensed.yml
1520
allowed:

.licenses/go/github.com/arduino/arduino-cli/executils.dep.yml

Lines changed: 720 additions & 0 deletions
Large diffs are not rendered by default.

.licenses/go/github.com/arduino/arduino-cli/i18n.dep.yml

Lines changed: 701 additions & 0 deletions
Large diffs are not rendered by default.

.licenses/go/github.com/arduino/uno-r4-wifi-fwuploader-plugin/serial.dep.yml

Lines changed: 680 additions & 0 deletions
Large diffs are not rendered by default.

.licenses/go/github.com/arduino/uno-r4-wifi-fwuploader-plugin/serial/utils.dep.yml

Lines changed: 682 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: github.com/creack/goselect
3+
version: v0.1.2
4+
type: go
5+
summary:
6+
homepage: https://pkg.go.dev/github.com/creack/goselect
7+
license: mit
8+
licenses:
9+
- sources: LICENSE
10+
text: |+
11+
The MIT License (MIT)
12+
13+
Copyright (c) 2014 Guillaume J. Charmes
14+
15+
Permission is hereby granted, free of charge, to any person obtaining a copy
16+
of this software and associated documentation files (the "Software"), to deal
17+
in the Software without restriction, including without limitation the rights
18+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19+
copies of the Software, and to permit persons to whom the Software is
20+
furnished to do so, subject to the following conditions:
21+
22+
The above copyright notice and this permission notice shall be included in all
23+
copies or substantial portions of the Software.
24+
25+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31+
SOFTWARE.
32+
33+
- sources: README.md
34+
text: Released under the [MIT license](LICENSE).
35+
notices: []
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
name: github.com/leonelquinteros/gotext
3+
version: v1.5.2
4+
type: go
5+
summary: Package gotext implements GNU gettext utilities.
6+
homepage: https://pkg.go.dev/github.com/leonelquinteros/gotext
7+
license: other
8+
licenses:
9+
- sources: LICENSE
10+
text: |
11+
The MIT License (MIT)
12+
13+
Copyright (c) 2016 Leonel Quinteros
14+
15+
Permission is hereby granted, free of charge, to any person obtaining a copy
16+
of this software and associated documentation files (the "Software"), to deal
17+
in the Software without restriction, including without limitation the rights
18+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19+
copies of the Software, and to permit persons to whom the Software is
20+
furnished to do so, subject to the following conditions:
21+
22+
The above copyright notice and this permission notice shall be included in all
23+
copies or substantial portions of the Software.
24+
25+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31+
SOFTWARE.
32+
33+
34+
Package `plurals`
35+
36+
Original:
37+
https://github.com/ojii/gettext.go/tree/b6dae1d7af8a8441285e42661565760b530a8a57/pluralforms
38+
39+
License:
40+
https://raw.githubusercontent.com/ojii/gettext.go/b6dae1d7af8a8441285e42661565760b530a8a57/LICENSE
41+
42+
Copyright (c) 2016, Jonas Obrist
43+
All rights reserved.
44+
45+
Redistribution and use in source and binary forms, with or without
46+
modification, are permitted provided that the following conditions are met:
47+
* Redistributions of source code must retain the above copyright
48+
notice, this list of conditions and the following disclaimer.
49+
* Redistributions in binary form must reproduce the above copyright
50+
notice, this list of conditions and the following disclaimer in the
51+
documentation and/or other materials provided with the distribution.
52+
* Neither the name of Jonas Obrist nor the
53+
names of its contributors may be used to endorse or promote products
54+
derived from this software without specific prior written permission.
55+
56+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
57+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
58+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
59+
DISCLAIMED. IN NO EVENT SHALL JONAS OBRIST BE LIABLE FOR ANY
60+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
61+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
62+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
63+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
64+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
65+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
66+
- sources: README.md
67+
text: "[MIT license](LICENSE)"
68+
notices: []
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
name: github.com/leonelquinteros/gotext/plurals
3+
version: v1.5.2
4+
type: go
5+
summary: Package plurals is the pluralform compiler to get the correct translation
6+
id of the plural string
7+
homepage: https://pkg.go.dev/github.com/leonelquinteros/gotext/plurals
8+
license: other
9+
licenses:
10+
- sources: [email protected]/LICENSE
11+
text: |
12+
The MIT License (MIT)
13+
14+
Copyright (c) 2016 Leonel Quinteros
15+
16+
Permission is hereby granted, free of charge, to any person obtaining a copy
17+
of this software and associated documentation files (the "Software"), to deal
18+
in the Software without restriction, including without limitation the rights
19+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20+
copies of the Software, and to permit persons to whom the Software is
21+
furnished to do so, subject to the following conditions:
22+
23+
The above copyright notice and this permission notice shall be included in all
24+
copies or substantial portions of the Software.
25+
26+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32+
SOFTWARE.
33+
34+
35+
Package `plurals`
36+
37+
Original:
38+
https://github.com/ojii/gettext.go/tree/b6dae1d7af8a8441285e42661565760b530a8a57/pluralforms
39+
40+
License:
41+
https://raw.githubusercontent.com/ojii/gettext.go/b6dae1d7af8a8441285e42661565760b530a8a57/LICENSE
42+
43+
Copyright (c) 2016, Jonas Obrist
44+
All rights reserved.
45+
46+
Redistribution and use in source and binary forms, with or without
47+
modification, are permitted provided that the following conditions are met:
48+
* Redistributions of source code must retain the above copyright
49+
notice, this list of conditions and the following disclaimer.
50+
* Redistributions in binary form must reproduce the above copyright
51+
notice, this list of conditions and the following disclaimer in the
52+
documentation and/or other materials provided with the distribution.
53+
* Neither the name of Jonas Obrist nor the
54+
names of its contributors may be used to endorse or promote products
55+
derived from this software without specific prior written permission.
56+
57+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
58+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
59+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
60+
DISCLAIMED. IN NO EVENT SHALL JONAS OBRIST BE LIABLE FOR ANY
61+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
62+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
63+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
64+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
65+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
66+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67+
- sources: [email protected]/README.md
68+
text: "[MIT license](LICENSE)"
69+
notices: []

.licenses/go/go.bug.st/serial.dep.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: go.bug.st/serial
3+
version: v1.5.0
4+
type: go
5+
summary: Package serial is a cross-platform serial library for the go language.
6+
homepage: https://pkg.go.dev/go.bug.st/serial
7+
license: bsd-3-clause
8+
licenses:
9+
- sources: LICENSE
10+
text: |2+
11+
12+
Copyright (c) 2014-2021, Cristian Maglie.
13+
All rights reserved.
14+
15+
Redistribution and use in source and binary forms, with or without
16+
modification, are permitted provided that the following conditions
17+
are met:
18+
19+
1. Redistributions of source code must retain the above copyright
20+
notice, this list of conditions and the following disclaimer.
21+
22+
2. Redistributions in binary form must reproduce the above copyright
23+
notice, this list of conditions and the following disclaimer in
24+
the documentation and/or other materials provided with the
25+
distribution.
26+
27+
3. Neither the name of the copyright holder nor the names of its
28+
contributors may be used to endorse or promote products derived
29+
from this software without specific prior written permission.
30+
31+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
34+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
35+
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
36+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
37+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
40+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
41+
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42+
POSSIBILITY OF SUCH DAMAGE.
43+
44+
- sources: README.md
45+
text: |-
46+
The software is release under a [BSD 3-clause license]
47+
48+
[contributors]: https://github.com/bugst/go-serial/graphs/contributors
49+
[BSD 3-clause license]: https://github.com/bugst/go-serial/blob/master/LICENSE
50+
notices: []

0 commit comments

Comments
 (0)