![]() |
Makefile for programming under Windows with cygwin
1 Attachment(s)
I have been forced into the unfortunate situation of having to program the robot under Windows this year. I also can not stand the MPLAB IDE. This is why I wrote this makefile, so I could program the robot with Vim, and use cygwin/make to compile it. (For those of you who don't know, cygwin allows you to use most common Linux commands from Windows. You can get it here: http://www.cygwin.com/)
If my server is up, you can see an pretty HTML version of the makefile here --> http://wolever.no-ip.com/makefile.html If its down, I have attached the original makefile so you can use that. You shouldent have to modify it too much - the only thing you will have to change for sure is the path to your code (unless you keep your code in c:\robotics\FrcCode\) I hope this helps! |
Re: Makefile for programming under Windows with cygwin
Very cool, thanks for you help guys.
|
Re: Makefile for programming under Windows with cygwin
Thanks a ton. I strongly disliked the IDE too, but never was able to write makefiles that worked for unknown reasons... :)
|
Re: Makefile for programming under Windows with cygwin
I don't like MPLAB much, but it's good enough. (I've worked with worse; BrixCC, MSW LOGO, Notepad...). But I do need an excuse to learn Linux.
|
Re: Makefile for programming under Windows with cygwin
During Nationals, I modded this makefile, and mine is a bit 'fancier'. It's well-commented, and needs a bit of editing to remove 245-specific code (i.e. trig.c arm.c arm.h, etc)
Oh yeah, try "make me a sandwich". DONT ASK!!! Code:
|
Re: Makefile for programming under Windows with cygwin
nice work *gives thumbs up*
When I get to it with my grade 9ns who I am teaching C (this year I was the only programmer on our team) I will fix up my version to support sandwitch and header files (I didnt do much work with header files, so I forgot I had to include them). Im glad you guys like it thou |
Re: Makefile for programming under Windows with cygwin
Very, very, nice work.
I should be able to convince the Windows-Nazi Administration at my school to LFS (yeah, I guess that's a verb now) the laptop they gave me. If not, this will provide me solice. Oh, and while I'm at it: Emacs sucks Anyone care to start the editor holy war thread? ;) |
Re: Makefile for programming under Windows with cygwin
Quote:
|
Re: Makefile for programming under Windows with cygwin
But I would love to scrape the Apple logo off and run Redhat. (And OS X is unix based)
|
Re: Makefile for programming under Windows with cygwin
Quote:
|
Re: Makefile for programming under Windows with cygwin
In preparation for the new FIRST season, I'm rewriting the makefile to run under Linux, calling MCC with wine when necessary. I'm also working on a LiveCD that'll include the PBASIC Stamp editor and MCC (in some fashion) and wine.
|
Re: Makefile for programming under Windows with cygwin
Quote:
|
Re: Makefile for programming under Windows with cygwin
Quote:
|
Re: Makefile for programming under Windows with cygwin
Quote:
|
Re: Makefile for programming under Windows with cygwin
Quote:
The version of C18 that they provided us (C-Bot) is a stripped version of mcc -- its hex files are IFI-specific -- they will not run on any old PIC18Fxxxx Furthermore it does _NOT_ come with a license agreement on the CD. I've contacted both IFI and Microchip, asking about licensing & permission to distribute the .exe on a LiveCD. |
| All times are GMT -5. The time now is 00:15. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi