Need Help with ATtiny10 LED Blink Code – Issues with Core Library and Programming

Hello everyone,

I’m encountering a problem while trying to flash an ATtiny10 microcontroller using an Arduino Uno as an ISP programmer. I am using Arduino IDE 1.8.9 and have followed the necessary steps to set up the ATtiny10 core library. However, I’m experiencing issues with the core library provided.

I’ve also tried programming the ATtiny10 using Atmel Studio and a USBasp programmer, but I’m still facing the same problem. The wiring connections appear to be correct, so I’m seeking assistance to resolve this issue




Bitduino_board.txt (2.7 KB)

ATtiny10 doesn't use "ISP programming", it uses something called "TPI"
AFAIK, neither USPasp nor Arduino as ISP supports TPI.

Maybe see https://make.kosakalab.com/make/electronic-work/arduino_tpi_en/ ?

(Please don't post screenshots of error messages. Cut and paste instead.)

I have followed instruction given in website . I have flashed arduino with software mentioned . when i open serial monitor . i could see attiny10 device being detected.


Now Setting are made as mentioned link

i have opened simple BlinkLed example code

Arduino: 1.8.9 (Windows 10), Board: "ATtiny10 (bitDuino10-arduinoTPI), 500KHz(Internal)"

Build options changed, rebuilding all
c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find crtattiny10.o: No such file or directory

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libm.a when searching for -lm

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lm

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0\libgcc.a when searching for -lgcc

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lgcc

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libm.a when searching for -lm

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lm

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libc.a when searching for -lc

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lc

c:/users/ajit.nayak87/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lattiny10

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board ATtiny10 (bitDuino10-arduinoTPI).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I get above compile error.
I have another core library technobogy and jamessleeman. where i could able build

#include <avr/io.h>
#include <util/delay.h>

#define F_CPU 1000000UL // Define CPU frequency as 1MHz

void InitIO() {
    DDRB |= (1 << PB2); // Set PB2 as output
}

int main() {
    InitIO();
    while (1) {
        PORTB |= (1 << PB2); // Turn on LED
        _delay_ms(1000);     // Delay for 1000 milliseconds (1 second)
        PORTB &= ~(1 << PB2); // Turn off LED
        _delay_ms(1000);     // Delay for 1000 milliseconds (1 second)
    }
    return 0;
}

This code but not able to flash. I am using arduino uno board to flash attiny10. Even i have USBasp driver installed with kit. let me know any one can support with flash.

if i use other code and librarybelow error will come

Arduino: 1.8.9 (Windows 10), Board: "ATtiny10, 8MHz, No (TPI Programmer Upload), Millis Available, No Tone, Better Or Equal 1.666% Error (Default), Bin Only Supported (Smallest), Half Duplex, Read+Write, LTO Enabled"

Build options changed, rebuilding all
Sketch uses 182 bytes (17%) of program storage space. Maximum is 1024 bytes.
Global variables use 4 bytes (12%) of dynamic memory, leaving 28 bytes for local variables. Maximum is 32 bytes.
Error while uploading: missing 'program.params.quiet' configuration parameter

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Could you follow this advice:

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I have followed instruction given in website

So... which "core" are you using to try to support ATtiny10? (which website are you referring to?)

Did you "downgrade" your Arduino implementation from a newer version to 1.8.9 in order to support an "only works with versions prior to xxx" recommendation for the tiny10? One possibility is that when you deleted the "newer" Arduino, it left behind a bunch of files in ...Appdata... that are too new for the board package you're using... This could be fixed by using a "portable" install of the older version. (Although, IMO any "core" that hasn't been updated since the 1.8.9 days isn't particularly trustworthy...)

PS: using https://make.kosakalab.com/make/electronic-work/arduino_tpi_en/ in a portable 1.8.9 install on my mac, A simple blink sketch compiles fine for me:

/Applications/Arduino1.8.9.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino1.8.9.app/Contents/Java/hardware -hardware /Applications/Arduino1.8.9.app/Contents/Java/portable/packages -tools /Applications/Arduino1.8.9.app/Contents/Java/tools-builder -tools /Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr -tools /Applications/Arduino1.8.9.app/Contents/Java/portable/packages -built-in-libraries /Applications/Arduino1.8.9.app/Contents/Java/libraries -libraries /Applications/Arduino1.8.9.app/Contents/Java/portable/sketchbook/libraries -fqbn=bitDuino10-aTPI:avr:bitDuino10ar-8:clock=internal-8 -ide-version=10809 -build-path /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281 -warnings=none -build-cache /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_cache_672685 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrboy.path=/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/tools/avrboy/1.0.1 -prefs=runtime.tools.avrboy-1.0.1.path=/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/tools/avrboy/1.0.1 -verbose /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_modified_sketch_86948/sketch_jul23a.ino
/Applications/Arduino1.8.9.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino1.8.9.app/Contents/Java/hardware -hardware /Applications/Arduino1.8.9.app/Contents/Java/portable/packages -tools /Applications/Arduino1.8.9.app/Contents/Java/tools-builder -tools /Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr -tools /Applications/Arduino1.8.9.app/Contents/Java/portable/packages -built-in-libraries /Applications/Arduino1.8.9.app/Contents/Java/libraries -libraries /Applications/Arduino1.8.9.app/Contents/Java/portable/sketchbook/libraries -fqbn=bitDuino10-aTPI:avr:bitDuino10ar-8:clock=internal-8 -ide-version=10809 -build-path /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281 -warnings=none -build-cache /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_cache_672685 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrboy.path=/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/tools/avrboy/1.0.1 -prefs=runtime.tools.avrboy-1.0.1.path=/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/tools/avrboy/1.0.1 -verbose /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_modified_sketch_86948/sketch_jul23a.ino
Using board 'bitDuino10ar-8' from platform in folder: /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0
Using core 'arduino' from platform in folder: /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0
Build options changed, rebuilding all
Detecting libraries used...
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch/sketch_jul23a.ino.cpp -o /dev/null
Generating function prototypes...
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch/sketch_jul23a.ino.cpp -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino1.8.9.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch/sketch_jul23a.ino.cpp -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch/sketch_jul23a.ino.cpp.o
Compiling libraries...
Compiling core...
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/wiring.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/wiring_analog.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_analog.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/wiring_shift.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_shift.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/wiring_time.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_time.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/wiring_digital.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_digital.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/avr-libc/malloc.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/avr-libc/malloc.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/avr-libc/realloc.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/avr-libc/realloc.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/WInterrupts.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/WInterrupts.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/wiring_pulse.c -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_pulse.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/Print.cpp -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/Print.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/WString.cpp -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/WString.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/Tone.cpp -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/Tone.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/new.cpp -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/new.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/main.cpp -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/main.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny10 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_bitDuino10ar-8 -DARDUINO_ARCH_AVR -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino -I/Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/variants/bitDuino10 /Applications/Arduino1.8.9.app/Contents/Java/portable/packages/bitDuino10-aTPI/hardware/avr/1.0.0/cores/arduino/WMath.cpp -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/WMath.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/Print.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/Tone.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/WInterrupts.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/WMath.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/WString.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/avr-libc/malloc.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/avr-libc/realloc.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/main.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/new.cpp.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_analog.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_digital.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_pulse.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_shift.c.o
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/wiring_time.c.o
Archiving built core (caching) in: /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_cache_672685/core/core_bitDuino10-aTPI_avr_bitDuino10ar-8_clock_internal-8_7eabdb4e04cf75a5c4f77e9b1ff86c2e.a
Linking everything together...
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -w -Os -Wl,--gc-sections -mmcu=attiny10 -o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch_jul23a.ino.elf /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch/sketch_jul23a.ino.cpp.o /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/core/core.a -L/var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281 -lm
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch_jul23a.ino.elf /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch_jul23a.ino.eep
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch_jul23a.ino.elf /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch_jul23a.ino.hex
/Applications/Arduino1.8.9.app/Contents/Java/hardware/tools/avr/bin/avr-size -A /var/folders/gv/zn3wcml52jq0vvjnd95j8g6h0000gp/T/arduino_build_954281/sketch_jul23a.ino.elf
Sketch uses 428 bytes (41%) of program storage space. Maximum is 1024 bytes.
Global variables use 0 bytes (0%) of dynamic memory, leaving 32 bytes for local variables. Maximum is 32 bytes.

i m using Arduino IDE version 1.8.9 as mentioned in website. Setup also made as per website. below are hard core library installed.

I am using Windows 10 Home Single Language os installed. atleast it should work for USBasp.
I have attiny85 device . i could able to flash firmware without any issue. But issue with attiny10