Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anterior Revisão anterior Próxima revisão | Revisão anterior | ||
projetos:avr:inicio [2016/01/22 17:17] admin |
projetos:avr:inicio [2016/02/28 13:57] admin |
||
---|---|---|---|
Linha 7: | Linha 7: | ||
// | // | ||
+ | |||
+ | |||
+ | |||
+ | // | ||
+ | |||
+ | **4o. Encontro** : 21/ | ||
+ | * Inicio do projeto MiniGame Pong com avr e display de matriz de Leds | ||
+ | * Participantes: | ||
+ | * Log: | ||
+ | Foi separado o material inicial ( atmega8 , display de matriz de leds , breadboard, resistores) | ||
+ | * Referencias | ||
+ | * A tale of two pongs: http:// | ||
+ | * {{: | ||
+ | |||
+ | |||
+ | |||
+ | |||
**3o. Encontro** : 23/ | **3o. Encontro** : 23/ | ||
+ | |||
* Programando AVR ATMEGA8 em C , instalação do toolchain AVR-GCC . | * Programando AVR ATMEGA8 em C , instalação do toolchain AVR-GCC . | ||
* Comentários sobre a primeira semana do curso Embedded Systems Shape The World: https:// | * Comentários sobre a primeira semana do curso Embedded Systems Shape The World: https:// | ||
+ | * Participantes: | ||
- | * Links: | + | * Log : |
+ | Foi realizada a instalação do toolchain AVR-GCC para linux , compilação do programa de teste e gravação do arquivo hex no microcontrolador. | ||
+ | |||
+ | * Referencias | ||
* AVR toolchain for linux: http:// | * AVR toolchain for linux: http:// | ||
Linha 18: | Linha 40: | ||
* AVR toolchain for mac osx: http:// | * AVR toolchain for mac osx: http:// | ||
* Peter Fleury AVR Libraries: http:// | * Peter Fleury AVR Libraries: http:// | ||
- | * ledtest.c | + | * Codigos para testar a compilação. |
- | < | + | * http:// |
+ | * http:// | ||
+ | * sudo apt-get install libftdi1 libusb-dev libftdi-dev libelf-dev flex byacc bison build-essential | ||
+ | * http:// | ||
+ | |||
+ | |||
+ | < | ||
#define F_CPU 1000000UL | #define F_CPU 1000000UL | ||
Linha 44: | Linha 72: | ||
</ | </ | ||
+ | <file bash Makefile> | ||
+ | # our main target: | ||
+ | ledtest.hex: | ||
+ | avr-size | ||
+ | avr-objcopy -R .eeprom -O ihex ledtest.out ledtest.hex | ||
+ | # | ||
+ | # now all the small intermediate things that we need: | ||
+ | ledtest.out: | ||
+ | avr-gcc -g -mmcu=atmega8 -o ledtest.out -Wl, | ||
+ | # | ||
+ | # | ||
+ | ledtest.o: ledtest.c | ||
+ | avr-gcc -g -mmcu=atmega8 -Wall -Os -c ledtest.c | ||
+ | </ | ||
+ | |||
+ | * Commando para carregar o codigo hex no atmega8 | ||
+ | < | ||
+ | | ||
+ | </ | ||
+ | |||
+ | * Esquema de Teste com ATMEGA8 | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * Datasheets ATMEGA8 | ||
+ | |||
+ | Summary: http:// | ||
+ | |||
+ | Complete: http:// | ||
- | // | ||
**2o. Encontro** : 05/09/2015 - ARM, mBed e a compilação na nuvem. | **2o. Encontro** : 05/09/2015 - ARM, mBed e a compilação na nuvem. |