Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9307442

Browse files
committedJun 23, 2021
remove sara related code in arduino-fwuploader binary
1 parent a0875de commit 9307442

File tree

5 files changed

+1
-239
lines changed

5 files changed

+1
-239
lines changed
 

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Firmware/Certificates updater for WINC and NINA Wifi module
22

3-
Use this tool to update the firmware and/or add SSL certificates for any WINC, NINA or SARA module.
3+
Use this tool to update the firmware and/or add SSL certificates for any WINC, NINA module.
44

55
## Install
66

‎cli/certificates/flash.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ func run(cmd *cobra.Command, args []string) {
170170
switch moduleName {
171171
case "NINA":
172172
f, err = flasher.NewNinaFlasher(uploadPort)
173-
case "SARA":
174-
f, err = flasher.NewSaraFlasher(uploadPort)
175173
case "WINC1500":
176174
f, err = flasher.NewWincFlasher(uploadPort)
177175
default:

‎cli/firmware/flash.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ func updateFirmware(board *firmwareindex.IndexBoard, commandLine []string, modul
215215
switch moduleName {
216216
case "NINA":
217217
f, err = flasher.NewNinaFlasher(uploadPort)
218-
case "SARA":
219-
f, err = flasher.NewSaraFlasher(uploadPort)
220218
case "WINC1500":
221219
f, err = flasher.NewWincFlasher(uploadPort)
222220
default:

‎flasher/sara.go

Lines changed: 0 additions & 230 deletions
This file was deleted.

‎indexes/firmwareindex/firmwareindex.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,6 @@ func LoadIndexNoSign(jsonIndexFile *paths.Path) (*Index, error) {
120120

121121
// Determine latest firmware for each board
122122
for _, board := range index.Boards {
123-
if board.Module == "SARA" {
124-
// TODO implement?? by default you have to specify the version
125-
continue
126-
}
127123
for _, firmware := range board.Firmwares {
128124
if board.LatestFirmware == nil || firmware.Version.GreaterThan(board.LatestFirmware.Version) {
129125
board.LatestFirmware = firmware

0 commit comments

Comments
 (0)
Please sign in to comment.