Microsoft MakeCode

STORAGE module in makecode

Hi, I am trying to remove STORAGE module from makecode editor locally. When I removed it from pxt.json, the module disappears from the editor but causing not able to transfer directly with WebUSB. Is it necessary to keep this module to enable WebUSB transfer?

in your board’s pxt.json just add a yotta config to set DEVICE_USB to 1

like this.
"yotta": { "config": { "DEVICE_USB": 1 } }

restart your local server and upload the code once through bootloader. it’ll then be deteted by webUSB normally.

1 Like

Thanks . It worked :slight_smile: