SHARE
TWEET

Untitled

a guest May 25th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FOR %%I IN (.) DO SET projekt=%%~nI%%~xI
  2.  
  3. C:\avr\bin\avr-gcc -c -mmcu=atmega32 -Wall -Werror -Os -DF_CPU=16000000UL %projekt%.c -o %projekt%.o
  4.  
  5. IF %ERRORLEVEL% EQU 0 (
  6.     C:\avr\bin\avr-gcc -mmcu=atmega32 %projekt%.o -o %projekt%.elf
  7.     C:\avr\bin\avr-objcopy -O ihex -R .eeprom %projekt%.elf %projekt%.hex
  8.     C:\"Program Files"\KamPROGAVR\KamPROGAVRc -d -f %projekt%.hex
  9. )
  10.  
  11. cmd /k
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top