Go to Post I've worked with space based navigation and lever arms and planes and Kalman filters. .. and I have never, ever once considered looking up to navigate. - purduephotog [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2008, 09:32
bronxbomber92 bronxbomber92 is offline
Registered User
FRC #1551 (Grapes of Wrath)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Naples
Posts: 75
bronxbomber92 is an unknown quantity at this point
MPLAB alternatives?

MPLAB is a great IDE, except for it's text editor. It doesn't even indent for you, which is big pain in the butt. Being a Mac OS X guy, what alternative text editors (or IDEs) could be used?

HI-TIDE seems like a really nice IDE, but can it be used with mcc18 compiler? What are other people out there using?
  #2   Spotlight this post!  
Unread 19-01-2008, 13:02
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 416
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
Re: MPLAB alternatives?

Eclipse. Start by looking here:
http://www.chiefdelphi.com/media/papers/1729
If you search around these forums, you should find all of the information you need to get it running.
If you're trying to use your mac to do all of your programming, you'll have to figure out how to get the C18 compiler to run on OSX. People have done it on Linux, but I don't know about mac.
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics

2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...
  #3   Spotlight this post!  
Unread 19-01-2008, 20:23
Los Frijoles's Avatar
Los Frijoles Los Frijoles is offline
Stormin' Mormon
AKA: Kevin Cuzner
FRC #2062 (C.O.R.E.)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Waukesha, WI
Posts: 27
Los Frijoles has a spectacular aura aboutLos Frijoles has a spectacular aura about
Send a message via AIM to Los Frijoles
Re: MPLAB alternatives?

I personally use Notepad++ to write all my scripts and then I go into mplab just for compiling (press F10), even though I know how to run MCC18 out of a batch file.

