sensebox / React-Ardublockly

This repository contains the new senseBox learn- and programming environment powered by google Blockly and React
Apache License 2.0
2 stars 6 forks source link

[Blockly][UI] Add feature to check the board type when loading a programmcode #248

Closed mariopesch closed 5 months ago

mariopesch commented 8 months ago

Is your feature request related to a problem? Please describe. As we have now different boards using different architectures (SAMD and ESP32) there should be a check for which the code was created. There might be features which are unique to specific boards

Describe the solution you'd like We could extend the xml with a board tag.

Describe alternatives you've considered It might be useful to switch to the json serialization scheme which was introduced in blockly lately. Migration guide is public https://docs.google.com/document/d/1wv5ORrO4icVHeU15FLSn37mdNLyJpQbMTo7mmTqsGl0/edit?hl=de