From debfa9107d3c94c1534808fe9ca260b8f4521e30 Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Sun, 16 Mar 2008 10:15:38 -0600 Subject: [PATCH] Update README with current code sizes. --- Makefile | 14 +++++++------- README | 17 +++++++++-------- icc_c/Makefile | 1 - 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 7dd0c84..688d777 100644 --- a/Makefile +++ b/Makefile @@ -13,13 +13,13 @@ $(tester).exe: .PHONY: build build: tester-build - (cd gcc_c; make; make clean) - (cd gcc_cpp; make; make clean) - (cd gcc_cpp_obj; make; make clean) - (cd iar_c; make; make clean) - (cd iar_cpp; make; make clean) - (cd iar_cpp_obj; make; make clean) - (cd icc_c; make; make clean) + $(MAKE) -C gcc_c + $(MAKE) -C gcc_cpp + $(MAKE) -C gcc_cpp_obj + $(MAKE) -C iar_c + $(MAKE) -C iar_cpp + $(MAKE) -C iar_cpp_obj + $(MAKE) -C icc_c dist: tester-build build @chmod -x *.c *.h *.cpp README ChangeLog LICENSE diff --git a/README b/README index 87d1346..1c15365 100644 --- a/README +++ b/README @@ -1,5 +1,6 @@ AVR SERIAL_LCD C/C++ PROJECT Kevin M. Rosenberg +AVRFreaks.net member kmr ===================================================================== The home for this project is http://www.avrcode/serial_lcd/ @@ -9,7 +10,7 @@ Project created by Carl W. Livingston. I've rewritten the original firmware to add a number of features, add compatibility for IAR and GCC, and well as create two different C++ version. -Tthis project is also used to demonstrate how C code can be turned +This project is also used to demonstrate how C code can be turned into C++ classes and to view the resulting differences in assembly output. @@ -42,13 +43,13 @@ Code/Data Sizes (for 20080316 release) Compiler Code Data Notes --------- ---- ---- ----- -AVR-GCC C 720 48 -Os +AVR-GCC C 718 48 -Os AVR-GCC C++ 806 50 -Os AVR-GCC Obj 1574 72 -Os -IAR C 648 48 Size optimization high (+ 64 bytes stack) -IAR C++ 746 49 Size optimization high (+ 64 bytes stack) -IAR Obj 1130 65 Size optimization high (+ 63 bytes stack) -ICC7 C 834 48 Full optimizations +IAR C 622 48 Size optimization high (+ 64 bytes stack) +IAR C++ 762 49 Size optimization high (+ 64 bytes stack) +IAR Obj 1112 65 Size optimization high (+ 63 bytes stack) +ICC7 C 818 48 Full optimizations -Please consider forwarding suggestions, improvements, or bug fixes to -me. +I would appreciate submissions of suggestions, improvements, or bug +fixes. diff --git a/icc_c/Makefile b/icc_c/Makefile index dd575ab..05bb2e1 100644 --- a/icc_c/Makefile +++ b/icc_c/Makefile @@ -42,4 +42,3 @@ distclean: clean clean: @rm -f $(OBJECTS) $(PROJECT).dbg $(PROJECT).cof $(PROJECT).s \ $(PROJECT).cof $(PROJECT).lis - -- 2.34.1