We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735c0a4 commit 81ba244Copy full SHA for 81ba244
kernel/src/services/FirmwareService.ts
@@ -213,7 +213,8 @@ export class FirmwareService {
213
214
const firmwareData = await this.unzipStreamToVariable(result.body!);
215
216
- const firmwareDataMP = firmwareData['micropython.bin'];
+ // The firmware file is a zipped file containing the necessary 'micropython.bin' file
217
+ const firmwareDataMP = firmwareData[`${selectedFirmware.name}/micropython.bin`];
218
219
this.firmwareString = Array.from(firmwareDataMP)
220
.map(byte => String.fromCharCode(byte))
0 commit comments