Closed carlosperate closed 1 year ago
There is also SOFTDEVICE_PRESENT
, which looks like it might be already defined in target.json
Can setting "SOFTDEVICE_PRESENT": 0
in the JSON file remove this definition from the build?
If not, we might want to either add that feature, to habilitate CODAL builds without a SoftDevice, or remove it from the target.ble.json example file.
As a side note, the SoftDevice might be used by CODAL for other things apart from BLE, for example the internal nRF52 temperature sensor could be read using the SD, so that could also be a dependency on it.
And if possible we might also want to merge DEVICE_BLE
and MICROBIT_BLE_ENABLED
? :
https://github.com/lancaster-university/microbit-v2-samples/blob/ac325c50b5b13ff0b3355ac8b495bcc1ba2c2853/codal.ble.json#L10-L13
Removed in cb9278e2ddf4c827547470adbd4973ce1502ae4f.
Had a search through the micro:bit CODAL repos I couldn't find any usage of the
NO_BLE
define. If it's not used anywhere we should remove it from the codal.json file: https://github.com/lancaster-university/microbit-v2-samples/blob/ac325c50b5b13ff0b3355ac8b495bcc1ba2c2853/codal.json#L10-L11