Suggestion: Safer codal.json for users & create codal.dev.json for development #65
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current
codal.json
:codal.json
target.dev
property looks like a boolean but it isn't #63This settings are useful for CODAL development, so I suggest to keep them in a new separate
codal.dev.json
(likecodal.ble.json
), so that devs can simplymv 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 bybuild.py
only when found in theutils/targets.json
file. It probably was accidentally added from copy/pasting the config fromutils/targets.json
.Also enables partial flashing on
codal.ble.json
, which we should probably have on by default.