Skip to content

getopenmono/mono_framework

Repository files navigation

Mono Framework

Build Status AppVeyor Build Status Docker Build Statu Documentation Status MIT License Twitter Follow

This is a framework for developing Mono applications. For documentation on how to install and use this framework, see the developer site. If you want to generate the documentation, see DOXYGEN.md.

This text describes how to build the framework.

Setup

Install version 5 of the ARM GCC Embedded toolchain. Then add the path to your command-line environment if needed:

  • MacOS: /usr/local/openmono/gcc-arm-none-eabi-5_2-2015q4/bin
  • MacOS: XCode. If problems, see solution.
  • Windows: C:/openmono/gcc-arm-none-eabi-5_2-2015q4/bin

Building

Run

$ bash resources/setup_icons.sh resources/icons.mk.tmp 

(If you have problems with XCode, you might need to run sudo xcode-select -s /Applications/Xcode.app/Contents/Developer.)

Run

$ make release

to compile a new version of the framework into the dist folder. The result is all header files and 4 static libraries:

  • mono_framework.a : This framework.
  • mbedlib.a : The mbed library.
  • monoCyLib.a : The Cypress hardware library.
  • CyComponentLibrary.a : Cypress dependencies.

To use these newly created files instead of the ones from the official release, overwrite the official file:

  • MacOS: sudo cp -r dist/mono/* /usr/local/openmono/mono/
  • Windows: Copy the dist/mono contents to c:/OpenMono/mono
  • Linux: sudo cp -r dist/mono/* /usr/lib/openmono/mono/