compiling libs for gcc-avr???

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi,
i guess this is more general gcc question
i downloaded some libs for uart and lcd (from http://homepage.sunrise.ch/mysun...), they came as (for instance) lcd.h, lcd.c and test-lcd.c , the last file is test for previous two and is not big importance to me, so where do i put these files?? in c:\winavr\avr\include\avr are only *.h files, where does *.c go??? could those two be compiled as *.o file? (uh, im kind of beginner so dont flame me if i said something stupid with this)
thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just drop them into your project's directory, and lcd.c to the SRCS
macro in your Makefile.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.