Add SAM3 cpu to printf formatters definition for lwip
authoraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 23 Mar 2011 17:25:53 +0000 (17:25 +0000)
committeraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 23 Mar 2011 17:25:53 +0000 (17:25 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4802 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/net/lwip/src/include/arch/cc.h

index 6da62aa9247280c5979e5f1120cf7b1b8a7b0de7..fd8bb440df90989637df0b0467e7da1181afc3c2 100644 (file)
@@ -71,7 +71,7 @@ typedef int mem_ptr_t;
 
 
 /* Define (sn)printf formatters for these lwIP types */
-#if CPU_ARM_AT91 || (ARCH & ARCH_EMUL)
+#if CPU_ARM_AT91 || CPU_CM3_SAM3 || (ARCH & ARCH_EMUL)
        #define U16_F "hu"
        #define S16_F "d"
        #define X16_F "x"