Hi Ivan, Python is very similar to DOS (they should have named it DOSthon) that I was using 25 years ago so forgotten a lot, Windows lazy:)
So its probably okay for you guys that are using it all the time.
Some things that are probably assumed, which version of python to use for instance. The natural choice would be to go for the latest, Python 3. Reading, it appears some functions are not compatible, so I used the latest Python 2. But nothing is mentioned in the instructions. Does this work on Python 3, we don't know.
Quote:
To install or upgrade PlatformIO paste command at a Terminal prompt and run using pip (MAY require administrator access sudo):
Well pip is already there in the latest version, I spent a long time looking to download and install it, I should have looked.
But anyway that's just my fault for not being up to speed with this.
The problem is I have tried to run a couple of exported programs from mbed and the one I mentioned above. I'm probably doing this wrong or thinking it works in a different way, but I have used Python before to build KL05 libraries for Keil that worked fine.
Okay so lets try an example, bottom of the web page there is a "Blink" project example. Great I'll download that and test. Lets try Teensy3.1, I know something about this one. Click on Teensy3.1, I get 'Embedded boards' page, then click on the Teensy3.1 here and get PJRC website, not sure why I need that, go back and try something else, click on Teensy, takes me to 'Development Platforms' page. By this time I don't know whether I'm coming or going so gave up.
I have placed all my source files into the 'SRC' folder, these are split in different directories, I assume this is correct.
Would like to be able to use this Ivan, providing I can export my mbed programs, convert and load them in Visual Studio.
Not entirely sure if platformio actually does it in this way.
Many thanks, Paul.
edit...
Used these instructions:
http://docs.platformio.org/en/latest/installation.html
Followed this:
http://docs.platformio.org/en/latest/ide/visualstudio.html
and its working !!!
This confused me:
http://platformio.org/#!/get-started
Having problems with the mbed STM export, exporting to GCC-ARM, I assume this is the correct export?
Paul
Edit.....
No luck I'm afraid, I can't get Visual Studio (2015) working on anything I export from Mbed. Tried various platforms and export types.
The Nucleo STM-L476RG came close but had Vargs errors.
Ivan perhaps you could try, I don't think blinking an led will be much of a test, you need something a bit more 'beefy'
I know there has been talk about this historically and even some cookbook pages written about it (with dead links!). Is it possible to get full build functionality, and is there anyone who has done it? Do people have any guides or tips?