mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
Add support for MPY ABI v6.
Pybricks firmware v3.2.0b2 has updated to MicroPython 1.19 which includes breaking changes to the MPY binary file format.
This commit is contained in:
@@ -392,10 +392,9 @@ const Editor: React.VFC = () => {
|
||||
() => ({
|
||||
id: 'pybricks.action.check',
|
||||
label: i18n.translate(I18nId.Check),
|
||||
// REVISIT: the compile options here might need to be changed - hopefully there is
|
||||
// one setting that works for all hub types for cases where we aren't connected.
|
||||
run: (e) => {
|
||||
dispatch(compile(e.getValue(), []));
|
||||
// for checking, use the most recent compiler
|
||||
dispatch(compile(e.getValue(), 6, []));
|
||||
},
|
||||
keybindings: [monaco.KeyCode.F2],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user