summaryrefslogtreecommitdiff
path: root/n
diff options
context:
space:
mode:
Diffstat (limited to 'n')
-rw-r--r--n/avr/howto/Makefile2
-rw-r--r--n/avr/howto/howto-avr.txt9
2 files changed, 9 insertions, 2 deletions
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.