Skip to content

Support other STM32WB target #75

Closed

Description

@fpistm

Same thing seems to be happening to me.

Trying to use the new version of STM32duinoBLE 1.3.7 with a Generic STM32WB55VGYx board.

Seems like the HCISharedMemTransportClass is never available?

~/Documents/Arduino/libraries/STM32duinoBLE/src/utility/HCISharedMemTransport.cpp:781:39: error: 'HCISharedMemTransport' was not declared in this scope; did you mean 'HCISharedMemTransportClass'?
  781 | HCITransportInterface& HCITransport = HCISharedMemTransport;
      |                                       ^~~~~~~~~~~~~~~~~~~~~
      |                                       HCISharedMemTransportClass

it works if I revert back to an older version (ie. 1.2.9)

Originally posted by @federica-ven in #71

Activity

  1. fpistm commented on Apr 7, 2025

    @fpistm
    MemberAuthor

    Hi @federica-ven

    I've created an issue based on your comment not related to other issue.
    New library version changed the way a HCITransport is selected to be close ArduinoBLE way.
    So, a check was done if the target is part of the supported one which is not the case of the Generic WBxxx.
    I will change this to simply warn user the library was not tested with the selected board.

  2. added theissue type on Apr 7, 2025
  3. added
    enhancement
    on Apr 7, 2025
  4. added this to the 1.3.x milestone on Apr 7, 2025
  5. added a commit that references this issue on Apr 7, 2025
    cf39911
  6. added a commit that references this issue on Apr 7, 2025
    fb3da3b
  7. federica-ven commented on Apr 7, 2025

    @federica-ven

    So, a check was done if the target is part of the supported one which is not the case of the Generic WBxxx.
    I will change this to simply warn user the library was not tested with the selected board.

    Thank you @fpistm , so the STM32WB55VGYx boards are not supported?

  8. fpistm commented on Apr 7, 2025

    @fpistm
    MemberAuthor

    Thank you @fpistm , so the STM32WB55VGYx boards are not supported?

    Generic is a basic variant to support board based on the targeted mcu. By default generic used a clock config based on internal oscillator HSI,... This library was tested for specific board with a dedicated clock config using HSE.
    As the BLE for the STM32WB required to use HSE the generic cannot work by default if you do not change the clock config.
    STM32WB55VGYx is know to work as the STM32WB5MM-DK is based on of this mcu. Tested using the clock config from the DK.

    https://www.st.com/en/microcontrollers-microprocessors/stm32wb5mmg.html

    Description
    STM32WB5MMG is an ultra-low-power and small form factor certified 2.4 GHz wireless module. It supports Bluetooth® Low Energy 5.4, Zigbee® 3.0, OpenThread, dynamic, and static concurrent modes, and 802.15.4 proprietary protocols. Based on the STMicroelectronics STM32WB55VGY wireless microcontroller, STM32WB5MMG provides best-in-class RF performance thanks to its high receiver sensitivity and output power signal. Its low-power features enable extended battery life, small coin-cell batteries, and energy harvesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions