This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] LP-EM-CC2745R10-Q1:Zephyr ble 网状外壳

Guru**** 2864540 points

Other Parts Discussed in Thread: CC2745R10-Q1

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1634426/lp-em-cc2745r10-q1-zephyr-ble-mesh-shell

器件型号: LP-EM-CC2745R10-Q1
Thread: CC2745R10-Q1 中讨论的其他器件

您好:

有没有人尝试过在 Zephyr 中运行蓝牙网状网络外壳测试? 我想用它来调试现有产品的 Ble mesh 应用程序/友谊建立,因为它不需要我每次要更改请求时都重建应用程序,并且它允许更灵活的配置。

 

当我刷新并运行测试时、它会立即崩溃、然后才能进入任何类型的打印或终端。

在本工程的构建过程中、它确实会针对一些需要启用的配置发出警告、但我认为您至少会收到提示、因为在 shell 中启动蓝牙堆栈之前、系统才会配置蓝牙堆栈。

warning: BT_CTLR_DUP_FILTER_LEN (defined at subsys/bluetooth/controller/Kconfig:170) was assigned
the value '0' but got the value ''. Check these unsatisfied dependencies: BT_LL_SW_SPLIT (=n),
BT_CTLR (=n). See docs.zephyrproject.org/.../kconfig.html
and/or look up BT_CTLR_DUP_FILTER_LEN in the menuconfig/guiconfig interface. The Application
Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
the manual might be helpful too.


warning: BT_CTLR_ADVANCED_FEATURES (defined at subsys/bluetooth/controller/Kconfig.ll_sw_split:281)
was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
BT_LL_SW_SPLIT (=n), BT_CTLR (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_CTLR_ADVANCED_FEATURES in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.

 

我不得不补充  

CONFIG_BT_LONG_WQ=y
 
迁移到 prj.conf、因为否则工程根本不会构建。
 
最初我在 LP_EM_CC2340R53 上尝试了它、但不得不缩小栈大小、甚至让链接器使所有内容都适合器件。 它还会立即崩溃、因此我认为可能是栈溢出问题、并作为更高的存储器选项移至 LP_EM_CC2745R10-Q1、但显然没有骰子。
 
Munan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Munan、

    您是否需要从我们的存储库中指定您使用的 Zephyr 版本/标签?: https://github.com/TexasInstruments/simplelink-zephyr

    BR、

    David

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、David:

    我目前使用的是以前的 ea 版本:

    TexasInstruments/simplelink-Zephyr 位于 v3.7.0-ti-9.14.00_ea

    Munan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Munan、

    谢谢。 我已经复制了您的问题、目前正在研究。

    让我尽快回到您的身边。

    BR、

    David。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Munan、

    我请求参与此工作的团队提供支持。 标准网格样本已经过测试、但网格外壳(明显较重)需要在 CC27xx 上进一步验证。 例如、 网格 shell 示例中没有 CC27xx 的特定于电路板的叠加层。

    我正在创建一个并进行测试。

    将特定于电路板的叠加层添加到样片/Bluetooth/mesh/boards/LP_em_cc2745r10-Q1.conf                                                       
      CONFIG_BT_LONG_WQ=y                                                                                     
      CONFIG_BT_LONG_WQ_STACK_SIZE=2048                                                                              
      CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096                                                                           
      config_shell_stack_size=4096                                                                                 
      CONFIG_BT_RX_STACK_SIZE=2048                                                                                 
      CONFIG_MAIN_STACK_SIZE=2048   

    此致、

    David