Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@Justme, oh, I know, but I want to implement it universally, for every AVR microcontroller, using the preprocessor, maybe io.h somehow can help me to do it? Maybe I will use a table with information about the pin, ADC support, ADC number, etc, but I need to get this information every compilation time, in depend on a microcontroller to compile a program to.
@MarcusMüller, so, how can I see the size of the program that will end up on the microcontroller? avrdude writes as much as the avr-size outputs: avrdude: 548 bytes of flash written