Introducing the Mojo IDE
The Mojo IDE now support Lucid!
Download Links Version B1.1.9
New in B1.1.9
- Fixed many bugs related to CoreGen integration.
- Fixed some signal width related bugs.
- Added Analog Inputs and AVR Interface example projects.
- Migrated from RXTX to JSSC for the serial port library.
If you are using Linux you need to have a JRE version 7 or newer to run this. On Ubuntu you can enter
sudo apt-get install openjdk-7-jre-headless
Note that some versions of Ubuntu (12.04 and earlier) may need to be configured to use the proper version of Java. To configure the default version, type the following and select OpenJDK 7.
sudo update-alternatives --config java
You will also need to be a member of the dialout group to be able to use the serial port. You can add yourself by entering this line.
sudo usermod -a -G dialout `whoami`
You will have to log out or restart your computer for that to take effect.
The 99-mojo.rules file in the driver folder should be moved to /etc/udev/rules.d/ This file prevents Ubuntu from thinking the Mojo is a modem and locking it up for about a minute after it's plugged in.
Real Time Error Checking
When writing Lucid, the Mojo IDE will perform real-time checks on your code and let you know if something isn't right.
In the above image, you can see the signal spi_miso was missing the underscore. The Mojo IDE underlines all the errors it finds in red and all the warnings in yellow. By hovering your cursor over it, a tool-tip pops up telling you what is wrong. This means you can easily spot errors without having to attempt to build your project then scroll through tons of text to look for the line number and error message.
One of the best features of the Mojo IDE is the components library. There are lots of times that you need to do the same thing and having a reusable component just makes your life that much easier.
By going to Project->Add Components... you can easily choose the components you want to add to your project. Once you add it to your project, the component's source code can be opened so you can see how everything works.
Having components is great, but sometimes you need to see a full project to see how to do something. For this, we have example projects that you can make a copy of when creating a new project.
Here we will be copying the Hello World! project which sends "Hello World!" over USB every time you send "h".
Once you create your new project from the example, you are free to edit it however you would like.
We will have an example project to accompany every Lucid tutorial so that you can easily compare your project to example if you get stuck, or if you just want to learn by examples.
The component library and example project's versions are independent of the Mojo IDE. This allows us to push updates to the library and example projects between Mojo IDE updates. When you open the Mojo IDE, it checks to see if a new version is available. If there is, it will prompt you to update the IDE, or the library.
When writing Lucid code, the Mojo IDE will give you suggestions for what you are typing.
When you are accessing a module's signal, it will list all the available signals so that you don't have to keep looking back and forth between two files.
The text is matched by searching for words that contain the typed letters in the order they were typed. They don't have to be next to each other. In the following example, " ta" is matched to "tx_data" and "rx_data".
Choose Your Style
We realize that not everyone likes the default dark theme. You can now choose the light or dark side!
You can split the editor window horizontally or vertically to show multiple files at once. Simply right click on an editor and select Split Horizontal or Split Vertical or press Ctrl+H or Ctrl+G respectively. You are free to drag and drop tabs between each open editor.
Have lots of space? We got you covered.