From: Thomas H. <th...@in...> - 2008-08-14 19:47:49
|
Hi Niels, as you said something about make and makefiles I assume that your sample project uses a makefile (if not you may skip the rest of my reply and I would need more information to track your problem down) With Eclipse / CDT / AVR plugin you don't need a makefile, as Eclipse will generate one for you automatically. What you could do is go through the included tutorial (Help -> AVR Eclipse Plugin -> Getting Started) to create a new project. If you can build this new project you are in good shape and you can try to copy all *.c and *.h files from your non-working blinking LED project to the new project. As I assume that your blinkenlight program is rather simple it should build right away. brgds, Thomas Niels Wolf wrote: > Hey. > > I am nearly so new to microcontrolers, C and AVR-Eclipse that you > would think my skin is really soft and pink and i look like a little > naked rat. > > I know basics of electronics and arduino and managed to program a > attiny with avr-studio. I also managed to upload *.hex with avrdude on > the commandline. I managed to get my c project build but not uploaded > in kontrollelab, that would not see my mk2. I installed avr-plugin, > the toolchain on linux and created a new c-avr project. so far so > good.. i watched this: http://www.vimeo.com/1213811 but thats not > really telling anything. i also looked at screenshots and the wiki.. > > But I cant get my simple blinking led project build in eclipse.. i get > some no target error, i created one with right mouseclick on the > project as stated in the help, problem remains. also all my includes > go red, though the header files are in the include folder (if that > means anything)... I know eclipse pretty well from developing java, > web stuff etc. but thats different. i know ant but not so much of > make. I know c from the arduino platform, though thats a bit > different, too. i know some c++ from the openframeworks platform, even > more different. > > so here comes my big HELP.. can anybody point me out to a avr-eclipse > 'my first project' tutorial or anything similar like my first most > simple c project in in eclipse. with sections like "what can go wrong > and why and how to fix it". anything else that would get me up to > speed and understanding is also very welcome.. i do this after work, > so i only have around 2 hours a day, which is why i am here. > > thanks so much.. > > Niels > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > avr-eclipse-user mailing list > avr...@li... > https://lists.sourceforge.net/lists/listinfo/avr-eclipse-user > > |