Skip to content

Commit e241f76

Browse files
Migrate Nina firmwares to plugin system (#208)
* move boards to new_boards in order to add to plugin * move nina boards to the plugin system * remove useless sketches, in the plugin they are hardcoded * remove core installation from CI, this is no more required with the plugin system * move all the info required to support a plugin board inside `new_boards.json` file This way we have to modify this file only to add support for new boards. The `generate_boards_json()` function have been split: this way we can remove the old one when the time comes. * fix formatting * fix wrong loader for rp2040 --------- Co-authored-by: Alessio Perugini <[email protected]>
1 parent 61e036b commit e241f76

File tree

12 files changed

+140
-1106
lines changed

12 files changed

+140
-1106
lines changed

.github/workflows/generate-index.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,8 @@ jobs:
4444
arduino-cli core update-index -v
4545
arduino-cli version
4646
arduino-cli core install arduino:samd@${{ env.SAMD_V }} -v
47-
arduino-cli core install arduino:megaavr@${{ env.MEGAAVR_V }} -v
48-
arduino-cli core install arduino:mbed_nano@${{ env.MBED_NANO_V }} -v
4947
env:
5048
SAMD_V: 1.8.11
51-
MEGAAVR_V: 1.8.7
52-
MBED_NANO_V: 2.4.1
5349

5450
- name: Install dependencies
5551
run: |

firmwares/getversion/arduino.megaavr.uno2018/CheckFirmwareVersion.ino.with_bootloader.hex

Lines changed: 0 additions & 533 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

firmwares/loader/arduino.megaavr.uno2018/loader.hex

Lines changed: 0 additions & 433 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

generator/boards.json

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -3,76 +3,8 @@
33
"moduleName": "WINC1500",
44
"versions": ["19.4.4", "19.5.2", "19.5.4", "19.6.1"]
55
},
6-
"arduino:samd:mkrwifi1010": {
7-
"moduleName": "NINA",
8-
"versions": [
9-
"1.0.0",
10-
"1.1.0",
11-
"1.2.1",
12-
"1.2.2",
13-
"1.2.3",
14-
"1.2.4",
15-
"1.3.0",
16-
"1.4.0",
17-
"1.4.1",
18-
"1.4.2",
19-
"1.4.3",
20-
"1.4.4",
21-
"1.4.5",
22-
"1.4.6",
23-
"1.4.7",
24-
"1.4.8",
25-
"1.5.0"
26-
]
27-
},
28-
"arduino:samd:nano_33_iot": {
29-
"moduleName": "NINA",
30-
"versions": [
31-
"1.0.0",
32-
"1.1.0",
33-
"1.2.1",
34-
"1.2.2",
35-
"1.2.3",
36-
"1.2.4",
37-
"1.3.0",
38-
"1.4.0",
39-
"1.4.1",
40-
"1.4.2",
41-
"1.4.3",
42-
"1.4.4",
43-
"1.4.5",
44-
"1.4.6",
45-
"1.4.7",
46-
"1.4.8",
47-
"1.5.0"
48-
]
49-
},
506
"arduino:samd:mkrvidor4000": {
517
"moduleName": "NINA",
528
"versions": ["1.0.0", "1.1.0"]
53-
},
54-
"arduino:megaavr:uno2018": {
55-
"moduleName": "NINA",
56-
"versions": [
57-
"1.2.1",
58-
"1.2.2",
59-
"1.2.3",
60-
"1.2.4",
61-
"1.3.0",
62-
"1.4.0",
63-
"1.4.1",
64-
"1.4.2",
65-
"1.4.3",
66-
"1.4.4",
67-
"1.4.5",
68-
"1.4.6",
69-
"1.4.7",
70-
"1.4.8",
71-
"1.5.0"
72-
]
73-
},
74-
"arduino:mbed_nano:nanorp2040connect": {
75-
"moduleName": "NINA",
76-
"versions": ["1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.5.0"]
779
}
7810
}

0 commit comments

Comments
 (0)