From bc153833da6501469f2080a2002f1f2a256877b9 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Tue, 14 Oct 2008 09:44:17 +0000 Subject: [PATCH] Generating .eep files again without warnings if EEMEM isn't used. --- app/Compiler.java | 4 +--- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Compiler.java b/app/Compiler.java index 248b9266c..56ab44d9b 100644 --- a/app/Compiler.java +++ b/app/Compiler.java @@ -210,21 +210,19 @@ public class Compiler implements MessageConsumer { List commandObjcopy; - /* // Extract EEPROM data (from EEMEM directive) to .eep file. - // Commented out because it generates a warning if EEMEM isn't used. commandObjcopy = new ArrayList(baseCommandObjcopy); commandObjcopy.add(2, "ihex"); commandObjcopy.set(3, "-j"); commandObjcopy.add(".eeprom"); commandObjcopy.add("--set-section-flags=.eeprom=alloc,load"); + commandObjcopy.add("--no-change-warnings"); commandObjcopy.add("--change-section-lma"); commandObjcopy.add(".eeprom=0"); commandObjcopy.add(buildPath + File.separator + sketch.name + ".elf"); commandObjcopy.add(buildPath + File.separator + sketch.name + ".eep"); if (execAsynchronously(commandObjcopy) != 0) return false; - */ commandObjcopy = new ArrayList(baseCommandObjcopy); commandObjcopy.add(2, "ihex"); diff --git a/readme.txt b/readme.txt index 9130175a0..2a571ddf5 100644 --- a/readme.txt +++ b/readme.txt @@ -48,6 +48,8 @@ UPDATES 0013 +* Working around problem that caused PWM output on pins 5 and 6 to never go + to 0 (causing, for example, an LED to continue to glow faintly). * Removing cast macros, since function-style casts are a feature of C++. * Fixing bug in random() that limited the ranges of values generated. Thanks to Mikal Hart.