From 240f2ac6172759b76f1abf488254a4a6608a0f8c Mon Sep 17 00:00:00 2001
From: Pekka Niemimaa <pekka.niemimaa@haltian.com>
Date: Fri, 28 Aug 2015 14:21:37 +0300
Subject: [PATCH] Added build instructions. Added default coding for python
 script.

---
 README.md                      | 29 ++++++++++++++++++++++++++++-
 nuttx/tools/ocimage-convert.py |  2 +-
 2 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 9d605e47..978b6b53 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,34 @@ Thingsee OS is the real-time operating system powering [Thingsee One](http://thi
 
 ## Installation
 
-See readme.txt in the nuttx-directory.
+1) Pre-requisites:
+
+GCC ARM Embedded toolchain is available at https://launchpad.net/gcc-arm-embedded
+and maintained by ARM employee​s. Packages for Windows, Mac and Linux are
+available for download. For Ubuntu, a PPA is provided for easy installation.
+Toolchain provides GCC, G++, GDB for embedded ARM targets. Newlib is used to
+provide C standard libraries. To install in Ubuntu 14.04, see following steps:
+
+Add GCC ARM Embedded PPA as software source with command:
+
+```
+sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
+```
+
+2) Install the GCC ARM Embedded toolchain:
+
+```
+sudo apt-get update
+sudo apt-get install gcc-arm-none-eabi
+```
+
+How to Build:
+
+```
+cd nuttx/configs
+../tools/configure.sh haltian_tsone/retail
+make
+```
 
 ## Copyright & License
 
diff --git a/nuttx/tools/ocimage-convert.py b/nuttx/tools/ocimage-convert.py
index 129c26cd..08067718 100755
--- a/nuttx/tools/ocimage-convert.py
+++ b/nuttx/tools/ocimage-convert.py
@@ -1,5 +1,5 @@
 #!/usr/bin/python
-
+# -*- coding: latin-1 -*-
 #
 #  @file ocimage-convert.py
 #  @brief Offcode "ocImage converter"
-- 
GitLab