Closed
Description
Very weird bug: Hitting compile several times results in different flash usage, even with no change at all.
Used this IDE for linux64bit (okay I made some changes to the usb code, but this should not matter here. also I compiled this myself, just that you get an idea of the build date).
arduino/Arduino#3896 (comment)
I compiled for Arduino Mega. Uno and leonardo works fine.
Sketch size is between 7238 and 7246. Very useful for debugging and getting the last byte out of the code ;) (not)
The sketch (requires FastLED3.1 release, no dev version or sth like this)
(sketch edited and shrinked after some time)
// FastLED
#include "FastLED.h"
void setup() {
}
void loop() {
}
Arduino builder commands:
/Arduino/build/linux/work/arduino-builder -dump-prefs -logger=machine -hardware "/Arduino/build/linux/work/hardware" -hardware ".arduino15/packages" -hardware "/sketchbook/hardware" -tools "/Arduino/build/linux/work/tools-builder" -tools "/Arduino/build/linux/work/hardware/tools/avr" -tools ".arduino15/packages" -libraries "/sketchbook/libraries" -libraries "/Arduino/build/linux/work/libraries" -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10606 -build-path "/tmp/buildc0fbe65fc3436bea157b420c01dcd579.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "/tmp/arduino_c0fbe65fc3436bea157b420c01dcd579/sketch_oct03b.ino"
/Arduino/build/linux/work/arduino-builder -compile -logger=machine -hardware "/Arduino/build/linux/work/hardware" -hardware ".arduino15/packages" -hardware "/sketchbook/hardware" -tools "/Arduino/build/linux/work/tools-builder" -tools "/Arduino/build/linux/work/hardware/tools/avr" -tools ".arduino15/packages" -libraries "/sketchbook/libraries" -libraries "/Arduino/build/linux/work/libraries" -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10606 -build-path "/tmp/buildc0fbe65fc3436bea157b420c01dcd579.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "/tmp/arduino_c0fbe65fc3436bea157b420c01dcd579/sketch_oct03b.ino"
It seems this only happens with the mega and the FastLED3.1 library.
\cc @kriegsman and @focalintent
Metadata
Metadata
Assignees
Labels
No labels