From ad6d0304a996794c4d0a81e5f88ed60464457d2b Mon Sep 17 00:00:00 2001
From: David Sidrane <david_s5@nscdg.com>
Date: Wed, 23 Aug 2017 16:46:39 -1000
Subject: [PATCH] crazyflie nsh:Optimize memset for speed

---
 nuttx-configs/crazyflie/nsh/defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nuttx-configs/crazyflie/nsh/defconfig b/nuttx-configs/crazyflie/nsh/defconfig
index 08dc4d4483..65154829c6 100644
--- a/nuttx-configs/crazyflie/nsh/defconfig
+++ b/nuttx-configs/crazyflie/nsh/defconfig
@@ -1226,7 +1226,8 @@ CONFIG_LIBC_STRERROR=y
 #
 # memcpy/memset Options
 #
-# CONFIG_MEMSET_OPTSPEED is not set
+CONFIG_MEMSET_OPTSPEED=y
+CONFIG_MEMSET_64BIT=y
 # CONFIG_LIBC_DLLFCN is not set
 # CONFIG_LIBC_MODLIB is not set
 # CONFIG_LIBC_WCHAR is not set
-- 
GitLab