diff --git a/nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig b/nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig
index a366c6e85f..15d3abdde1 100644
--- a/nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig
+++ b/nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig
@@ -1145,7 +1145,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