Sneaking from Processor Expert

Processor Expert is great: it generates initialization code and driver sources for me. This makes it a great knowledge and source base for non-Processor Expert projects too. Wondering how to initialize the SCI? What are again the register settings to use the CPU with a 6 MHz clock rate using an external crystal in low power mode? Lets generate a Processor Expert project to find out. Then copy-past the drivers or parts of it into my non-Processor Expert project. But How to do this?

Continue reading

Linting without a plugin

With “Eclipse and PC-lint: Linticator” I have a plugin to lint my sources in a comfortable way. But I can do this as well without a plugin. For this I use a batch file with a build configuration, plus settings to get the PC-lint messages into the Problems view. Yes, this does not sound easy, but is very doable and straight forward once I have set it up. It gives me complete control on every little detail. Here is how I do it… Continue reading

Quick Access (CTRL+3)

It is Easter time, and here is my Easter Gift in eclipse: Quick Access. If you are one of those developers who hate the mouse and want to do everything with your hands on the keyboard: this is definitely something for you. I admit that I had not noticed that feature, as it is buried behind menus. It is such a great functionality in eclipse (thanks for the hint, Teo!), but easily gets missed.

Continue reading

Offline Registers

The eclipse based CodeWarrior for MCU10.2 comes with many unique extensions of the eclipse platform, implemented by Freescale. One of these featured mentioned in my post is the ability to inspect the registers in an offline mode: The Offline Register view. How is this different from the Registers view?

Continue reading

Eclipse global preferences

Eclipse is good, but like any other tool: it gets better after I have it customized for my special needs. Eclipse stores a lot of settings in the workspace, see my article about Copy my workspace settings. But is there a way to apply some settings to every workspace? At least to the new ones? Because importing/exporting the settings can get really tedious as I have many workspace.  And indeed, there are global settings in eclipse. And I want to have them changed…

Continue reading

5 Best Eclipse Plugins: #3 (System and Desktop Search)

Ranked as number 3 on my list of eclipse plugins is something I missed in eclipse, but what I heavily use in Microsoft Visual Studio: The ability to search files anywhere on my computer. As outlined in Compare and Merge with Eclipse, eclipse is very workspace focused: I can only search files which are inside my workspace. Well, unless I use the System Search and Desktop Search plugins. They are not one of the usual plugins. Here is what you can get (or search) …

Continue reading

Copy my workspace settings

I just counted the number of active eclipse workspace I have: Eight! I’m sure there are other developers which even have more than eight? Eclipse maintains many settings inside the workspace .metadata folder (see my post on CodeWarrior Tool Tip #1: Improve performance by cleaning house in the Eclipse workspace). The question is: how can I copy or transfer my carefully balanced workspace settings to another workspace?

Continue reading

Eclipse and PC-lint: Linticator

PC-lint from Gimpel has set the standard for static code analysis: it is used by many companies developing safety critical applications. Additionally PC-lint can check the MISRA rules which are standard for many coding guide lines. PC-lint has detected many subtle bugs in my sources. Thank you, PC-lint!

CodeWarrior classic provided a plugin for the PC-lint compiler: To bad that this does not exist in the eclipse based CodeWarrior. You might think that given PC-lint so popular, there should be an eclipse plugin available? Yes, there are many attempts on this: all of them did not work well enough for me. The good news: There is the Linticator eclipse plugin. The bad news: it is not for free.

Continue reading