NXP Semiconductors logo
LPCXpresso Logo

Reply
 
Thread Tools
  #1  
Old 04-07-2012, 01:26 PM
amrbekhit amrbekhit is offline
Junior Member
 
Join Date: Oct 2010
Location: UK
Posts: 21
amrbekhit is on a distinguished road
Default CMSIS Configuration Wizard Released

Introduction

As many of you will be aware, the CMSIS startup files contain special comments that Keil uVision uses to generate a GUI editor to easily configure startup parameters. Unfortunately, non-Keil users are stuck with editing those files by hand. Until now...

I've just published the first release of my CMSIS Configuration Wizard tool. This free, open-source, cross-platform tool can generate a GUI from your CMSIS startup files that allows you to easily configure their parameters, just like Keil users can.



Download

You can download the software from the main project page.

The software is written in Java and should run any any platform with Java 6 or higher installed. The software has been tested under Windows and some basic testing done on Fedora 15.

I would be very grateful if people could try the program out and suggest improvements and fixes.

Roadmap

The following is a list of features I would like to add for future releases:
  • - Implement tooltips.
  • - Prompt user to save when closing the program if any changes have been made.
  • - Change the tree icons so that editable nodes have their own icon.
  • - Display the editing controls inside the tree, just like Keil.

Disclaimer

Please bear in mind that this is the first public release and you use the software at your own risk.

Last edited by amrbekhit; 04-20-2012 at 04:45 PM.
Reply With Quote
  #2  
Old 04-20-2012, 04:46 PM
amrbekhit amrbekhit is offline
Junior Member
 
Join Date: Oct 2010
Location: UK
Posts: 21
amrbekhit is on a distinguished road
Default v0.0.6 Released

I've just released v0.0.6 which now supports both C and assembler files. You can download the latest version at

http://helmpcb.com/software/cmsis-configuration-wizard

Amr
Reply With Quote
  #3  
Old 04-20-2012, 05:17 PM
Caradhras Caradhras is offline
Member
 
Join Date: Mar 2012
Location: Old Europe
Posts: 51
Caradhras is on a distinguished road
Default

i did not use it yet, but open-source-tools beeing released are great.
Reply With Quote
  #4  
Old 04-21-2012, 07:42 AM
researchinnovation researchinnovation is offline
Senior Member
 
Join Date: Apr 2012
Location: Chicago
Posts: 191
researchinnovation is an unknown quantity at this point
Default

@Amrbekhit:- Hi..!!!

This CMSIS Configuration Wizard is available and applicable for Keil based application or we can use on LPCxpresso also.How does it work..?

Thanks & Regards....

Last edited by researchinnovation; 04-21-2012 at 07:51 AM.
Reply With Quote
  #5  
Old 04-21-2012, 01:51 PM
amrbekhit amrbekhit is offline
Junior Member
 
Join Date: Oct 2010
Location: UK
Posts: 21
amrbekhit is on a distinguished road
Default

@researchinnovation: CMSIS Configuration Wizard is a standalone application that provides a graphical user interface to allow you to easily edit files that use Keil's configuration wizard comment format.

If you open up one of your LPCXpresso projects and have a look at the file system_LPC1xxx.c in the CMSIS project, you will notice that there are lots of structured comments that look like this:

Code:
/*--------------------- Clock Configuration ----------------------------------
//
// <e> Clock Configuration
//   <e1> System Clock Setup
//     <e2> System Oscillator Enable
//       <o3.1> Select System Oscillator Frequency Range
//                     <0=> 1 - 20 MHz
//                     <1=> 15 - 25 MHz
CMSIS Configuration Wizard can parse those comments and and generate a GUI that allows you to easily edit the constants in the file. When you open this file in CMSIS Configuration Wizard, it will generate a tree based on the comments inside the file. When you click on any of the nodes inside the tree, you are presented with a control at the bottom of the window that allows you to easily configure that parameter. Give it a try.
Reply With Quote
  #6  
Old 04-23-2012, 03:23 PM
Caradhras Caradhras is offline
Member
 
Join Date: Mar 2012
Location: Old Europe
Posts: 51
Caradhras is on a distinguished road
Default

maybe it is possible to convert this into a plugin for eclipse? so it can be integrated into the IDE?
Reply With Quote
  #7  
Old 04-23-2012, 09:23 PM
amrbekhit amrbekhit is offline
Junior Member
 
Join Date: Oct 2010
Location: UK
Posts: 21
amrbekhit is on a distinguished road
Default

@Caradhras: That's a good idea. My aim is to complete the standalone application first, as everyone can use that. Once that's complete, I can look into turning it into a plugin.

In any case, the source code is available on SourceForge, so if anyone already has some Eclipse plugin development experience, they're more than welcome to use the code. The classes for parsing the file, modifying variables and saving the changes are complete. I would imagine most of the plugin development would go into creating the UI.

Amr
Reply With Quote
  #8  
Old 05-06-2012, 07:29 PM
Squonk Squonk is offline
Junior Member
 
Join Date: May 2012
Location: Bordeaux, France
Posts: 2
Squonk is on a distinguished road
Thumbs up Congratulations!

@amrbekhit Congratulations! Very useful work, I always wondered what were these strange comments... I just found out today, then stumbled upon your post.

But this is not restricted to CMSIS: it is also used in the Keil USB stack for LCP1343, for example: see usbcfg.h in the usbhid example.

I completely agree with @Caradhras, this would be very useful as an Eclipse plugin. Unfortunately, I am not experienced enough to carry the job by myself.

My 2 cents: I would rather have a 2-column display (option/value), rather than a single bottom panel, just like the original setup in Keil's µVision:
Reply With Quote
  #9  
Old 05-06-2012, 07:35 PM
amrbekhit amrbekhit is offline
Junior Member
 
Join Date: Oct 2010
Location: UK
Posts: 21
amrbekhit is on a distinguished road
Default

Hi Squonk,

Thanks for your feedback. I fully agree with you about having a two column display. Another user has already made the same suggestion to me. The current layout was simply the easiest and quickest way and allowed me to finish the first version and get it out on the web. I am slowly working on modifying the UI so that it is similar to Keil and I hope to finish that sometime in the not too distant future.

Amr
Reply With Quote
  #10  
Old 05-06-2012, 07:42 PM
Squonk Squonk is offline
Junior Member
 
Join Date: May 2012
Location: Bordeaux, France
Posts: 2
Squonk is on a distinguished road
Lightbulb tutorial for Eclipse Plugin integration/JFace editable table

I found these 3 links interesting:EDIT: Also this fourth link on Eclipse Plugin Editors Tutorial.

Last edited by Squonk; 05-06-2012 at 08:52 PM.
Reply With Quote
Reply

Tags
cmsis, configuration, keil, uvision, wizard

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 02:02 PM.