Go to Post I didn't say this! - Max Lobovsky [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 25-12-2006, 02:42
Nitinol's Avatar
Nitinol Nitinol is offline
Registered User
AKA: Syed Reza
FRC #1155 (Sciborgs)
Team Role: Programmer
 
Join Date: Jun 2005
Rookie Year: 2004
Location: New York
Posts: 6
Nitinol is an unknown quantity at this point
Portable IDE

Many of you may have already done this.
For me it started out with a desire to compile robotics code from my flash drive.
MPLAB took up too much space, and required installation, so i said to hell with it.

I already had perl installed on my flash drive and a relatively organized directory structure for programming and running applications off my flash drive. I have a Programs Directory where i keep my programs, and rely heavily on bat files to make and open up my programs, whether that's running a c compiler or a Perl interpreter.
I added the mcc18 compiler to my programs directory.
then it began with the creation of a small perlscript that
-read a resource file in the current directory to:
--find location of mcc18.exe the compiler
--find location of mplink.exe the linker
-generated the batch commands to compile the .c files
-generated the batch commands to link the .o files + .lkr + .lib files
-created the batch file which could now be used without Perl

and this worked well for a good amount of time, I could now compile the micro controller code from my flash drive.

i figure from this i could easily create an IDE of some sort. so i did, simple IDE like program in Perl using Tk, relies on whichever text editor is specified in the resource file (which in my case was notepad2, I rather like notepad2).

Regardless this works well, and runs completely independently off my flash drive, taking up approximately 131 megabytes (Perl interpreter + compiler).

the IDE program is stored in my Perl\projects folder and runs from there. the program is called from a batch file in every Project Folder (the folder where all the .c, .h, .lkr, .lib files are stored)



I'm still improving it, though it is fully functional. Let me know what you think.
 


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
portable controls w/o using tether halomaster69 Control System 22 16-10-2005 02:18
Dean Kamen's Portable Water Purifier Clark Gilbert Dean Kamen's Inventions 6 16-09-2005 15:17
Portable cordless drill press Gui Cavalcanti Technical Discussion 25 03-08-2003 22:21
Portable 12V Power Supplies? archiver 2000 2 24-06-2002 00:19


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

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