We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Makefile generated when calling avr-project throws an error when calling avr-size.
When make is called in a project directory the source files are compiled, however avr-size throws an error regarding the arguments passed to it.
make
avr-size
/usr/local/CrossPack-AVR-20170210/bin/avr-gcc -Wall -Os -DF_CPU=8000000 -mmcu=attiny85 -c main.c -o main.o /usr/local/CrossPack-AVR-20170210/bin/avr-gcc -Wall -Os -DF_CPU=8000000 -mmcu=attiny85 -o main.elf main.o rm -f main.hex /usr/local/CrossPack-AVR-20170210/bin/avr-objcopy -j .text -j .data -O ihex main.elf main.hex /usr/local/CrossPack-AVR-20170210/bin/avr-size --format=avr --mcu=attiny85 main.elf /usr/local/CrossPack-AVR-20170210/bin/avr-size: invalid argument to --format: avr Usage: /usr/local/CrossPack-AVR-20170210/bin/avr-size [option(s)] [file(s)] Displays the sizes of sections inside binary files If no input file(s) are specified, a.out is assumed The options are: -A|-B|-G --format={sysv|berkeley|gnu} Select output style (default is berkeley) -o|-d|-x --radix={8|10|16} Display numbers in octal, decimal or hex -t --totals Display the total sizes (Berkeley only) --common Display total size for *COM* syms --target=<bfdname> Set the binary file format @<file> Read options from <file> -h --help Display this information ` -v --version Display the program's version` /usr/local/CrossPack-AVR-20170210/bin/avr-size: supported targets: elf32-avr elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin make: *** [main.hex] Error 1
When make is called in a project directory the source files are compiled and no errors are thrown.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
The Makefile generated when calling avr-project throws an error when calling avr-size.
Current Behaviour
When
make
is called in a project directory the source files are compiled, howeveravr-size
throws an error regarding the arguments passed to it.Desired Behaviour
When
make
is called in a project directory the source files are compiled and no errors are thrown.The text was updated successfully, but these errors were encountered: