Author Topic: wizard programming guide  (Read 3875 times)

Offline Joerg

  • Multiple posting newcomer
  • *
  • Posts: 100
wizard programming guide
« on: April 01, 2008, 05:24:50 pm »
Hi,
I would like to make a wizard for ARM projects.
I think the AVR wizard is a good starting point.
I miss some fundamental information about wizard scripts.
For example when are the functions SetupProject and BeginWizard get called?
O.k. I can imagine for the second....
Are there any other functions needed by every wizard?
Couldn't find that in the Wiki.
Greets,
Joerg
It's never too late to fail!

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: wizard programming guide
« Reply #1 on: April 01, 2008, 06:05:02 pm »
I would like to make a wizard for ARM projects.
I think the AVR wizard is a good starting point.
I miss some fundamental information about wizard scripts.
For example when are the functions SetupProject and BeginWizard get called?
O.k. I can imagine for the second....
Are there any other functions needed by every wizard?
Couldn't find that in the Wiki.

SetupProject() would be called once the BeginWizard() finishes it's job. You need to add at least two wizard pages to setup a project through Wizard script. They are-
Code
Wizard.AddProjectPathPage();
Wizard.AddCompilerPage();
They should be placed inside BeginWizard() function.

Hope this helps.

Regards,

Biplab

P.S.: You'll have to bear with my late reply.
Be a part of the solution, not a part of the problem.

mariocup

  • Guest
Re: wizard programming guide
« Reply #2 on: April 01, 2008, 11:04:02 pm »
Hi rekisum,

I made already wizards for ARM, PowerPC and TriCore. But until now I commited only the TriCore wizard. I would like to adapt the ARM and PowerPC wizard to the TriCore structure before committing them. So perhaps you can have a look at the TriCore wizard and tell me if it fits for your needs and I will try to finish the existing ARM and PowerPC wizard and then we can discuss together how we can add you requirements to the wizards.
You are right the wizard docu at wiki is not very helpful. I would like to add some docu since I spent also a lot of time to understand how the wizards work and without being able to debug them, it is hard to find errors.
A the moment I do not have much time for that, but it is still on my growing todo-list. :D

Bye,

Mario


Offline Joerg

  • Multiple posting newcomer
  • *
  • Posts: 100
Re: wizard programming guide
« Reply #3 on: April 02, 2008, 10:31:20 am »
Hi everybody,

thanks for your reply.

The Tricore wizard goes far beyond than what I had in mind for an ARM wizard.
I don't think I need startup code for every ARM variant,
I wouldn't even now how to write/test it.
I see you use code from 'HighTec' which hopefully generates now license problem?
I think there is a setup tool freely available from Hitex 'Starteasy for ARM' that
uses GNU as tool chain.
I would like to have a wizard to setup a project with a standard makefile that
uses the Yagarto GNU toolchain and maybe sets up the debugger
for remote debugging with OpenOCD.
I think it's better I wait for your version ;-)
Maybe you can send me a prerelease so I can have a look and test/comment?
If you need help for special variants: we use STR7, AT91
and Cortex around here.
Don't know if I my email is visible here: rekisum (AT) web . de
Regards,
Joerg
It's never too late to fail!