Problem cloning STM32WB55 BLE_p2pServer example
I have a custom board running the STM32WB55. My medium term goal is to use BLE to perform OTA updates for my firmware. I'm trying to leverage the BLE_p2pServer BLE_p2pServer_ota examples from the as a starting point, but I'm getting stuck at one of the first steps.
To start with, I'm just trying to copy (clone) the BLE_p2pServer example from the STM32Cube_FW_WB_V1.15.0 repository into my own working directory. I started by generating a new project from the BLE_p2pServer .ioc file using CubeMX, and then I copied all the source code files from the STM32Cube_FW_WB_V1.15.0 repository into my own file area. The new project compiled fine after I copied the stm32wbxx_nucleo.c file into my area. The problem is that the new app does not properly advertise.
I checked the debugger text, and both applications have identical debugger output, ending with
==>> Success: Start Fast Advertisingbut the copied version of the project keeps the green LED2 on constantly rather than flashing it, and the board does not show up in the ST BLE Sensor phone app.
I have replaced the Cube-generated linker script and startup scripts with the one from the repository, with no change in behavior.
I have verified that the files in the following folders are identical:
Core/Inc
Core/Src
Startup
STM32_WPAN/App
STM32_WPAN/Target
Any ideas for where else I should look? Should I just start stepping through the code for the two projects to see where they diverge in behavior?