From e6a00894e07871e0a50f7386d2b5a23ab8f7ee97 Mon Sep 17 00:00:00 2001 From: xyb Date: Wed, 5 Feb 2014 05:36:23 -0800 Subject: [PATCH] Updated Getting Started (markdown) --- Getting-Started.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index 5dc767c..37faeda 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -35,7 +35,7 @@ And then make the executable At that point, you will have a functioning micropython executable, which may be launched with the command: -> ./py +> ./micropython ### FreeBSD @@ -59,7 +59,7 @@ Edit main.c, replacing "malloc.h" with "stdlib.h", then: This will generate the 'py' executable, which may be executed by: -> ./py +> ./micropython ### Fedora, CentOS, and Red Hat Enterprise Linux and variants @@ -81,7 +81,7 @@ And then make the executable At that point, you will have a functioning micropython executable, which may be launched with the command: -> ./py +> ./micropython ### ArchLinux @@ -109,15 +109,31 @@ And then make the executable At that point, you will have a functioning micropython executable, which may be launched with the command: -> ./py +> ./micropython ### Gentoo Linux ### Mac OSX -OSX is only supported on the osx branch. First do : +The XCode and Command Line Developer Tools package will need to be installed before you can compile and run MicroPython: -git checkout osx +> xcode-select --install + +Then, clone the repository to your local machine: + +> git clone https://github.com/micropython/micropython.git + +Change directory to the Unix build directory: + +> cd micropython/unix + +And then make the executable + +> make + +At that point, you will have a functioning micropython executable, which may be launched with the command: + +> ./micropython ## Microcontrollers (Bare-Metal, without an OS) ### ARM-based microcontrollers