lancaster-university / microbit-v2-samples

CODAL build tools and sample programs for the micro:bit v2.x
MIT License
66 stars 87 forks source link

Suggestion: Safer codal.json for users & create codal.dev.json for development #65

Closed microbit-carlos closed 1 year ago

microbit-carlos commented 1 year ago

The current codal.json:

This settings are useful for CODAL development, so I suggest to keep them in a new separate codal.dev.json (like codal.ble.json), so that devs can simply mv codal.dev.json codal.json after cloning.

This way we leave a safer codal.json configuration for normal users that might just want to create a CODAL C++ micro:bit programme.


This PR also remove the test_ignore key because it's used by build.py only when found in the utils/targets.json file. It probably was accidentally added from copy/pasting the config from utils/targets.json.

Also enables partial flashing on codal.ble.json, which we should probably have on by default.

JohnVidler commented 1 year ago

Suggest we also document this in the README - can this be added to this PR as well?