Bootloader Make file error - help needed


hey all.

i have project , have been wanting change speed of clock bootloader.

inside make file of of bootloaders there line frequency
this 1 manipulating leonardo diskloader.

code: [select]

mcu = atmega32u4
avr_freq   = 16000000l


so can changed in text editor.

now, when go terminal , run 'make' on folder plenty of error when attempting recompile bootloader.

first: command gets autorun
code: [select]
avr-gcc -isrc/. -g -wall -os -mmcu=atmega32u4 -df_cpu=16000000l -darduino_model_pid=0x0034  -ffunction-sections -gdwarf-2 -fdata-sections -fno-split-wide-types -c src/./diskloader.cpp -md -o build/./diskloader.o

errors:
code: [select]
cc1plus: error: unrecognized command line option "-fno-split-wide-types"
code: [select]
unknown mcu 'atmega32u4' specified

and finally
code: [select]

src/./diskloader.cpp:1: warning: -ffunction-sections may affect debugging on targets
make: *** [build/./diskloader.o] error 1


has had success doing this?

well, can compiles here. can't test more.

maybe version of avr-gcc bit outdated.


Arduino Forum > Using Arduino > Programming Questions > Bootloader Make file error - help needed


arduino

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO