From a43b08f895391283a414c98454e8c431ebd6dc9b Mon Sep 17 00:00:00 2001 From: neilh Date: Sat, 19 Sep 2015 15:38:57 -0700 Subject: [PATCH] Added information on building arm stmhal and teensy, including adding gcc-arm-none-eabi compilers --- Getting-Started.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Getting-Started.md b/Getting-Started.md index 3a848c4..5ee0bcc 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -139,4 +139,28 @@ At that point, you will have a functioning micropython executable, which may be > ./micropython ## Microcontrollers (Bare-Metal, without an OS) -### ARM-based microcontrollers \ No newline at end of file +### ARM-based microcontrollers +On a Ubuntu 12.04LTS this worked + +sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi +sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded +sudo apt-get update +sudo apt-get install gcc-arm-none-eabi +(as of 2015Sept19 pulled in amd64 4.9.3.2015q2-1trusty1) + +If needed to remove +sudo apt-get remove gcc-arm-none-eabi + +Assuming the micropython has been installed in directory +cd stmhal +make + +cd ../teensy +sudo apt-get install realpath +make +(completes) +See Running Scripts in https://github.com/micropython/micropython/wiki/Board-Teensy3.1) +Discussion on design https://forum.pjrc.com/threads/24794-MicroPython-for-Teensy-3-1/) + +cd ../minimal +make - FAILS