Notepad++ supports about 30-ish different languages and does highlighting and colorizing of text depending on the file extension. It supports multiple documents open in the same window, split views on the same or different files at the same time, and collapsing of structures (e.g. any statement inside {'s can be collapsed much like a tree view). It also has a function browser built in (shows all the functions in the file), and can run an executable of your choice off the F5 key.
__________________
Community Of Robotic Engineers 2062





Blender totally pwns 3DS Max...

My life is here and here.

Cuznersoft Hardware and Software Development

Last edited by Los Frijoles : 19-01-2008 at 20:27.
  #4   Spotlight this post!  
Unread 19-01-2008, 21:34
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: MPLAB alternatives?

I like to use Vim in combination with make. For our version control we use Git.

All set up on Windows, make and git from Cygwin and the Windows version of vim.


I've heard reports of the compiler working under Wine. The OS X port should also be able to handle it.
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
  #5   Spotlight this post!  
Unread 19-01-2008, 22:07
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: MPLAB alternatives?

Quote:
Originally Posted by bronxbomber92 View Post
MPLAB is a great IDE, except for it's text editor. It doesn't even indent for you, which is big pain in the butt.
MPLAB 8.00 does auto-indent and has code folding and tabbed documents...

It's still no Eclipse as far as ease of use, but it has come a long way.
__________________
What place are we at? ... TODAI!
  #6   Spotlight this post!  
Unread 20-01-2008, 13:19
robbrad robbrad is offline
Registered User
FRC #1875 (Autonomato Autonomatons)
Team Role: Electrical
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Titusville
Posts: 37
robbrad is an unknown quantity at this point
Re: MPLAB alternatives?

I use the free Bloodshed Dev C++ editor for editing my code. The indentions are decent and the color coding is better in my oppinion. It's a Win32 complier so I still have to go through MPLAB to compile. I believe there is a Dev C++ for Mac. Dev C++ also changes the icons of the code files so it's a lot easier to find what your looking for without file extentions.
__________________
  #7   Spotlight this post!  
Unread 20-01-2008, 13:33
bronxbomber92 bronxbomber92 is offline
Registered User
FRC #1551 (Grapes of Wrath)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Naples
Posts: 75
bronxbomber92 is an unknown quantity at this point
Re: MPLAB alternatives?

Thanks for the suggestions. Eclipse or Visual Studio seems like the way to go.
  #8   Spotlight this post!  
Unread 20-01-2008, 19:13
sfs sfs is offline
Registered User
AKA: Steve Siirila
FRC #2220 (Blue Twilight)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Eagan, MN
Posts: 20
sfs is an unknown quantity at this point
Re: MPLAB alternatives?

Quote:
Originally Posted by bronxbomber92 View Post
MPLAB is a great IDE, except for it's text editor. It doesn't even indent for you, which is big pain in the butt. Being a Mac OS X guy, what alternative text editors (or IDEs) could be used?

HI-TIDE seems like a really nice IDE, but can it be used with mcc18 compiler? What are other people out there using?
MPLAB 7.20 (the one that comes on the CBOT CD) has several customizable editor options available after selecting an editor window (it's greyed out otherwise), among them "Auto Indent". By default it is turned off. Other useful options which can be turned on include "Line Numbers" and "Use Tabbed Window".
  #9   Spotlight this post!  
Unread 20-01-2008, 19:58
11Mort11's Avatar
11Mort11 11Mort11 is offline
Registered User
AKA: Alex Joss
FRC #0011 (MORT)
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Mount Olive
Posts: 94
11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold
Send a message via AIM to 11Mort11
Re: MPLAB alternatives?

we use codeblocks its has a lot if nice plugins
but its a pain to set up the compiler
  #10   Spotlight this post!  
Unread 20-01-2008, 20:03
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: MPLAB alternatives?

Personally, I use Eclipse for everything... I'd say it has some of the most convenient features around, including an auto-formatter, refactorer, definition/declaration finders, and a myriad of debugging tools. However, the project and builders are a pain to set up, but if you're willing to invest the time, it's worth it.
  #11   Spotlight this post!  
Unread 19-11-2008, 22:00
juan abba juan abba is offline
Registered User
no team
 
Join Date: Nov 2008
Location: brazil
Posts: 1
juan abba is an unknown quantity at this point
Red face Re: MPLAB alternatives?

hi psy_wombats

I am looking for your solution, which is to use Eclipse for everything... instead of MPLAB

I Have installed eclipse + CDT so far, and got lost trying to continue with GNU MAKR utilization

Do you have a small guideline how to proceed wiht the rest, especially on the area of the GNU MAKE and how to configure the directories in order to utilize the MAKE.

ALso, may you have an example of a PIF24FJ project, using THE mplab c30 C0MPILER, showing make file and directories configuration

thanks in advance


juan abba
  #12   Spotlight this post!  
Unread 21-11-2008, 10:24
rfrank's Avatar
rfrank rfrank is offline
Programmer
AKA: Russell Frank
FRC #0041 (RoboWarriors)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2007
Location: Somerset, New Jersey
Posts: 19
rfrank will become famous soon enough
Re: MPLAB alternatives?

@whitetiger0990: Why use cygwin instead of MSYS?

@juan abba: I did this once. My makefile looks like this:

Code:
rfrc : rfrc_41.o rfrc_main.o rfrc_init.o rfrc_interrupts.o
	mplink 18f8722.lkr rfrc_41.o ifi_frc_8722.lib rfrc_main.o rfrc_init.o \
    rfrc_interrupts.o //o rfrc

rfrc_41.o : rfrc_41.c rfrc_41.h rfrc_main.h
	mcc18 -Op- -fo rfrc_41.o rfrc_41.c

rfrc_main.o : rfrc_main.c rfrc_main.h
	mcc18 -Op- -fo rfrc_main.o rfrc_main.c 

rfrc_init.o : rfrc_init.c rfrc_init.h
	mcc18 -Op- -fo rfrc_init.o rfrc_init.c 

rfrc_interrupts.o : rfrc_interrupts.c rfrc_interrupts.h rfrc_main.h
	mcc18 -Op- -fo rfrc_interrupts.o rfrc_interrupts.c

clean :
	rm -rf *.o; rm -rf *.hex
	rm -rf rfrc
	rm -rf rfrc.cod
	rm -rf rfrc.lst
I wrote this when I was still bad at writing makefiles, so now I'd probably make a rule to compile all objects, but the above does work and is also a bit easier to understand, I think.

And, although my code was never tested (so it could be completely terrible and bad), you can find the entire repository here: svn://home.russfrank.net/development/team41_2008/rfrc/ . (If you need an SVN client for windows, try TortoiseSVN: http://tortoisesvn.tigris.org/) It does compile, but I never actually put it on an RC.

Hope this helps!
  #13   Spotlight this post!  
Unread 21-11-2008, 17:36
Abrakadabra Abrakadabra is offline
Here We Go !!!
AKA: Scott Kukshtel, Mr. K
FRC #3467 (The Windham Windup!)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2002
Location: Windham, New Hampshire
Posts: 160
Abrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant future
Re: MPLAB alternatives?

I set up Eclipse using the instructions posted on the (now old) WPILib site, here: http://users.wpi.edu/~bamiller/WPILib/

That setup uses Mingw, but the best parts are the two plugins that Brad provides: one for error parsing, and one that provides an mcc18 toolchain that lets you use a managed make project.

Also, you don't have to use WPILib to use that setup. I also was able to compile and run Kevin Watson's code with only a minimum of changes (basically just leave out the WPILib headers and libraries).

Overall, it is the simplest path I have found to getting Eclipse working with the mcc18 compiler.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ramp alternatives? Andrew1742 General Forum 6 25-01-2007 10:33
CMUcam2 alternatives? groves Technical Discussion 6 10-01-2007 10:09
Gear alternatives Booger Technical Discussion 6 23-07-2006 02:27
VEX Alternatives... 114gopher FIRST Tech Challenge 3 24-04-2005 20:02
using the MPLAB IDE MPLAB SIM simulator WizardOfAz Programming 1 03-11-2003 01:24


All times are GMT -5. The time now is 18:44.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi