|
From: | Sylvain Rochet |
Subject: | [lwip-devel] [patch #7776] PPPoE printf-like functions eviction |
Date: | Mon, 07 May 2012 09:07:22 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4 |
URL: <http://savannah.nongnu.org/patch/?7776> Summary: PPPoE printf-like functions eviction Project: lwIP - A Lightweight TCP/IP stack Submitted by: gradator Submitted on: Mon 07 May 2012 09:07:22 AM GMT Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: Here is a patch that removes all calls to printf()-like functions from PPPoE. printf() used for debugging are replaced by PPPDEBUG() snprintf() used only on interface name for 3 bytes replaced by "byte by byte" assignment. It saves 50k of flash code on my target ! :-) Furthermore that printf() crash my target if JTAG console trace is not running... _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 07 May 2012 09:07:22 AM GMT Name: lwip-pppoe-printf-eviction.patch Size: 8kB By: gradator <http://savannah.nongnu.org/patch/download.php?file_id=25809> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?7776> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |