Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
I would read it and benefit from it. It's one of the things stopping me from writing my own code from scratch
QuoteI would read it and benefit from it. It's one of the things stopping me from writing my own code from scratchI'm all for the tutorial, but I don't know why make files should stop you. You can simply let GCC generate them for you just adjust three parameters in configuration options in AVR Studio. Those parameters are your clock frequency, the device, and the level of optimization.
What do you mean by "You can simply let GCC generate them for you"? Makefiles?
QuoteWhat do you mean by "You can simply let GCC generate them for you"? Makefiles?As long as you do not select use an external makefile, in the configuration files of AVR Studio, GCC is automatically generating a makefile for you. Either way knowing how to create makefiles sounds like a valuable skill to have. I'm all for the tutorial.
the generator can be found in wherever gcc is \utils\bin\make.exe this is the makefile plugin to AVR Studio. I tried something new too, if you look in the build pull down menu of AVR Studio you will see export makefile. This will give you the makefile for your project. Here is mine that was generated. I think I kinda understand whats going on in there.
make is the Makefile interpreter. It reads a Makefile and perform the actions described in it. AVR Studio is probably the one generating the Makefile. It will all become clear with my tutorial, hopefully :p