NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Microcontroller Programming » More bootloading

December 29, 2019
by scootergarrett
scootergarrett's Avatar

I'm moving from my old computer where I had the bootload all set up to a new windows 10 computer. I copied all the files over and an running the same commands but getting an error. I think it has to do with the line '-L/usr/local/avr/avr/lib' in the code below. I don't know what this is linking to. On my old computer there is no directory /usr/local/avr/avr/lib but this line works on my old computer.

%.o: %.c Makefile
    avr-gcc -g -Os -mmcu=$(MCU) -std=gnu99 \
        -L/usr/local/avr/avr/lib \
        -Wl,--section-start=.text=$(BOOT_SECTION_START) \
        -Wl,--relax \
        $< -o $@ \
        -DF_CPU=$(F_CPU) -DBAUD=$(BAUD) -DMCU=$(MCU) \

Am I missing something on my new computer? THANKS

Post a Reply

Please log in to post a reply.

Did you know that you can aim and fire a servo-controlled water gun from your computer? Learn more...