microsoft / pxt-maker

MakeCode target for "Maker" boards (beta)
https://maker.makecode.com/
Other
120 stars 82 forks source link

Update and fix teknikio-bluebird platform #316

Closed JoeBakalor closed 2 years ago

JoeBakalor commented 4 years ago

Update teknikio-bluebird library to be compatible with release hardware version.

The latest version of the Bluebird hardware uses the latest version of the SoftDevice, Version 7, from Nordic Semiconductor for the nRF52840 and the current version of codal-nrf52840-dk targets SoftDevice version 6 so we forked:

https://github.com/mmoskal/codal-nrf52840-dk

and updated the memory configuration to account for the larger size of the new SoftDevice. We added a new "compilerVariant", "nRF52840b", that targets the forked version with the updates for the larger SoftDevice. After the changes were made, we cloned:

https://github.com/lancaster-university/codal

We added a new target for the modified codal-nrf52840-dk and built locally to verify it built without any errors.

Do we need to add a new service for the modified codal or can the same service be used?

            "codalBinary": "NRF52840_DK",
            "serviceId": "codal2nrf52840",
            "dockerImage": "pext/yotta:latest",
            "yottaConfig": {
                "pxt": {
                    "board": {
                        "id": "BOARD_ID_NRF52840"
                    }
                }
            }