Sleep Power Consumption - higher in Arduino 1.6.5 (vs 1.0.X) [+solution]

Started by Tomme, February 15, 2016, 11:22:45 AM

TomWS

Quote from: RobertBil on August 16, 2016, 12:05:30 PM
Hi..i am a new user here. In my case i found that 1.6.x compiler has more aggressive optimization directives, generating binary with an "rjmp" between sleep_bod_disable() and sei(), causing Brown Out Detector to not turn off (too many clock cycles, see datasheet page 45).  BOD uses about 20 uA.
Look at the entry two posts behind this one.  https://lowpowerlab.com/forum/moteino/sleep-power-consumption-higher-in-arduino-1-6-5-%28vs-1-0-x%29-%28solution%29/msg12702/#msg12702

Tom