From 7f67e0d0ee9483ea618c4b08806e4f9ae556b063 Mon Sep 17 00:00:00 2001 From: schodet Date: Thu, 24 Jun 2004 23:25:33 +0000 Subject: Ajout doc modules. --- n/avr/howto/Makefile | 2 +- n/avr/howto/howto-avr.txt | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'n/avr/howto') diff --git a/n/avr/howto/Makefile b/n/avr/howto/Makefile index bbc542e..f819a2d 100644 --- a/n/avr/howto/Makefile +++ b/n/avr/howto/Makefile @@ -33,7 +33,7 @@ $(PRG).elf: $(OBJECTS) $(OBJDUMP) -h -S $< > $@ clean: - rm -f *.o $(PRG).elf *.bak + rm -f *.o $(PRG).elf *.bak $(DOC) rm -f *.lst *.map $(EXTRA_CLEAN_FILES) rm -f $(PRG).hex $(PRG).bin $(PRG).srec $(PRG)_eeprom.hex $(PRG)_eeprom.bin $(PRG)_eeprom.srec diff --git a/n/avr/howto/howto-avr.txt b/n/avr/howto/howto-avr.txt index 4647123..7e5e626 100644 --- a/n/avr/howto/howto-avr.txt +++ b/n/avr/howto/howto-avr.txt @@ -22,7 +22,7 @@ analogiques, des sorties PWM... Le tout pour 6 Euros. bas. Il y a un programme d'exemple, mais on ne devrais pas manquer de programmes d'exemples au robot d'ici quelque jours. -* Les outils de dev. +* Les outils de dev Sur le serveur du robot : gcc. @@ -32,3 +32,10 @@ Pour la programmation, il y a avrdude, programmation de l'AVR avec 3 fils. Le fichier Makefile livré avec cet howto peut être utilisé pour compiler les projets. + +* Modules Efrei Robotique + +Chaque module est déposé dans son répertoire séparé. Pour les utiliser dans un +projet, il suffit de créer un |avrconfig.h| qui va bien et de compiler les +sources du module avec son projet. Pour bien, il faudrait automatiser tout ça +histoire de ne pas retrouver 5 fois le même code dans le CVS. -- cgit v1.2.3