I do a lot of Avr c programming and test most of it on Arduino boards, but I always use my favorite Avr c compiler I've used for a decade from Imagecraft. Last couple of years, Imagecraft has not released new versions for the great new Avrs that are faster and just better. I'd like to see a "Kit" that will allow a developer to create a GCC AVR C compiler from the latest GCC AVR releases of compiler and libc releases and the developer can use his Favorite Editor like CodeVision or Eclipse or Notepad++ and a bunch of bat files that let one make a project directory, edit up the project c and h source files and type make and out comes a hex file in the current directory. There seems to be several compsci types that have released a paper like this. I have tried this using the file that describes how to use codevision for c on Avrs but the devil is in the details. I'd actually pay an amount in the several tens of dollars for a ready-to-download version of this kit for either Avrs, RiPiPicos, ESPs, or ARMs. If there is a pdf file that describes how to do this with the latest GCCAVR version and notepad++, please reply and mention the link. If other Arduino users would like to use a c compiler and use printf with formatted floats and port and bit number macros in c rather than pin numbers like the arduino compiler, maybe Arduino can cobble up a First Item as a prototype? Thanks for reading about my idea.
Imagecraft couldn't compete with free gcc, and is essentially out of business
I'd like to see a "Kit" that will allow a developer to create a GCC AVR C compiler from the latest GCC AVR releases of compiler and libc releases and the developer can use his Favorite Editor
I don't understand what you're asking for. There are numerous tutorials for how to build gcc for any particular processor, not to mention pre-built binaries from various sources (including Microchip.) And the cli utilities can be used with any IDE, given a bit of configuration. This is what the Arduino IDE does, it's what "Microchip Studio" does, and it's what "MPLABX" does, or you can just learn to create your own Makefiles (or equivalent) and eliminate the idea of a "project", and use whatever editor you want.
The Arduino IDE can use an external editor (see "Preferences"), and you can use full gcc and avr-libc features, completely ignoring "Pin Numbers" if you want. Pretty much all you lose is the ability to easily change compiler options.
Hi Bill. What I dont want to do is search for and evaluate the numerous tutorials on how to compile gcc-avr on a certain host for a certain cpu type. I'd love to read the step by step for the kit that will let me edit a project (list of c files). What I do want to do is the last sentence in your first para. The project is the files to compile and the steps to get a hex file are all invisible. I'd like to learn the gcc clib syntax and functions usage instead of learning how to compile the compiler modules. If you post a link to a set of these instructions, I'll give it a try. Thanks!
Hi, Arduino is What Kind of Coding Language? Arduino uses a variant of the C++ programming language. The code is written in C++ with an addition of special methods and functions. Moreover, when you create a 'sketch' (the name given to code files in this language), it is processed and compiled to machine language. Thank you
I'm glad we got that cleared up. THX.
a7
@lucipert will not be giving us the benefit of his/her expertise again and nor will the duplicate account that was created at the same time
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.