As Hannes Weisbach wrote: > So my question is if there is interest in adding such a function > (turning pin number into string names) to avrdude and if so, in > which file should it be placed best?
I think it would make most sense to extend the current function in avrpart.c, and export it. As all the other exported functions in that file start with avr_, so in order to reduce the namespace pollution (this file is part of the backend library), I suggest renaming the function into avr_pin_name() by the same time. It's only used once by now, so it's not a big effort to change the name. Please make it return a "const char *" (rather than just "char *"), too, as it returns a pointer to a constant string. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avrdude-dev