-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BBC MicroBit with S130 SoftDevice #3
Comments
From @ivankravets on October 27, 2016 19:22 Interesting question. Are these board the same? NRF51_MICROBIT & NRF51_MICROBIT_B? |
Thanks Ivan. I believe it has only one board so far. I bought two MicroBit boards six month apart, they should come from different production batches, both look the same and can run with S130 (ie NRF51_MICROBIT_B). The closest thing I found is that few nRF51822 chips will not run on newer S130 version 2. As long as we use version 1, it will run on most chips. The library in PIO right now is using version 1. Looking at the targets.json, NRF51_MICROBIT and NRF51_MICROBIT_B share the same base MCU_NRF51_16K_BASE, only that NRF51_MICROBIT has extra inherit from MCU_NRF51_S110 which specify the S110 SoftDevice. So I think it is safe to use NRF51_MICROBIT_B. S130 SoftDevice does use more space than S110 and provides BLE Central feature, which not many application will use, those may be the reason why the default is set to S110. As I am working on a project which requires BLE Central, I am trying to see if there any good or correct way to allow a project to specify which SoftDevice to be used. Wonder, if it possible to set some variables in project's platformio.ini to change the target setting? Or have to create a new board for this? Cheers, |
From @ivankravets on October 28, 2016 17:22 We will create new board preset for MicrobitB. Please move this issue to this repo https://github.com/platformio/platform-nordicnrf51/issues |
That's great. Thanks! |
Please use |
From @wilstam on October 27, 2016 3:39
Configuration
Operating system:
macOS Sierra 10.12.1
PlatformIO Version (
platformio --version
):PlatformIO, version 3.1.0
Description of problem
There seems no setup for BBC MicroBit with S130 SoftDevice
Steps to Reproduce
I have tried to change the following line to 'platforms/nordicnrf51/builder/frameworks/mbed/mbed.py:78
The projecct is build with S130 and using correct linker script at 'packages/framework-mbed/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_
ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld'
Wonder what is the best way to add a support for this?
Thanks,
Wilson
Copied from original issue: platformio/platformio-core#815
The text was updated successfully, but these errors were encountered: