lancaster-university / microbit-samples

http://lancaster-university.github.io/microbit-docs
Other
114 stars 72 forks source link

yotta build errror #18

Open alancairns opened 6 years ago

jamesadevine commented 6 years ago

More info required @alancairns. Can you please post the error you are receiving?

alancairns commented 6 years ago

I can only apologies for this post which I though I had cancelled. I will now explain the problem and how I worked around it.

I am using an iMac with macOS 10.13.3 High Sierra. I was following the Yotta installation guide at https://lancaster-university.github.io/microbit-docs/offline-toolchains/ which in turn pointed me to http://docs.yottabuild.org/#installing where followed the instructions for installing Yotta in a Virtualenv. After completing the installation and cloning the microbit-samples I tried to build the invaders example as follows:

cd microbit-samples cp source/examples/invaders/* source

yt target bbc-microbit-classic-gcc yt clean yt build

This resulted in the following messages: info: get versions for bbc-microbit-classic-gcc info: download bbc-microbit-classic-gcc@0.2.3 from the public module registry info: get versions for mbed-gcc info: download mbed-gcc@0.1.3 from the public module registry warning: The build target has not been set, so the default (bbc-microbit-classic-gcc,*) is being used. You can use yotta target <targetname> to set the build target. See http://docs.yottabuild.org/tutorial/targets.html for more information on using targets. info: get versions for microbit error: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)

I tried this twice more but kept getting: info: get versions for microbit error: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)

I had just started to raise this new issue when I remembered that I could install yotta as an app, described in http://docs.yottabuild.org/#installing. I did this and tried the 'invaders' build and it worked as did the 'Hello World' example.

I am a retired (experienced) computer engineer but have limited knowledge of programming and even less knowledge of programming environments.

Regards

Alan Cairns