On Tue, Mar 14, 2017 at 2:00 PM, Siddhesh Poyarekar siddhesh@linaro.org wrote:
On 14 March 2017 at 19:07, Ricardo Salveti de Araujo ricardo.salveti@linaro.org wrote:
The problem is that the bluetooth integration is not yet supported by upstream directly, we still got a few SPI related patches that we are going to upstream over the next few weeks.
For now I would recommend using either https://github.com/linaro/zephyr/tree/v1.7-dev (based on the 1.7 release) or https://github.com/linaro/zephyr/tree/master-upstream-dev (our master-based development tree), but you will also need to update/flash the bluetooth firmware on the nRF51 MCU.
To flash the nRF51 MCU, please have a look at http://docs.linarotechnologies.org/device-support/stm32f4x.html#flashing-the...
Once you update nRF51, you should be able to build and use the bluetooth-related examples on your Carbon (just make sure to use the branches above).
Ahh, I don't have an SWD programmer, so I'll have to buy one later. I'll have to make do with the remaining examples or write something of my own. Thank you for your reply though, since I now know how to proceed.
You could flash a special firmware into the main STM32 MCU and use that to flash nRF51 (https://github.com/blacksphere/blackmagic), but that would require work as I'm not sure anyone did that on this board yet.
But I would recommend buying a SWD programmer anyway, as that can later be used with other boards (and to help you debugging Zephyr on Carbon).
Cheers,