NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Customer Testimonials » How do I create a new file to execute on the Nerdkits?
December 26, 2014 by Keek |
As of now, I have been using the files that are part of the download to create new programs. If I want to create a new program, I have to modify the code of the file itself, and I cannot save the old file. If I want to create a new file in a different language, how would I do that? I can create the file, but how would I create the makefile to execute it? |
---|---|
December 26, 2014 by scootergarrett |
I don't know about 'a different language' , like not written in C? I used to just make a copy of a folder like the initialload folder; then make sure there were no .o of .hex files. I would change the program name to something usefull (with no spaces). Then replace the old program file name in the Makefile to the new program name. |
December 27, 2014 by Ralphxyz |
Why can't you save the old file? Just make a copy of it before you change it. Initialload.c copies to Initialload.ORG Ralph |
December 27, 2014 by JimFrederickson |
I would suggest keeping "ALL" of your files in a Foler/Sub-Folder Arrangement. For me I have "2 Levels":
I think that will get rid of any issues with "I cannot save the old file". This also enables you to "easily" keep a "working version". So you don't end up in a Somtimes, when you are putting in changes you change things here, and change things I often find a "known good Version" is much easier to go back to and then more If you want to go further, you can rename the files, change the Make File, but that As far as "other Languages" you really only have the 2 choices. Other ones do exist, but I don't really find them practical on a small Microcontroller. Most Basics and Forth Languages for a Microcontroller are "Interpretive" so the process |
November 24, 2015 by JKITSON |
HAPPY THANKSGIVING every one. |
November 25, 2015 by Rick_S |
You too Jim, and everyone else as well. Good day to eat too much, rest, enjoy family... and then eat leftovers for days to come. |
November 25, 2015 by BobaMosfet |
Happy Thanksgiving to all-- be safe, enjoy family, friends, and amazing food! BM |
November 25, 2015 by Ralphxyz |
Thanks, Happy Thanksgiving everyone!! |
Please log in to post a reply.
Did you know that NerdKits believes in the importance of a mixture of meaningful topics, clear instruction, and engaging projects? Learn more...
|