-
Notifications
You must be signed in to change notification settings - Fork 42
Create a Project
Once you have created your project in MPS you need to add mbeddr.arduino
as a library to it. To do so open File->Settings
, select Project Libraries
and add a new one called mbeddr.arduino
that points to the root of the source repository you cloned the mbeddr.arduino
to.
If you are using mbeddr from source and you have no global library for it then you need add it too.
Now create your first model and reference mbeddr.arduino.core
as a language and import the model from mbeddr.arduino.platform.Main
. Add a BuildConfiguration to your model and choose the Arduino
as a target.
Then select the board you are using obviously there is currently just the uno
to choose. Now you need to set the library path which should point to the support library of mbeddr.arduino. If you are using the source code distribution it is located in the lib sub directory. You don't need to specify the path an further this will all be done by the build system itself.
Have fun with it :-)