This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git

commit 9c30f4b023f12061ebcff2e09045dbd42a49e14c
Author: Christopher Collins <ccoll...@apache.org>
AuthorDate: Mon Feb 12 17:40:40 2018 -0800

    smp_svr (zephyr) - CONFIG_NET_BUF_USER_DATA_SIZE=7
    
    This setting is required by the updated net_buf API.  Failing to
    configure this setting to a value >= 7 causes a static assert failure.
---
 samples/smp_svr/zephyr/prj.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/samples/smp_svr/zephyr/prj.conf b/samples/smp_svr/zephyr/prj.conf
index 9e04c3c..42abc04 100644
--- a/samples/smp_svr/zephyr/prj.conf
+++ b/samples/smp_svr/zephyr/prj.conf
@@ -19,6 +19,9 @@ CONFIG_BT_RX_BUF_LEN=260
 CONFIG_MCUMGR_SMP_BT=y
 CONFIG_MCUMGR_SMP_SHELL=y
 
+# Bluetooth support requires a net_buf user_data size >= 7.
+CONFIG_NET_BUF_USER_DATA_SIZE=7
+
 # Enable flash operations.
 CONFIG_FLASH=y
 

-- 
To stop receiving notification emails like this one, please contact
ccoll...@apache.org.

Reply via email to