2 ms·
> In case of microcontrollers, PXT programs are compiled in the browser to ARM Thumb assembly, and then to machine code, resulting in a file which is then deplo
by eatonphil 5y ago
> In case of microcontrollers, PXT programs are compiled in the browser to ARM Thumb assembly, and then to machine code, resulting in a file which is then deployed to the microcontroller, usually via USB mass-storage interface.
Looks like the only compilation strategy is directly to ARM Thumb assembly or did I miss something?
- pjmlp 5y agoMaybe my memory is fuzzy about the exact workflow, in any case you can check "Microsoft MakeCode: from C++ to TypeScript and Blockly (and Back)" https://www.youtube.com/watch?v=tGhhV2kfJ-w https://www.youtube.com/watch?v=tGhhV2kfJ-w and the respective C++ FFI, https://makecode.com/simshim https://makecode.com/simshim