avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [RFC] avrpart.c


From: Jan-Hinnerk Reichert
Subject: [avrdude-dev] [RFC] avrpart.c
Date: Sat, 22 Nov 2003 04:58:28 +0100
User-agent: KMail/1.5.1

Hi all,

I think it might be a good idea to move elementary operations on 
AVRPART and AVRMEM-variables to a new file "avrpart.c".
Right now these functions are defined in avr.c and main.c

This should increase readability. Perhaps we can even drop the 
"#include <avr.h>" from the programmers this way.

e.g. avr_locate_mem in "avr.c" is called from "stk500.c".

Functions I would like to move are (might be missing some):
main.c:
  locate_part()
  list_parts()
avr.c:
  avr_new_part()
  avr_new_opcode() ?
  avr_new_memtype()
  avr_dup_mem()
  avr_dup_part()
  avr_locate_mem()

/Jan-Hinnerk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]