From f8e52158ccf5c2077f0d3183e86797463cab4c2b Mon Sep 17 00:00:00 2001 From: sumeet14 Date: Fri, 29 Jun 2018 19:37:40 +0530 Subject: README updated --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 34094f9..2c0bc8b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,23 @@ OpenModelica for Embedded Applications * Follow the installation instructions provided by [Energia](http://energia.nu/download/). * In Energia IDE, Select `Tools` and the `Board` and check if `Tiva C` board is present. * If not, then click on `Board Manager`, type Tiva C in search bar and then click on `Install` to install board. +* While using Energia on Windows Operating System, make sure you install necessary device drivers by following the instructions given [here](http://energia.nu/guide/guide_windows/). --- +##How to make changes to source code? + +##Linux Operating System +* Open the source codes by browsing to this location : `OpenModelicaEmbedded > Source`. +* After making changes to these files open `Terminal`. +* Browse to `OpenModelicaEmbedded > Source` folder using `cd` command. +* Run command `make`. + +##Windows Operating System +* Open the source codes by browsing to this location : `OpenModelicaEmbedded > Source`. +* After making changes to these files open `Command Prompt (cmd)`. +* Browse to `OpenModelicaEmbedded > Source` folder using `cd` command. +* To compile the CPP files run the command: `g++ -c file1.cpp file2.cpp ...`. +* To create a DLL from generated object files, run the command: `g++ -shared -o modelPlugFirmata.dll file1.o file2.o ...`. +* Then copy the generated DLL file and paste it in folders: `OpenModelicaEmbedded` and `Resources > Library > win64`. ## Working with Arduino UNO [Atmega328p] -- cgit