Mahavir Singh@SurfaceBook MINGW64 ~/Desktop $ make make: *** No targets specified and no makefile found. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop $ make cc makefile.c -o makefile process_begin: CreateProcess(NULL, cc makefile.c -o makefile, ...) failed. make (e=2): The system cannot find the file specified. make: *** No targets specified and no makefile found. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop $ avrdude -p t44 -P usb -c usbtiny -U lfuse:w:0x5E:m avrdude.exe: Error: Could not find USBtiny device (0x1781/0xc9f) avrdude.exe done. Thank you. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop $ avrdude -p t44 -P usb -c usbtiny -U flash:w:$(PROJECT).c.hex bash: PROJECT: command not found avrdude.exe: Error: Could not find USBtiny device (0x1781/0xc9f) avrdude.exe done. Thank you. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop $ make cc makefile.c -o makefile process_begin: CreateProcess(NULL, cc makefile.c -o makefile, ...) failed. make (e=2): The system cannot find the file specified. make: *** No targets specified and no makefile found. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop $ make makefile:1: *** missing separator. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop $ Make makefile:1: *** missing separator. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop $ cd yo Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make make: *** No rule to make target `hello.arduino.328P.blink.c', needed by `hello.arduino.328P.blink.out'. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make make: *** No rule to make target `Makefile.c', needed by `Makefile.out'. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make avr-gcc -mmcu=atmega328p -Wall -Os -DF_CPU=20000000 -I./ -o Makefile.out Makefile.c avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-bsd avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -c bsd -U flash:w:Makefile.c.hex avrdude: can't open device "giveio" avrdude: failed to open parallel port "lpt1" make: *** [program-bsd] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-dasa avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -P /dev/ttyUSB0 -c dasa -U flash:w:Makefile.c.hex avrdude: ser_open(): can't open device "/dev/ttyUSB0": The system cannot find the path specified. avrdude: serbb_setpin(): SetCommState() failed: The handle is invalid. make: *** [program-dasa] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-avrisp2 avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -P usb -c avrisp2 -U flash:w:Makefile.c.hex avrdude: usbdev_open(): did not find any USB device "usb" make: *** [program-avrisp2] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-avrisp2-fusesmake program-avrisp2-fusesmake program-avrisp2-fusesmake program-avrisp2-fuses make: *** No rule to make target `program-avrisp2-fusesmake'. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-avrisp2-fuses avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -P usb -c avrisp2 -U lfuse:w:0x56:m avrdude: usbdev_open(): did not find any USB device "usb" make: *** [program-avrisp2-fuses] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-usbtiny avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -P usb -c usbtiny -U flash:w:Makefile.c.hex avrdude: Error: Could not find USBtiny device (0x1781/0xc9f) avrdude done. Thank you. make: *** [program-usbtiny] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-usbtiny-fuses avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -P usb -c usbtiny -U lfuse:w:0x56:m avrdude: Error: Could not find USBtiny device (0x1781/0xc9f) avrdude done. Thank you. make: *** [program-usbtiny-fuses] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-usbtiny avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -P usb -c usbtiny -U flash:w:Makefile.c.hex avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you. make: *** [program-usbtiny] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-usbtiny avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -P usb -c usbtiny -U flash:w:Makefile.c.hex avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you. make: *** [program-usbtiny] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make program-usbtiny avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) avrdude -p atmega328p -P usb -c usbtiny -U flash:w:Makefile.c.hex avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you. make: *** [program-usbtiny] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make upload make: *** No rule to make target `upload'. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atmega328p --format=avr Makefile.out AVR Memory Usage ---------------- Device: atmega328p Program: 184 bytes (0.6% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make avr-objcopy -O ihex Makefile.out Makefile.c.hex;\ avr-size --mcu=atiny44 --format=avr Makefile.out AVR Memory Usage ---------------- Device: Unknown Program: 184 bytes (.text + .data + .bootloader) Data: 0 bytes (.data + .bss + .noinit) Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make avr-gcc -mmcu=atiny44 -Wall -Os -DF_CPU=20000000 -I./ -o Makefile.out Makefile.c unknown MCU 'atiny44' specified Known MCU names: avr2 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny26 at90s4414 at90s4433 at90s4434 at90s8515 at90c8534 at90s8535 avr25 ata6289 attiny13 attiny13a attiny2313 attiny2313a attiny24 attiny24a attiny4313 attiny44 attiny44a attiny84 attiny25 attiny45 attiny85 attiny261 attiny261a attiny461 attiny461a attiny861 attiny861a attiny43u attiny87 attiny48 attiny88 at86rf401 avr3 at43usb320 at43usb355 at76c711 avr31 atmega103 avr35 at90usb82 at90usb162 atmega8u2 atmega16u2 atmega32u2 attiny167 avr4 atmega8 atmega48 atmega48a atmega48p atmega88 atmega88a atmega88p atmega88pa atmega8515 atmega8535 atmega8hva atmega4hvd atmega8hvd at90pwm1 at90pwm2 at90pwm2b at90pwm3 at90pwm3b at90pwm81 avr5 atmega16 atmega16a atmega161 atmega162 atmega163 atmega164a atmega164p atmega165 atmega165a atmega165p atmega168 atmega168a atmega168p atmega169 atmega169a atmega169p atmega169pa atmega16c1 atmega16hva atmega16hva2 atmega16hvb atmega16m1 atmega16u4 atmega32 atmega323 atmega324a atmega324p atmega324pa atmega325 atmega325p atmega3250 atmega3250p atmega328 atmega328p atmega329 atmega329p atmega329pa atmega3290 atmega3290p atmega32c1 atmega32hvb atmega32m1 atmega32u4 atmega32u6 atmega406 atmega64 atmega640 atmega644 atmega644a atmega644p atmega644pa atmega645 atmega645a atmega645p atmega6450 atmega6450a atmega6450p atmega649 atmega649a atmega649p atmega6490 atmega6490a atmega6490p atmega64c1 atmega64m1 atmega64hve at90can32 at90can64 at90pwm216 at90pwm316 at90scr100 at90usb646 at90usb647 at94k avr51 atmega128 atmega1280 atmega1281 atmega1284p atmega128rfa1 at90can128 at90usb1286 at90usb1287 m3000f m3000s m3001b avr6 atmega2560 atmega2561 avrxmega2 atxmega16a4 atxmega16d4 atxmega32d4 avrxmega3 atxmega32a4 avrxmega4 atxmega64a3 atxmega64d3 avrxmega5 atxmega64a1 avrxmega6 atxmega128a3 atxmega128d3 atxmega192a3 atxmega192d3 atxmega256a3 atxmega256a3b atxmega256d3 avrxmega7 atxmega128a1 avr1 at90s1200 attiny11 attiny12 attiny15 attiny28 Makefile.c:1: error: MCU 'atiny44' supported for assembler only In file included from Makefile.c:10: c:/winavr-20100110/lib/gcc/../../avr/include/avr/io.h:404:6: warning: #warning "device type not defined" Makefile.c: In function 'main': Makefile.c:30: error: 'CLKPR' undeclared (first use in this function) Makefile.c:30: error: (Each undeclared identifier is reported only once Makefile.c:30: error: for each function it appears in.) Makefile.c:30: error: 'CLKPCE' undeclared (first use in this function) Makefile.c:31: error: 'CLKPS3' undeclared (first use in this function) Makefile.c:31: error: 'CLKPS2' undeclared (first use in this function) Makefile.c:31: error: 'CLKPS1' undeclared (first use in this function) Makefile.c:31: error: 'CLKPS0' undeclared (first use in this function) Makefile.c:35: error: 'PORTB' undeclared (first use in this function) Makefile.c:35: error: 'PB5' undeclared (first use in this function) Makefile.c:36: error: 'DDRB' undeclared (first use in this function) make: *** [Makefile.out] Error 1 Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make makefile:1: *** missing separator. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make avr-gcc -mmcu=attiny44 -Wall -Os -DF_CPU=20000000 -I./ -o main.out main.c avr-objcopy -O ihex main.out main.c.hex;\ avr-size --mcu=attiny44 --format=avr main.out AVR Memory Usage ---------------- Device: attiny44 Program: 706 bytes (17.2% Full) (.text + .data + .bootloader) Data: 64 bytes (25.0% Full) (.data + .bss + .noinit) Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make -f main.c.hex make: *** No targets. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make -f main.c.hex program-usbtiny make: *** No rule to make target `program-usbtiny'. Stop. Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ sudo make -f makefile program-usbtiny bash: sudo: command not found Mahavir Singh@SurfaceBook MINGW64 ~/Desktop/yo $ make -f makefile program-usbtiny avr-objcopy -O ihex main.out main.c.hex;\ avr-size --mcu=attiny44 --format=avr main.out AVR Memory Usage ---------------- Device: attiny44 Program: 706 bytes (17.2% Full) (.text + .data + .bootloader) Data: 64 bytes (25.0% Full) (.data + .bss + .noinit) avrdude -p t44 -P usb -c usbtiny -U flash:w:main.c.hex avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e9207 avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "main.c.hex" avrdude: input file main.c.hex auto detected as Intel Hex avrdude: writing flash (706 bytes): Writing | ################################################## | 100% 0.97s avrdude: 706 bytes of flash written avrdude: verifying flash memory against main.c.hex: avrdude: load data flash data from input file main.c.hex: avrdude: input file main.c.hex auto detected as Intel Hex avrdude: input file main.c.hex contains 706 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 0.62s avrdude: verifying ... avrdude: 706 bytes of flash verified avrdude done. Thank you.