From e02fa6b7c7e11a279a4025a262ddcd71b8b3fa36 Mon Sep 17 00:00:00 2001 From: aleph Date: Wed, 23 Mar 2011 17:25:53 +0000 Subject: [PATCH] Add SAM3 cpu to printf formatters definition for lwip git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4802 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/net/lwip/src/include/arch/cc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/net/lwip/src/include/arch/cc.h b/bertos/net/lwip/src/include/arch/cc.h index 6da62aa9..fd8bb440 100644 --- a/bertos/net/lwip/src/include/arch/cc.h +++ b/bertos/net/lwip/src/include/arch/cc.h @@ -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" -- 2.25.1