Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FOR %%I IN (.) DO SET projekt=%%~nI%%~xI
- C:\avr\bin\avr-gcc -c -mmcu=atmega32 -Wall -Werror -Os -DF_CPU=16000000UL %projekt%.c -o %projekt%.o
- IF %ERRORLEVEL% EQU 0 (
- C:\avr\bin\avr-gcc -mmcu=atmega32 %projekt%.o -o %projekt%.elf
- C:\avr\bin\avr-objcopy -O ihex -R .eeprom %projekt%.elf %projekt%.hex
- C:\"Program Files"\KamPROGAVR\KamPROGAVRc -d -f %projekt%.hex
- )
- cmd /k
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement