1 year ago.
How can I configure CLI to work with mbed classic and nRF51_DK?
With the intent to compile mBed Classic programs for nRF51_DK boards, I followed the following steps:
(1) I successfuly installed the Command Line Interface (CLI) according to the instructions reported in the video (https://www.youtube.com/watch?v=cM0dFoTuU14); (2) I successfully imported a Blinky program developed for mBed Classic, verified to work well on my nRF51_DK board.
When, however, I attempted to detect the available toolchain/target options, I received the following error:
I tried to further investigate the problem (not that I knew what I was doing) with the commands "mbed ls" and "mbedls". Here is what I got:
If I try to compile anyway, this what I obtain:
I'm using the following SW versions:
Thank you for any help you might provide!
12 months ago.
We think the issue is that you are using Python 3.x. When testing this ourselves we received the following warning when trying to build a Mbed OS2 program:
[mbed] WARNING: If you're using Python 3 with Mbed OS 5.8 and earlier versions, Python errors will occur when compiling, testing and exporting
Could you try building with Python 2.7.11 or a later version of Python 2.7?
-Ralph, Team Mbed
To post an answer, please log in.