python-editor-v3 icon indicating copy to clipboard operation
python-editor-v3 copied to clipboard

Use extracted (alpha) connection library

Open microbit-matt-hillsdon opened this issue 1 year ago • 2 comments
trafficstars

This PR is expected to hang around for a bit as we evolve the connection library interface.

Issues specific to the integration:

  • [ ] x2 deps on Intel hex library (due to fixed version dep?)
  • [ ] bundle size check needed. The connection lib includes hex-related dep that we don't use - is it bundled?

microbit-matt-hillsdon avatar Jul 16 '24 09:07 microbit-matt-hillsdon

Preview build will be at https://review-python-editor-v3.microbit.org/connection/

github-actions[bot] avatar Jul 16 '24 09:07 github-actions[bot]

Everything seems to be working OK as of https://github.com/microbit-foundation/python-editor-v3/pull/1190/commits/ec290dd14b6e19024cd2f19373fa3b6e24a6011b

microbit-matt-hillsdon avatar Jul 16 '24 09:07 microbit-matt-hillsdon

Not sure if this PR is ready for review, but I have installed the latest version of connection and fs library. I tried full and partial flashing my micro:bit with a Python project. It LGTM

microbit-grace avatar Feb 03 '25 16:02 microbit-grace

Bundle size comparison from running npm run build: main branch | 2,030.66 kB connection branch | 2,042.52 kB

It looks comparable to me

microbit-grace avatar Feb 05 '25 11:02 microbit-grace