The procyon library is a set of .c .h file. Can anyoune please tell me how could I build them into .o, .a, .lib files so that I could link them in with AVR Studio?
You use a compiler to build them into object code files (.o). You use a librarian to combine the object modules into a library (also known as an "archive" in GNU tools parlance) (.a). I don't know what a .lib file is with the GNU toolchain.
EW, isn't there an automated approach for this?
Or what compiler should I use?
Anyways I got discouraged from using avrlib, becasue a simple print-to-usart-hello-world program got over 2Kb, and thats incredibly much!
Havr you already read this page about how to generate a library with avr-libc (part of the avr-gcc toolchain): http://www.nongnu.org/avr-libc/u...
Note, there is one typo on that page: "avr-as" should be "avr-ar"
© 2020 Microchip Technology Inc.