Wednesday, 23 August 2017

Eclipse Oxygen 4.7.0 with EmbSysRegView on Ubuntu 17.04

I recently reinstalled Ubuntu 17.04, and after reinstalling the regular STM32 tools (Eclipse C/C++, GNU MCU Eclipse, OpenOCD) I tried to install EmbSysRegView.

Normally I do this through the Eclipse Marketplace but it wasn't showing up when I searched for. Never mind; the EmbSysRegView website said I could install it manually:
Install the view by copying the jar files:
Get the latest jar files (you need both of them) from https://sourceforge.net/projects/embsysregview/files/
Simply copying to your eclipse plugins folder, and your done.

So I downloaded the four files and threw them in the /opt/eclipse/cpp-oxygen/plugins/ folder. But nothing appeared when searching in the "Window -> Show View -> Other..." Eclipse menu.

Searching online suggested restarting and running Eclipse with the -clean parameter (i.e. "./eclipse -clean").

Still nothing.

Searching further revealed that the correct place to place the EmbSysRegView .jar files is in the Eclipse /dropins folder (i.e. "/opt/eclipse/cpp-oxygen/dropins/").

After placing the files here, the EmbSys Registers view option appeared.


On a separate note, the majority of menu buttons weren't showing in eclipse until I added the following two lines below the "plugins" section of eclipse.ini file in the Eclipse install directory:
--launcher.GTK_version
2

Now I can easily switch perspectives since the quick switch buttons are visible!