Skip to content

Commit 2854736

Browse files
author
Stefania
authored
Merge pull request #32 from arduino/fat_upload
Fat upload
2 parents f73e9e0 + 2456d2c commit 2854736

9 files changed

+9668
-135
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
}]
1616
]
1717
}
18-
}
18+
},
19+
"plugins": ["transform-object-rest-spread"]
1920
}

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ daemon.writeSerial('port-name', 'message');
4848
// Close serial monitor
4949
daemon.closeSerialMonitor('port-name');
5050

51-
// Upload hex
52-
daemon.upload(target, data);
51+
// Upload sketch on serial target (desktop agent and chrome app)
52+
daemon.uploadSerial(target, sketchName, compilationResult, verbose);
53+
54+
// Upload sketch on network target (daesktop agent only)
55+
daemon.uploadNetwork(target, sketchName, compilationResult);
5356

5457
// Upload progress
5558
daemon.uploading.subscribe(upload => {

0 commit comments

Comments
 (0)