Is anyone using a Windows IDE?

Official FreeEMS vanilla firmware development, the heart and soul of the system!
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Is anyone using a Windows IDE?

Post by MotoFab »

I saw a couple of old threads on developing EWS code in Windows. Is anyone using a good IDE and running a simulator, set up in windows, to develop EWS code for the S12X controller?

There were mentions of Eclipse with some collection or another of various plugins and compiler. Or, maybe the free version of CodeWarrior will continue to work with the code size for a while.

The ideal thing would be an easy to install and maintain IDE, with a simulator. This while I become familiar enough with C to make some worthwhile contribution.

btw Do I understand it right that this is your first C project too, Fred?

- Jim
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Is anyone using a Windows IDE?

Post by Fred »

MotoFab wrote:Or, maybe the free version of CodeWarrior will continue to work with the code size for a while.
We are nearly double that limit already... forget that ;-)

Just use eclipse, its cross platform.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: Is anyone using a Windows IDE?

Post by MotoFab »

Fred wrote:We are nearly double that limit already... forget that ;-)

Just use eclipse, its cross platform.
Oh, I thought the code was just now reaching 32K, or that was prolly the tables only then.

I was hoping there was someone here using either CodeWarrior or Eclipse to help with the initial project setup, and processor variable setup, inside the IDE.

- Jim
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Is anyone using a Windows IDE?

Post by Fred »

MotoFab wrote:I was hoping there was someone here using either CodeWarrior or Eclipse to help with the initial project setup, and processor variable setup, inside the IDE.
There is no setup to do. The IDE is acting as a glorified editor in the most part. To actually build the project you just need gnu make and other simple cli tools.

Just download it and get it more or less building first.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: Is anyone using a Windows IDE?

Post by MotoFab »

Fred wrote:There is no setup to do. The IDE is acting as a glorified editor in the most part.

To actually build the project you just need gnu make and other simple cli tools.

Just download it and get it more or less building first.
For me, those items you mention qualify as needing some help to setup. As I do not have any idea what the terms are, except that gnu sounds like something for Linux. :-)

At this point, it is largely another language for me Fred. I was hoping to use a more 'fully managed' IDE like CodeWarrior. If I am to use Eclipse, which makes sense for an open source project, getting the application and project set up will require much hand-holding.

I'll download Eclipse and install it. eclipse-cpp-ganymede-SR1-win32.zip

- Jim
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Is anyone using a Windows IDE?

Post by Fred »

DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: Is anyone using a Windows IDE?

Post by MotoFab »

Thanks, I'll have a look at the links. I have the latest Eclipse installed now, and I'm watching a couple of hours of video tutorials. I'll post up later tonight and we'll see about what's needed to do a build.

- Jim
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Is anyone using a Windows IDE?

Post by Fred »

DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: Is anyone using a Windows IDE?

Post by MotoFab »

Right-o I'll install them and post up tonight.

- Jim
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Is anyone using a Windows IDE?

Post by Fred »

Change of tack.

The gcc package is correct, but the gnu stuff is not the best to use.

Also, the make that comes with gnuwin32 behaves slightly different to the linux one so a change of make file is required too.

Image

it builds fine though

install these :

Image

you can get gcc from where i said, but the other tools come from here :

http://gnuwin32.sourceforge.net/packages.html

make file attached, and will be in next release.

Fred.
Attachments
Makefile.windows.zip
(3.69 KiB) Downloaded 635 times
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply