Go to Post Start simple and build up. - Mark McLeod [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
  #16   Spotlight this post!  
Unread 11-02-2007, 00:52
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Development on OS X

Quote:
Originally Posted by AustinSchuh View Post
Where is a sample makefile for a non-managed build? I am getting errors with my current one. The robot will sometimes boot up with a red light for the program state, but will work fine after a reset. I am using Debian and Wine.
Someone wrote a makefile generator using python. Search for it.
  #17   Spotlight this post!  
Unread 11-02-2007, 02:28
Ben Englert Ben Englert is offline
Registered User
FRC #1072
 
Join Date: Jan 2006
Location: San Jose CA
Posts: 40
Ben Englert has a spectacular aura aboutBen Englert has a spectacular aura aboutBen Englert has a spectacular aura about
Re: Development on OS X

Yeah, I always thought it was a bit of a copout - IFI, claiming to support technical innovation and a variety of designs etc etc choosing the Microchip controller series, programmable only by a proprietary compiler that's limited to Windows, when there are alternatives like the Atmel ARM ones floating around that can be targeted by gcc on any platform.

Of course, now they get away with it, because Parallels/Boot Camp/WINE works on the x86 Macs.
__________________
Before a match at SVR, 3/17/06
Tatsu: "Yo Englert, what's our autonomous mode?"
Me: "We'll find out, won't we."
Both: *maniacal laughter*
After the match's autonomous period ends:
Me: "Well, the basic control system still responds. That's always good."
Both: *further laughter*
  #18   Spotlight this post!  
Unread 19-02-2007, 00:20
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: Development on OS X

I do not necessarily think that they can "get away" with anything. Unless FIRST wants to go around and supply teams with copies of Windows and a shiny new MacIntel, Parallels may not be an option for all.

On another note, I have always been a mac person (since 0s6), and have found that there are 4 approaches to this problem:

1. Buy an intel mac (seriously, thats what I did) and run WINE (or parallels)
2. Use DARWINE PPC. (It will probably be slow, however)
3. Buy a windows machine. (used, ebay, cheap)
4. Use an x86 machine at your school (and write the code on your mac)

Even though I do own a macintel, I usually just use option #4. Most of our code is based on the school machines anyway, so whatever I write at home, I just either bring in on a pen drive or upload it to an SVN repo. (or ftp server)


I hope this helps! If you have any more Mac questions... Well.... you can ask me

-Jordan

Last edited by neutrino15 : 19-02-2007 at 00:23. Reason: x86 != windows
  #19   Spotlight this post!  
Unread 05-03-2008, 02:02
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: Development on OS X

I downloaded the shtylman plugin for eclipse on my mac. It installed fine, and even allows me to create new projects with the mcc18 toolchain.. The odd thing is that no matter what code I write, it returns no errors and no hex file upon build.

Code:
make all 
Building file: ../main.c
Invoking: C18 Compiler
wine mcc18 -D_FRC_BOARD -Oi- -Om+ -On+ -Ou+ -Os+ -Ot+ -Ob+ -Od+ -Opa+ -pa=4 -Op+ -Or+ -Oa- -Ow+ -p=18F8722 -ms -w=2 -fo="main.o" "../main.c"
/bin/sh: /bin/wine: Permission denied
make: *** [main.o] Error 126
Yet when I run wine from terminal, it executes flawlessly.

Can someone point me to a linux guide for installing MCC18 under wine, and getting it to work with Eclipse? In a perfect world, another guide that could also show me how to get eclipse to load code and listen to the serial port after load!


Thanks

Last edited by neutrino15 : 05-03-2008 at 02:04.
  #20   Spotlight this post!  
Unread 05-03-2008, 10:32
Binome's Avatar
Binome Binome is offline
Programmer/Electronics/CAD
AKA: Patrick
FRC #2273 (SHIM)
Team Role: Leadership
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Surrey,BC
Posts: 105
Binome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of light
Re: Development on OS X

You could always set up mcc18 on a windows box, and connect via VNC and do things that way.
  #21   Spotlight this post!  
Unread 05-03-2008, 10:42
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: Development on OS X

Quote:
Originally Posted by Binome View Post
You could always set up mcc18 on a windows box, and connect via VNC and do things that way.
Well, that kinda defeats the purpose of using a mac anyway.
  #22   Spotlight this post!  
Unread 14-04-2008, 18:38
outpaddling outpaddling is offline
Registered User
no team
 
Join Date: Jan 2008
Location: USA
Posts: 6
outpaddling will become famous soon enough
Re: Development on OS X

You may want to look into SDCC. It has pretty good support for recent PIC controllers since v2.7, and runs on just about any platform.

I've been trying to work out how to program the VEX with it, and I think we're pretty close. Everything I know so far is posted on my WEB site:

http://personalpages.tds.net/~jwbacon/Ports/vex.html

Jason
  #23   Spotlight this post!  
Unread 19-04-2008, 02:33
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: Development on OS X

Now, Let's try and get the cRIO loading+debugging on the mac! I am sure it won't be too hard.. Especially if we can get Workbench to run under OSX (it runs under Linux and Solaris already)..

-Jordan
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
Eclipse Development Astronouth7303 Programming 39 16-12-2007 02:52
Development daramana Inventor 1 03-03-2005 08:07
Software Development Process? tcj103 Programming 5 08-02-2005 15:46
Website development tchescow Website Design/Showcase 3 31-12-2004 17:13
Development Program xxlshortys Team Organization 1 14-03-2004 12:33


All times are GMT -5. The time now is 03:56.

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