From 11042898d71249ed9c698355fd7b7812b741a161 Mon Sep 17 00:00:00 2001 From: rihab kouki Date: Tue, 23 Nov 2021 15:29:35 +0100 Subject: Release v1.13.0 --- .../Applications/BLE/BLE_HeartRate/.extSettings | 3 +- .../BLE/BLE_HeartRate/BLE_HeartRate.ioc | 520 ++++ .../BLE/BLE_HeartRate/Core/Inc/app_common.h | 21 +- .../BLE/BLE_HeartRate/Core/Inc/app_conf.h | 61 +- .../BLE/BLE_HeartRate/Core/Inc/app_debug.h | 22 +- .../BLE/BLE_HeartRate/Core/Inc/app_entry.h | 25 +- .../BLE/BLE_HeartRate/Core/Inc/hw_conf.h | 22 +- .../BLE/BLE_HeartRate/Core/Inc/hw_if.h | 15 +- .../Applications/BLE/BLE_HeartRate/Core/Inc/main.h | 13 +- .../BLE/BLE_HeartRate/Core/Inc/stm32_lpm_if.h | 34 +- .../BLE_HeartRate/Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../BLE_HeartRate/Core/Inc/stm32wbxx_hal_conf.h | 17 +- .../BLE/BLE_HeartRate/Core/Inc/stm32wbxx_it.h | 15 +- .../BLE/BLE_HeartRate/Core/Inc/utilities_conf.h | 25 +- .../BLE/BLE_HeartRate/Core/Src/app_debug.c | 36 +- .../BLE/BLE_HeartRate/Core/Src/app_entry.c | 243 +- .../BLE/BLE_HeartRate/Core/Src/hw_timerserver.c | 23 +- .../BLE/BLE_HeartRate/Core/Src/hw_uart.c | 21 +- .../Applications/BLE/BLE_HeartRate/Core/Src/main.c | 78 +- .../BLE/BLE_HeartRate/Core/Src/stm32_lpm_if.c | 30 +- .../BLE/BLE_HeartRate/Core/Src/stm32wbxx_hal_msp.c | 35 +- .../BLE/BLE_HeartRate/Core/Src/stm32wbxx_it.c | 12 +- .../BLE/BLE_HeartRate/Core/Src/system_stm32wbxx.c | 13 +- .../BLE/BLE_HeartRate/EWARM/BLE_HeartRate.ewp | 2546 +++++++++-------- .../BLE_HeartRate/EWARM/startup_stm32wb5mxx_cm4.s | 14 +- .../BLE_HeartRate/EWARM/stm32wb5mxx_flash_cm4.icf | 8 +- .../BLE_HeartRate/EWARM/stm32wb5mxx_sram_cm4.icf | 39 - .../BLE_HeartRate/MDK-ARM/BLE_HeartRate.uvprojx | 2 +- .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../MDK-ARM/stm32wb5mxx_flash_cm4.sct | 15 +- .../BLE/BLE_HeartRate/STM32CubeIDE/.cproject | 8 +- .../BLE/BLE_HeartRate/STM32CubeIDE/.project | 5 + .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../BLE/BLE_HeartRate/STM32_WPAN/App/app_ble.c | 162 +- .../BLE/BLE_HeartRate/STM32_WPAN/App/app_ble.h | 23 +- .../BLE/BLE_HeartRate/STM32_WPAN/App/ble_conf.h | 22 +- .../BLE_HeartRate/STM32_WPAN/App/ble_dbg_conf.h | 23 +- .../BLE/BLE_HeartRate/STM32_WPAN/App/dis_app.c | 12 +- .../BLE/BLE_HeartRate/STM32_WPAN/App/dis_app.h | 20 +- .../BLE/BLE_HeartRate/STM32_WPAN/App/hrs_app.c | 14 +- .../BLE/BLE_HeartRate/STM32_WPAN/App/hrs_app.h | 12 +- .../BLE/BLE_HeartRate/STM32_WPAN/App/tl_dbg_conf.h | 21 +- .../BLE/BLE_HeartRate/STM32_WPAN/Target/hw_ipcc.c | 26 +- .../Applications/BLE/BLE_HeartRate/readme.txt | 10 +- .../BLE_Mesh_Model_Sensor/Core/Inc/app_common.h | 119 + .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_conf.h | 613 ++++ .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_debug.h | 42 + .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_entry.h | 42 + .../BLE_Mesh_Model_Sensor/Core/Inc/app_stts22h.h | 43 + .../BLE_Mesh_Model_Sensor/Core/Inc/app_vl53l0x.h | 43 + .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/hw_conf.h | 246 ++ .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/hw_flash.h | 84 + .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/hw_if.h | 250 ++ .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/lp_timer.h | 57 + .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/main.h | 37 + .../BLE_Mesh_Model_Sensor/Core/Inc/stm32_lpm_if.h | 79 + .../Core/Inc/stm32wb5mm_dk_conf.h | 93 + .../Core/Inc/stm32wbxx_hal_conf.h | 351 +++ .../BLE_Mesh_Model_Sensor/Core/Inc/stm32wbxx_it.h | 62 + .../Core/Inc/utilities_conf.h | 65 + .../BLE/BLE_Mesh_Model_Sensor/Core/Inc/vcp_conf.h | 50 + .../BLE/BLE_Mesh_Model_Sensor/Core/Src/app_debug.c | 367 +++ .../BLE/BLE_Mesh_Model_Sensor/Core/Src/app_entry.c | 521 ++++ .../BLE_Mesh_Model_Sensor/Core/Src/app_stts22h.c | 131 + .../BLE_Mesh_Model_Sensor/Core/Src/app_vl53l0x.c | 139 + .../BLE/BLE_Mesh_Model_Sensor/Core/Src/hw_flash.c | 149 + .../Core/Src/hw_timerserver.c | 891 ++++++ .../BLE/BLE_Mesh_Model_Sensor/Core/Src/hw_uart.c | 468 +++ .../BLE/BLE_Mesh_Model_Sensor/Core/Src/lp_timer.c | 132 + .../BLE/BLE_Mesh_Model_Sensor/Core/Src/main.c | 460 +++ .../BLE_Mesh_Model_Sensor/Core/Src/stm32_lpm_if.c | 349 +++ .../BLE_Mesh_Model_Sensor/Core/Src/stm32wbxx_it.c | 224 ++ .../Core/Src/system_stm32wbxx.c | 340 +++ .../Core/Src/vl53l0x/vl53l0x_api.c | 2977 ++++++++++++++++++++ .../Core/Src/vl53l0x/vl53l0x_api.h | 1943 +++++++++++++ .../Core/Src/vl53l0x/vl53l0x_api_calibration.c | 1259 +++++++++ .../Core/Src/vl53l0x/vl53l0x_api_calibration.h | 110 + .../Core/Src/vl53l0x/vl53l0x_api_core.c | 2243 +++++++++++++++ .../Core/Src/vl53l0x/vl53l0x_api_core.h | 112 + .../Core/Src/vl53l0x/vl53l0x_api_ranging.c | 28 + .../Core/Src/vl53l0x/vl53l0x_api_ranging.h | 33 + .../Core/Src/vl53l0x/vl53l0x_api_strings.c | 448 +++ .../Core/Src/vl53l0x/vl53l0x_api_strings.h | 266 ++ .../Core/Src/vl53l0x/vl53l0x_def.h | 619 ++++ .../Core/Src/vl53l0x/vl53l0x_device.h | 243 ++ .../vl53l0x/vl53l0x_interrupt_threshold_settings.h | 179 ++ .../Core/Src/vl53l0x/vl53l0x_platform.h | 43 + .../Core/Src/vl53l0x/vl53l0x_platform_log.c | 59 + .../Core/Src/vl53l0x/vl53l0x_platform_log.h | 110 + .../Core/Src/vl53l0x/vl53l0x_tof.c | 330 +++ .../Core/Src/vl53l0x/vl53l0x_tof.h | 230 ++ .../Core/Src/vl53l0x/vl53l0x_tuning.h | 131 + .../Core/Src/vl53l0x/vl53l0x_types.h | 96 + .../EWARM/BLE_Mesh_Model_Sensor.ewd | 1419 ++++++++++ .../EWARM/BLE_Mesh_Model_Sensor.ewp | 1447 ++++++++++ .../BLE/BLE_Mesh_Model_Sensor/EWARM/Project.eww | 7 + .../EWARM/startup_stm32wb55xx_cm4.s | 515 ++++ .../EWARM/stm32wb5mxx_flash_cm4.icf | 42 + .../MDK-ARM/BLE_Mesh_Model_Sensor.uvoptx | 1529 ++++++++++ .../MDK-ARM/BLE_Mesh_Model_Sensor.uvprojx | 1005 +++++++ .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 367 +++ .../MDK-ARM/stm32wb5mxx_flash_cm4.sct | 26 + .../BLE_Mesh_Model_Sensor/STM32CubeIDE/.cproject | 128 + .../BLE_Mesh_Model_Sensor/STM32CubeIDE/.project | 524 ++++ .../STM32CubeIDE/Application/Core/syscalls.c | 155 + .../STM32CubeIDE/Application/Core/sysmem.c | 79 + .../Application/Startup/startup_stm32wb5mmghx.s | 443 +++ .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 171 ++ .../STM32_WPAN/app/PWM_config.c | 108 + .../STM32_WPAN/app/PWM_config.h | 69 + .../STM32_WPAN/app/PWM_handlers.c | 277 ++ .../STM32_WPAN/app/PWM_handlers.h | 33 + .../BLE_Mesh_Model_Sensor/STM32_WPAN/app/app_ble.c | 672 +++++ .../BLE_Mesh_Model_Sensor/STM32_WPAN/app/app_ble.h | 76 + .../STM32_WPAN/app/appli_config.c | 355 +++ .../STM32_WPAN/app/appli_config.h | 50 + .../STM32_WPAN/app/appli_config_client.c | 1915 +++++++++++++ .../STM32_WPAN/app/appli_config_client.h | 91 + .../STM32_WPAN/app/appli_generic.c | 481 ++++ .../STM32_WPAN/app/appli_generic.h | 156 + .../STM32_WPAN/app/appli_generic_client.c | 343 +++ .../STM32_WPAN/app/appli_generic_client.h | 38 + .../STM32_WPAN/app/appli_light.c | 1357 +++++++++ .../STM32_WPAN/app/appli_light.h | 275 ++ .../STM32_WPAN/app/appli_light_client.c | 1204 ++++++++ .../STM32_WPAN/app/appli_light_client.h | 109 + .../STM32_WPAN/app/appli_light_lc.c | 452 +++ .../STM32_WPAN/app/appli_light_lc.h | 79 + .../STM32_WPAN/app/appli_mesh.c | 1810 ++++++++++++ .../STM32_WPAN/app/appli_mesh.h | 136 + .../STM32_WPAN/app/appli_nvm.c | 749 +++++ .../STM32_WPAN/app/appli_nvm.h | 97 + .../STM32_WPAN/app/appli_sensor.c | 798 ++++++ .../STM32_WPAN/app/appli_sensor.h | 109 + .../STM32_WPAN/app/appli_sensors_client.c | 359 +++ .../STM32_WPAN/app/appli_sensors_client.h | 70 + .../STM32_WPAN/app/appli_vendor.c | 600 ++++ .../STM32_WPAN/app/appli_vendor.h | 46 + .../STM32_WPAN/app/ble_conf.h | 71 + .../STM32_WPAN/app/ble_dbg_conf.h | 204 ++ .../STM32_WPAN/app/cube_hal.h | 46 + .../BLE_Mesh_Model_Sensor/STM32_WPAN/app/data.s | 28 + .../STM32_WPAN/app/hal_common.h | 51 + .../STM32_WPAN/app/mesh_cfg_usr.h | 625 ++++ .../STM32_WPAN/app/models_if.c | 1151 ++++++++ .../STM32_WPAN/app/models_if.h | 49 + .../BLE_Mesh_Model_Sensor/STM32_WPAN/app/pal_nvm.c | 441 +++ .../STM32_WPAN/app/sensor_cfg_usr.h | 695 +++++ .../STM32_WPAN/app/svcctl_conf.c | 80 + .../BLE_Mesh_Model_Sensor/STM32_WPAN/app/tl_conf.h | 30 + .../STM32_WPAN/app/tl_dbg_conf.h | 124 + .../BLE_Mesh_Model_Sensor/STM32_WPAN/app/tl_if.c | 45 + .../BLE_Mesh_Model_Sensor/STM32_WPAN/app/user_if.c | 341 +++ .../BLE_Mesh_Model_Sensor/STM32_WPAN/app/user_if.h | 39 + .../STM32_WPAN/app/vcp_conf.h | 49 + .../STM32_WPAN/target/hw_ipcc.c | 673 +++++ .../BLE/BLE_Mesh_Model_Sensor/readme.txt | 269 ++ .../Core/Inc/app_common.h | 29 +- .../BLE_Mesh_ThermometerSensor/Core/Inc/app_conf.h | 89 +- .../Core/Inc/app_debug.h | 26 +- .../Core/Inc/app_entry.h | 16 +- .../Core/Inc/app_stts22h.h | 13 +- .../Core/Inc/app_vl53l0x.h | 13 +- .../BLE_Mesh_ThermometerSensor/Core/Inc/hw_conf.h | 21 +- .../BLE_Mesh_ThermometerSensor/Core/Inc/hw_flash.h | 29 +- .../BLE_Mesh_ThermometerSensor/Core/Inc/hw_if.h | 15 +- .../BLE_Mesh_ThermometerSensor/Core/Inc/lp_timer.h | 29 +- .../BLE/BLE_Mesh_ThermometerSensor/Core/Inc/main.h | 13 +- .../Core/Inc/stm32_lpm_if.h | 34 +- .../Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../Core/Inc/stm32wbxx_hal_conf.h | 15 +- .../Core/Inc/stm32wbxx_it.h | 13 +- .../Core/Inc/utilities_conf.h | 23 +- .../BLE_Mesh_ThermometerSensor/Core/Inc/vcp_conf.h | 29 +- .../Core/Src/app_debug.c | 39 +- .../Core/Src/app_entry.c | 188 +- .../Core/Src/app_stts22h.c | 27 +- .../Core/Src/app_vl53l0x.c | 27 +- .../BLE_Mesh_ThermometerSensor/Core/Src/hw_flash.c | 31 +- .../Core/Src/hw_timerserver.c | 16 +- .../BLE_Mesh_ThermometerSensor/Core/Src/hw_uart.c | 29 +- .../BLE_Mesh_ThermometerSensor/Core/Src/lp_timer.c | 16 +- .../BLE/BLE_Mesh_ThermometerSensor/Core/Src/main.c | 29 +- .../Core/Src/stm32_lpm_if.c | 30 +- .../Core/Src/stm32wbxx_it.c | 13 +- .../Core/Src/system_stm32wbxx.c | 29 +- .../Core/Src/vl53l0x/vl53l0x_api.c | 11 +- .../Core/Src/vl53l0x/vl53l0x_api.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_calibration.c | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_calibration.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_core.c | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_core.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_ranging.c | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_ranging.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_strings.c | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_strings.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_def.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_device.h | 11 +- .../vl53l0x/vl53l0x_interrupt_threshold_settings.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_platform.h | 13 +- .../Core/Src/vl53l0x/vl53l0x_platform_log.h | 13 +- .../Core/Src/vl53l0x/vl53l0x_tof.c | 13 +- .../Core/Src/vl53l0x/vl53l0x_tof.h | 13 +- .../Core/Src/vl53l0x/vl53l0x_tuning.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_types.h | 11 +- .../EWARM/BLE_Mesh_ThermometerSensor.ewp | 16 +- .../EWARM/startup_stm32wb55xx_cm4.s | 14 +- .../EWARM/stm32wb55xx_flash_cm4.icf | 40 - .../EWARM/stm32wb5mxx_flash_cm4.icf | 42 + .../MDK-ARM/BLE_Mesh_ThermometerSensor.uvoptx | 24 +- .../MDK-ARM/BLE_Mesh_ThermometerSensor.uvprojx | 19 +- .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../MDK-ARM/stm32wb5mxx_flash_cm4.sct | 15 +- .../STM32CubeIDE/Application/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/Core/sysmem.c | 27 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../STM32_WPAN/app/PWM_config.c | 27 +- .../STM32_WPAN/app/PWM_handlers.c | 49 +- .../STM32_WPAN/app/PWM_handlers.h | 16 +- .../STM32_WPAN/app/app_ble.c | 22 +- .../STM32_WPAN/app/app_ble.h | 13 +- .../STM32_WPAN/app/appli_config.c | 30 +- .../STM32_WPAN/app/appli_config.h | 30 +- .../STM32_WPAN/app/appli_config_client.c | 37 +- .../STM32_WPAN/app/appli_config_client.h | 28 +- .../STM32_WPAN/app/appli_generic.c | 12 +- .../STM32_WPAN/app/appli_generic.h | 12 +- .../STM32_WPAN/app/appli_generic_client.c | 28 +- .../STM32_WPAN/app/appli_generic_client.h | 26 +- .../STM32_WPAN/app/appli_light.c | 14 +- .../STM32_WPAN/app/appli_light.h | 12 +- .../STM32_WPAN/app/appli_light_client.c | 28 +- .../STM32_WPAN/app/appli_light_client.h | 28 +- .../STM32_WPAN/app/appli_light_lc.c | 12 +- .../STM32_WPAN/app/appli_light_lc.h | 28 +- .../STM32_WPAN/app/appli_mesh.c | 12 +- .../STM32_WPAN/app/appli_mesh.h | 12 +- .../STM32_WPAN/app/appli_nvm.c | 14 +- .../STM32_WPAN/app/appli_nvm.h | 14 +- .../STM32_WPAN/app/appli_sensor.c | 18 +- .../STM32_WPAN/app/appli_sensor.h | 12 +- .../STM32_WPAN/app/appli_sensors_client.c | 28 +- .../STM32_WPAN/app/appli_sensors_client.h | 26 +- .../STM32_WPAN/app/appli_vendor.c | 12 +- .../STM32_WPAN/app/appli_vendor.h | 12 +- .../STM32_WPAN/app/ble_conf.h | 15 +- .../STM32_WPAN/app/ble_dbg_conf.h | 13 +- .../STM32_WPAN/app/cube_hal.h | 13 +- .../STM32_WPAN/app/data.s | 32 +- .../STM32_WPAN/app/hal_common.h | 12 +- .../STM32_WPAN/app/mesh_cfg_usr.h | 17 +- .../STM32_WPAN/app/models_if.c | 16 +- .../STM32_WPAN/app/models_if.h | 12 +- .../STM32_WPAN/app/pal_nvm.c | 16 +- .../STM32_WPAN/app/sensor_cfg_usr.h | 31 +- .../STM32_WPAN/app/svcctl_conf.c | 12 +- .../STM32_WPAN/app/tl_conf.h | 13 +- .../STM32_WPAN/app/tl_dbg_conf.h | 27 +- .../STM32_WPAN/app/tl_if.c | 12 +- .../STM32_WPAN/app/user_if.c | 53 +- .../STM32_WPAN/app/user_if.h | 51 +- .../STM32_WPAN/app/vcp_conf.h | 13 +- .../STM32_WPAN/target/hw_ipcc.c | 21 +- .../BLE/BLE_Mesh_ThermometerSensor/readme.txt | 96 +- .../Applications/BLE/BLE_Sensor/.extSettings | 9 +- .../Applications/BLE/BLE_Sensor/BLE_Sensor.ioc | 527 ++++ .../BLE/BLE_Sensor/Core/Inc/app_common.h | 21 +- .../BLE/BLE_Sensor/Core/Inc/app_conf.h | 75 +- .../BLE/BLE_Sensor/Core/Inc/app_debug.h | 22 +- .../BLE/BLE_Sensor/Core/Inc/app_entry.h | 25 +- .../BLE/BLE_Sensor/Core/Inc/app_vl53l0x.h | 13 +- .../Applications/BLE/BLE_Sensor/Core/Inc/hw_conf.h | 70 +- .../Applications/BLE/BLE_Sensor/Core/Inc/hw_if.h | 15 +- .../Applications/BLE/BLE_Sensor/Core/Inc/main.h | 14 +- .../BLE/BLE_Sensor/Core/Inc/s25fl128s_conf.h | 23 +- .../BLE/BLE_Sensor/Core/Inc/stm32_lpm_if.h | 34 +- .../BLE/BLE_Sensor/Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../BLE/BLE_Sensor/Core/Inc/stm32wbxx_hal_conf.h | 19 +- .../BLE/BLE_Sensor/Core/Inc/stm32wbxx_it.h | 17 +- .../BLE/BLE_Sensor/Core/Inc/utilities_conf.h | 25 +- .../BLE/BLE_Sensor/Core/Src/app_debug.c | 40 +- .../BLE/BLE_Sensor/Core/Src/app_entry.c | 243 +- .../BLE/BLE_Sensor/Core/Src/app_vl53l0x.c | 54 +- .../BLE/BLE_Sensor/Core/Src/hw_timerserver.c | 23 +- .../Applications/BLE/BLE_Sensor/Core/Src/hw_uart.c | 317 +++ .../Applications/BLE/BLE_Sensor/Core/Src/main.c | 154 +- .../BLE/BLE_Sensor/Core/Src/stm32_lpm_if.c | 30 +- .../BLE/BLE_Sensor/Core/Src/stm32wbxx_hal_msp.c | 127 +- .../BLE/BLE_Sensor/Core/Src/stm32wbxx_it.c | 43 +- .../BLE/BLE_Sensor/Core/Src/system_stm32wbxx.c | 13 +- .../BLE/BLE_Sensor/Core/Src/vl53l0x/vl53l0x_api.c | 11 +- .../BLE/BLE_Sensor/Core/Src/vl53l0x/vl53l0x_api.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_calibration.c | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_calibration.h | 11 +- .../BLE_Sensor/Core/Src/vl53l0x/vl53l0x_api_core.c | 11 +- .../BLE_Sensor/Core/Src/vl53l0x/vl53l0x_api_core.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_ranging.c | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_ranging.h | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_strings.c | 11 +- .../Core/Src/vl53l0x/vl53l0x_api_strings.h | 11 +- .../BLE/BLE_Sensor/Core/Src/vl53l0x/vl53l0x_def.h | 11 +- .../BLE_Sensor/Core/Src/vl53l0x/vl53l0x_device.h | 11 +- .../vl53l0x/vl53l0x_interrupt_threshold_settings.h | 11 +- .../BLE_Sensor/Core/Src/vl53l0x/vl53l0x_platform.h | 13 +- .../Core/Src/vl53l0x/vl53l0x_platform_log.h | 13 +- .../BLE/BLE_Sensor/Core/Src/vl53l0x/vl53l0x_tof.c | 13 +- .../BLE/BLE_Sensor/Core/Src/vl53l0x/vl53l0x_tof.h | 13 +- .../BLE_Sensor/Core/Src/vl53l0x/vl53l0x_tuning.h | 11 +- .../BLE_Sensor/Core/Src/vl53l0x/vl53l0x_types.h | 11 +- .../BLE/BLE_Sensor/EWARM/BLE_Sensor.ewp | 2691 +++++++++--------- .../BLE/BLE_Sensor/EWARM/startup_stm32wb5mxx_cm4.s | 14 +- .../BLE/BLE_Sensor/EWARM/stm32wb5mxx_flash_cm4.icf | 8 +- .../BLE/BLE_Sensor/EWARM/stm32wb5mxx_sram_cm4.icf | 39 - .../BLE/BLE_Sensor/MDK-ARM/BLE_Sensor.uvoptx | 48 +- .../BLE/BLE_Sensor/MDK-ARM/BLE_Sensor.uvprojx | 24 +- .../BLE_Sensor/MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../BLE_Sensor/MDK-ARM/stm32wb5mxx_flash_cm4.sct | 15 +- .../BLE/BLE_Sensor/STM32CubeIDE/.cproject | 4 +- .../BLE/BLE_Sensor/STM32CubeIDE/.project | 30 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../BLE_Sensor/STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../BLE/BLE_Sensor/STM32_WPAN/App/app_ble.c | 147 +- .../BLE/BLE_Sensor/STM32_WPAN/App/app_ble.h | 23 +- .../BLE/BLE_Sensor/STM32_WPAN/App/ble_conf.h | 22 +- .../BLE/BLE_Sensor/STM32_WPAN/App/ble_dbg_conf.h | 23 +- .../BLE/BLE_Sensor/STM32_WPAN/App/env_server_app.c | 21 +- .../BLE/BLE_Sensor/STM32_WPAN/App/env_server_app.h | 20 +- .../BLE_Sensor/STM32_WPAN/App/motenv_server_app.c | 20 +- .../BLE_Sensor/STM32_WPAN/App/motenv_server_app.h | 20 +- .../BLE_Sensor/STM32_WPAN/App/motion_server_app.c | 20 +- .../BLE_Sensor/STM32_WPAN/App/motion_server_app.h | 20 +- .../BLE/BLE_Sensor/STM32_WPAN/App/p2p_server_app.c | 22 +- .../BLE/BLE_Sensor/STM32_WPAN/App/p2p_server_app.h | 20 +- .../BLE/BLE_Sensor/STM32_WPAN/App/tl_dbg_conf.h | 21 +- .../BLE_Sensor/STM32_WPAN/App/wb5m_sensor_stm.c | 23 +- .../BLE_Sensor/STM32_WPAN/App/wb5m_sensor_stm.h | 23 +- .../BLE/BLE_Sensor/STM32_WPAN/Target/hw_ipcc.c | 26 +- .../Applications/BLE/BLE_Sensor/readme.txt | 20 +- .../BLE/BLE_TransparentMode/.extSettings | 3 +- .../BLE_TransparentMode/BLE_TransparentMode.ioc | 515 ++++ .../BLE/BLE_TransparentMode/Core/Inc/app_common.h | 21 +- .../BLE/BLE_TransparentMode/Core/Inc/app_conf.h | 63 +- .../BLE/BLE_TransparentMode/Core/Inc/app_debug.h | 22 +- .../BLE/BLE_TransparentMode/Core/Inc/app_entry.h | 25 +- .../BLE/BLE_TransparentMode/Core/Inc/hw_conf.h | 22 +- .../BLE/BLE_TransparentMode/Core/Inc/hw_if.h | 15 +- .../BLE/BLE_TransparentMode/Core/Inc/main.h | 13 +- .../BLE_TransparentMode/Core/Inc/stm32_lpm_if.h | 34 +- .../Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../Core/Inc/stm32wbxx_hal_conf.h | 17 +- .../BLE_TransparentMode/Core/Inc/stm32wbxx_it.h | 15 +- .../BLE_TransparentMode/Core/Inc/utilities_conf.h | 25 +- .../BLE/BLE_TransparentMode/Core/Src/app_debug.c | 36 +- .../BLE/BLE_TransparentMode/Core/Src/app_entry.c | 92 +- .../BLE_TransparentMode/Core/Src/hw_timerserver.c | 23 +- .../BLE/BLE_TransparentMode/Core/Src/hw_uart.c | 21 +- .../BLE/BLE_TransparentMode/Core/Src/main.c | 78 +- .../BLE_TransparentMode/Core/Src/stm32_lpm_if.c | 30 +- .../Core/Src/stm32wbxx_hal_msp.c | 35 +- .../BLE_TransparentMode/Core/Src/stm32wbxx_it.c | 12 +- .../Core/Src/system_stm32wbxx.c | 13 +- .../EWARM/BLE_TransparentMode.ewp | 2475 ++++++++-------- .../EWARM/startup_stm32wb5mxx_cm4.s | 14 +- .../EWARM/stm32wb5mxx_flash_cm4.icf | 8 +- .../EWARM/stm32wb5mxx_sram_cm4.icf | 39 - .../MDK-ARM/BLE_TransparentMode.uvprojx | 2 +- .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../MDK-ARM/stm32wb5mxx_flash_cm4.sct | 15 +- .../BLE/BLE_TransparentMode/STM32CubeIDE/.cproject | 8 +- .../BLE/BLE_TransparentMode/STM32CubeIDE/.project | 5 + .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../BLE_TransparentMode/STM32_WPAN/App/ble_conf.h | 22 +- .../STM32_WPAN/App/ble_dbg_conf.h | 23 +- .../STM32_WPAN/App/tl_dbg_conf.h | 21 +- .../BLE/BLE_TransparentMode/STM32_WPAN/App/tm.c | 29 +- .../BLE/BLE_TransparentMode/STM32_WPAN/App/tm.h | 12 +- .../STM32_WPAN/Target/hw_ipcc.c | 26 +- .../BLE/BLE_TransparentMode/readme.txt | 10 +- .../Applications/BLE/BLE_p2pServer/.extSettings | 3 +- .../BLE/BLE_p2pServer/BLE_p2pServer.ioc | 517 ++++ .../BLE/BLE_p2pServer/Core/Inc/app_common.h | 21 +- .../BLE/BLE_p2pServer/Core/Inc/app_conf.h | 61 +- .../BLE/BLE_p2pServer/Core/Inc/app_debug.h | 22 +- .../BLE/BLE_p2pServer/Core/Inc/app_entry.h | 25 +- .../BLE/BLE_p2pServer/Core/Inc/hw_conf.h | 22 +- .../BLE/BLE_p2pServer/Core/Inc/hw_if.h | 15 +- .../Applications/BLE/BLE_p2pServer/Core/Inc/main.h | 13 +- .../BLE/BLE_p2pServer/Core/Inc/stm32_lpm_if.h | 34 +- .../BLE_p2pServer/Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../BLE_p2pServer/Core/Inc/stm32wbxx_hal_conf.h | 17 +- .../BLE/BLE_p2pServer/Core/Inc/stm32wbxx_it.h | 15 +- .../BLE/BLE_p2pServer/Core/Inc/utilities_conf.h | 25 +- .../BLE/BLE_p2pServer/Core/Src/app_debug.c | 36 +- .../BLE/BLE_p2pServer/Core/Src/app_entry.c | 243 +- .../BLE/BLE_p2pServer/Core/Src/hw_timerserver.c | 23 +- .../BLE/BLE_p2pServer/Core/Src/hw_uart.c | 21 +- .../Applications/BLE/BLE_p2pServer/Core/Src/main.c | 78 +- .../BLE/BLE_p2pServer/Core/Src/stm32_lpm_if.c | 30 +- .../BLE/BLE_p2pServer/Core/Src/stm32wbxx_hal_msp.c | 35 +- .../BLE/BLE_p2pServer/Core/Src/stm32wbxx_it.c | 12 +- .../BLE/BLE_p2pServer/Core/Src/system_stm32wbxx.c | 13 +- .../BLE/BLE_p2pServer/EWARM/BLE_p2pServer.ewp | 2534 +++++++++-------- .../BLE_p2pServer/EWARM/startup_stm32wb5mxx_cm4.s | 14 +- .../BLE_p2pServer/EWARM/stm32wb5mxx_flash_cm4.icf | 8 +- .../BLE_p2pServer/EWARM/stm32wb5mxx_sram_cm4.icf | 39 - .../BLE/BLE_p2pServer/MDK-ARM/BLE_p2pServer.uvoptx | 1045 +++++++ .../BLE_p2pServer/MDK-ARM/BLE_p2pServer.uvprojx | 793 ++++++ .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 367 +++ .../MDK-ARM/stm32wb5mxx_flash_cm4.sct | 26 + .../BLE/BLE_p2pServer/STM32CubeIDE/.cproject | 4 +- .../BLE/BLE_p2pServer/STM32CubeIDE/.project | 5 + .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../BLE/BLE_p2pServer/STM32_WPAN/App/app_ble.c | 147 +- .../BLE/BLE_p2pServer/STM32_WPAN/App/app_ble.h | 23 +- .../BLE/BLE_p2pServer/STM32_WPAN/App/ble_conf.h | 22 +- .../BLE_p2pServer/STM32_WPAN/App/ble_dbg_conf.h | 23 +- .../BLE_p2pServer/STM32_WPAN/App/p2p_server_app.c | 22 +- .../BLE_p2pServer/STM32_WPAN/App/p2p_server_app.h | 20 +- .../BLE/BLE_p2pServer/STM32_WPAN/App/tl_dbg_conf.h | 21 +- .../BLE/BLE_p2pServer/STM32_WPAN/Target/hw_ipcc.c | 26 +- .../Applications/BLE/BLE_p2pServer/readme.txt | 10 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/app_common.h | 14 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/app_conf.h | 23 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/app_entry.h | 23 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/hw_conf.h | 16 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/hw_if.h | 13 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/main.h | 13 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/stm32_lpm_if.h | 29 +- .../BLE_LLD_Chat/Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../BLE_LLD_Chat/Core/Inc/stm32wbxx_hal_conf.h | 15 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/stm32wbxx_it.h | 15 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/stm_logging.h | 11 +- .../BLE_LLD/BLE_LLD_Chat/Core/Inc/utilities_conf.h | 12 +- .../BLE_LLD/BLE_LLD_Chat/Core/Src/app_entry.c | 28 +- .../BLE_LLD/BLE_LLD_Chat/Core/Src/gpio_lld.c | 32 +- .../BLE_LLD/BLE_LLD_Chat/Core/Src/hw_uart.c | 12 +- .../BLE_LLD/BLE_LLD_Chat/Core/Src/main.c | 28 +- .../BLE_LLD/BLE_LLD_Chat/Core/Src/stm32_lpm_if.c | 24 +- .../BLE_LLD_Chat/Core/Src/stm32wbxx_hal_msp.c | 13 +- .../BLE_LLD/BLE_LLD_Chat/Core/Src/stm32wbxx_it.c | 14 +- .../BLE_LLD/BLE_LLD_Chat/Core/Src/stm_logging.c | 13 +- .../BLE_LLD_Chat/Core/Src/system_stm32wbxx.c | 15 +- .../BLE_LLD_Chat/EWARM/startup_stm32wb5mxx_cm4.s | 14 +- .../BLE_LLD_Chat/MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../BLE_LLD_Chat/MDK-ARM/stm32wb5mxx_flash_cm4.sct | 15 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../BLE_LLD_Chat/STM32_WPAN/App/app_ble_lld.c | 14 +- .../BLE_LLD_Chat/STM32_WPAN/App/app_ble_lld.h | 14 +- .../BLE_LLD/BLE_LLD_Chat/STM32_WPAN/App/chat_app.c | 14 +- .../BLE_LLD/BLE_LLD_Chat/STM32_WPAN/App/chat_app.h | 16 +- .../BLE_LLD_Chat/STM32_WPAN/App/tl_dbg_conf.h | 14 +- .../BLE_LLD_Chat/STM32_WPAN/Target/hw_ipcc.c | 21 +- .../Applications/BLE_LLD/BLE_LLD_Chat/readme.txt | 10 +- .../Demontrations/Audio_BVLINKWB/readme.txt | 40 +- .../Thread_Coap_Generic/Core/Inc/app_common.h | 14 +- .../Thread/Thread_Coap_Generic/Core/Inc/app_conf.h | 15 +- .../Thread_Coap_Generic/Core/Inc/app_entry.h | 12 +- .../Thread/Thread_Coap_Generic/Core/Inc/hw_conf.h | 14 +- .../Thread/Thread_Coap_Generic/Core/Inc/hw_if.h | 15 +- .../Thread/Thread_Coap_Generic/Core/Inc/main.h | 13 +- .../Thread_Coap_Generic/Core/Inc/stm32_lpm_if.h | 29 +- .../Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../Core/Inc/stm32wbxx_hal_conf.h | 15 +- .../Thread_Coap_Generic/Core/Inc/stm32wbxx_it.h | 15 +- .../Thread_Coap_Generic/Core/Inc/stm_logging.h | 11 +- .../Thread_Coap_Generic/Core/Inc/utilities_conf.h | 12 +- .../Thread_Coap_Generic/Core/Src/app_entry.c | 16 +- .../Thread_Coap_Generic/Core/Src/hw_timerserver.c | 16 +- .../Thread/Thread_Coap_Generic/Core/Src/hw_uart.c | 12 +- .../Thread/Thread_Coap_Generic/Core/Src/main.c | 26 +- .../Thread_Coap_Generic/Core/Src/stm32_lpm_if.c | 24 +- .../Core/Src/stm32wbxx_hal_msp.c | 12 +- .../Thread_Coap_Generic/Core/Src/stm32wbxx_it.c | 14 +- .../Thread_Coap_Generic/Core/Src/stm_logging.c | 13 +- .../Core/Src/system_stm32wbxx.c | 15 +- .../EWARM/startup_stm32wb55xx_cm4.s | 14 +- .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../STM32_WPAN/App/app_thread.c | 24 +- .../STM32_WPAN/App/app_thread.h | 18 +- .../STM32_WPAN/App/tl_dbg_conf.h | 18 +- .../STM32_WPAN/Target/hw_ipcc.c | 21 +- .../Thread/Thread_Coap_Generic/readme.txt | 10 +- .../EWARM/startup_stm32wb5mxx_cm4.s | 14 +- .../EWARM/stm32wb5mxx_flash_cm4.icf | 2 +- .../TouchSensing/TouchSensing_1touchkey/Inc/main.h | 13 +- .../Inc/stm32wb5mm_dk_conf.h | 13 +- .../Inc/stm32wbxx_hal_conf.h | 15 +- .../TouchSensing_1touchkey/Inc/stm32wbxx_it.h | 15 +- .../Inc/stmCriticalSection.h | 30 +- .../TouchSensing_1touchkey/Inc/touchsensing.h | 12 +- .../TouchSensing_1touchkey/Inc/tsl_conf.h | 15 +- .../TouchSensing_1touchkey/Inc/tsl_user.h | 16 +- .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 13 +- .../TouchSensing/TouchSensing_1touchkey/Src/main.c | 31 +- .../TouchSensing_1touchkey/Src/stm32wbxx_hal_msp.c | 13 +- .../TouchSensing_1touchkey/Src/stm32wbxx_it.c | 12 +- .../Src/stmCriticalSection.c | 30 +- .../TouchSensing_1touchkey/Src/system_stm32wbxx.c | 13 +- .../TouchSensing_1touchkey/Src/touchsensing.c | 14 +- .../TouchSensing_1touchkey/Src/tsl_user.c | 14 +- .../TouchSensing_1touchkey.ioc | 17 +- .../TouchSensing/TouchSensing_1touchkey/readme.txt | 10 +- .../Core/Inc/app_common.h | 14 +- .../Zigbee_OnOff_Client_Router/Core/Inc/app_conf.h | 15 +- .../Core/Inc/app_entry.h | 12 +- .../Zigbee_OnOff_Client_Router/Core/Inc/hw_conf.h | 14 +- .../Zigbee_OnOff_Client_Router/Core/Inc/hw_if.h | 15 +- .../Zigbee_OnOff_Client_Router/Core/Inc/main.h | 13 +- .../Core/Inc/stm32_lpm_if.h | 29 +- .../Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../Core/Inc/stm32wbxx_hal_conf.h | 15 +- .../Core/Inc/stm32wbxx_it.h | 15 +- .../Core/Inc/stm_logging.h | 11 +- .../Core/Inc/utilities_conf.h | 12 +- .../Core/Src/app_entry.c | 20 +- .../Core/Src/hw_timerserver.c | 16 +- .../Zigbee_OnOff_Client_Router/Core/Src/hw_uart.c | 12 +- .../Zigbee_OnOff_Client_Router/Core/Src/main.c | 24 +- .../Core/Src/stm32_lpm_if.c | 24 +- .../Core/Src/stm32wbxx_hal_msp.c | 12 +- .../Core/Src/stm32wbxx_it.c | 14 +- .../Core/Src/stm_logging.c | 13 +- .../Core/Src/system_stm32wbxx.c | 15 +- .../EWARM/startup_stm32wb55xx_cm4.s | 14 +- .../MDK-ARM/startup_stm32wb55xx_cm4.s | 13 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../STM32_WPAN/App/app_zigbee.c | 14 +- .../STM32_WPAN/App/app_zigbee.h | 14 +- .../STM32_WPAN/App/tl_dbg_conf.h | 18 +- .../STM32_WPAN/Target/hw_ipcc.c | 21 +- .../Zigbee/Zigbee_OnOff_Client_Router/readme.txt | 12 +- .../Core/Inc/app_common.h | 14 +- .../Zigbee_OnOff_Server_Coord/Core/Inc/app_conf.h | 15 +- .../Zigbee_OnOff_Server_Coord/Core/Inc/app_entry.h | 12 +- .../Zigbee_OnOff_Server_Coord/Core/Inc/hw_conf.h | 14 +- .../Zigbee_OnOff_Server_Coord/Core/Inc/hw_if.h | 15 +- .../Zigbee_OnOff_Server_Coord/Core/Inc/main.h | 13 +- .../Core/Inc/stm32_lpm_if.h | 29 +- .../Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../Core/Inc/stm32wbxx_hal_conf.h | 15 +- .../Core/Inc/stm32wbxx_it.h | 15 +- .../Core/Inc/stm_logging.h | 11 +- .../Core/Inc/utilities_conf.h | 12 +- .../Zigbee_OnOff_Server_Coord/Core/Src/app_entry.c | 20 +- .../Core/Src/hw_timerserver.c | 16 +- .../Zigbee_OnOff_Server_Coord/Core/Src/hw_uart.c | 12 +- .../Zigbee_OnOff_Server_Coord/Core/Src/main.c | 24 +- .../Core/Src/stm32_lpm_if.c | 24 +- .../Core/Src/stm32wbxx_hal_msp.c | 12 +- .../Core/Src/stm32wbxx_it.c | 15 +- .../Core/Src/stm_logging.c | 13 +- .../Core/Src/system_stm32wbxx.c | 15 +- .../EWARM/startup_stm32wb55xx_cm4.s | 14 +- .../MDK-ARM/startup_stm32wb55xx_cm4.s | 13 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../STM32_WPAN/App/app_zigbee.c | 14 +- .../STM32_WPAN/App/app_zigbee.h | 14 +- .../STM32_WPAN/App/tl_dbg_conf.h | 18 +- .../STM32_WPAN/Target/hw_ipcc.c | 21 +- .../Zigbee/Zigbee_OnOff_Server_Coord/readme.txt | 12 +- .../Core/Inc/app_common.h | 14 +- .../Core/Inc/app_conf.h | 15 +- .../Core/Inc/app_entry.h | 12 +- .../Core/Inc/hw_conf.h | 14 +- .../Zigbee_TempMeas_Client_Router/Core/Inc/hw_if.h | 15 +- .../Zigbee_TempMeas_Client_Router/Core/Inc/main.h | 13 +- .../Core/Inc/stm32_lpm_if.h | 29 +- .../Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../Core/Inc/stm32wbxx_hal_conf.h | 15 +- .../Core/Inc/stm32wbxx_it.h | 15 +- .../Core/Inc/stm_logging.h | 11 +- .../Core/Inc/utilities_conf.h | 12 +- .../Core/Src/app_entry.c | 20 +- .../Core/Src/hw_timerserver.c | 16 +- .../Core/Src/hw_uart.c | 12 +- .../Zigbee_TempMeas_Client_Router/Core/Src/main.c | 24 +- .../Core/Src/stm32_lpm_if.c | 24 +- .../Core/Src/stm32wbxx_hal_msp.c | 12 +- .../Core/Src/stm32wbxx_it.c | 14 +- .../Core/Src/stm_logging.c | 13 +- .../Core/Src/system_stm32wbxx.c | 15 +- .../EWARM/startup_stm32wb55xx_cm4.s | 14 +- .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../STM32_WPAN/App/app_zigbee.c | 29 +- .../STM32_WPAN/App/app_zigbee.h | 14 +- .../STM32_WPAN/App/tl_dbg_conf.h | 18 +- .../STM32_WPAN/Target/hw_ipcc.c | 21 +- .../Zigbee_TempMeas_Client_Router/readme.txt | 12 +- .../Core/Inc/app_common.h | 14 +- .../Core/Inc/app_conf.h | 15 +- .../Core/Inc/app_entry.h | 12 +- .../Core/Inc/app_stts22h.h | 13 +- .../Core/Inc/app_vl53l0x.h | 13 +- .../Core/Inc/hw_conf.h | 14 +- .../Zigbee_TempMeas_Server_Coord/Core/Inc/hw_if.h | 15 +- .../Zigbee_TempMeas_Server_Coord/Core/Inc/main.h | 13 +- .../Core/Inc/stm32_lpm_if.h | 29 +- .../Core/Inc/stm32wb5mm_dk_conf.h | 13 +- .../Core/Inc/stm32wbxx_hal_conf.h | 15 +- .../Core/Inc/stm32wbxx_it.h | 15 +- .../Core/Inc/stm_logging.h | 11 +- .../Core/Inc/utilities_conf.h | 12 +- .../Core/Inc/vcp_conf.h | 29 +- .../Core/Src/app_entry.c | 20 +- .../Core/Src/app_stts22h.c | 27 +- .../Core/Src/hw_timerserver.c | 16 +- .../Core/Src/hw_uart.c | 12 +- .../Zigbee_TempMeas_Server_Coord/Core/Src/main.c | 24 +- .../Core/Src/stm32_lpm_if.c | 24 +- .../Core/Src/stm32wbxx_hal_msp.c | 12 +- .../Core/Src/stm32wbxx_it.c | 14 +- .../Core/Src/stm_logging.c | 13 +- .../Core/Src/system_stm32wbxx.c | 15 +- .../EWARM/startup_stm32wb55xx_cm4.s | 14 +- .../MDK-ARM/startup_stm32wb5mxx_cm4.s | 13 +- .../Application/Startup/startup_stm32wb5mmghx.s | 14 +- .../STM32CubeIDE/Application/User/Core/syscalls.c | 27 +- .../STM32CubeIDE/Application/User/Core/sysmem.c | 27 +- .../STM32CubeIDE/STM32WB5MMGHX_FLASH.ld | 30 +- .../STM32_WPAN/App/app_zigbee.c | 14 +- .../STM32_WPAN/App/app_zigbee.h | 14 +- .../STM32_WPAN/App/tl_dbg_conf.h | 18 +- .../STM32_WPAN/Target/hw_ipcc.c | 21 +- .../Zigbee/Zigbee_TempMeas_Server_Coord/readme.txt | 12 +- 657 files changed, 59403 insertions(+), 11136 deletions(-) create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/BLE_HeartRate.ioc delete mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/stm32wb5mxx_sram_cm4.icf create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_common.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_debug.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_entry.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_stts22h.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_vl53l0x.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/hw_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/hw_flash.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/hw_if.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/lp_timer.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/main.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/stm32_lpm_if.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/stm32wb5mm_dk_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/stm32wbxx_hal_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/stm32wbxx_it.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/utilities_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/vcp_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/app_debug.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/app_entry.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/app_stts22h.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/app_vl53l0x.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/hw_flash.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/hw_timerserver.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/hw_uart.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/lp_timer.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/main.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/stm32_lpm_if.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/stm32wbxx_it.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/system_stm32wbxx.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api_calibration.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api_calibration.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api_core.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api_core.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api_ranging.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api_ranging.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api_strings.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_api_strings.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_def.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_device.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_interrupt_threshold_settings.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_platform.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_platform_log.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_platform_log.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_tof.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_tof.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_tuning.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Src/vl53l0x/vl53l0x_types.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/EWARM/BLE_Mesh_Model_Sensor.ewd create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/EWARM/BLE_Mesh_Model_Sensor.ewp create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/EWARM/Project.eww create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/EWARM/startup_stm32wb55xx_cm4.s create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/EWARM/stm32wb5mxx_flash_cm4.icf create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/MDK-ARM/BLE_Mesh_Model_Sensor.uvoptx create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/MDK-ARM/BLE_Mesh_Model_Sensor.uvprojx create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/MDK-ARM/startup_stm32wb5mxx_cm4.s create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/MDK-ARM/stm32wb5mxx_flash_cm4.sct create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32CubeIDE/.cproject create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32CubeIDE/.project create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32CubeIDE/Application/Core/syscalls.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32CubeIDE/Application/Core/sysmem.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32CubeIDE/Application/Startup/startup_stm32wb5mmghx.s create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32CubeIDE/STM32WB5MMGHX_FLASH.ld create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/PWM_config.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/PWM_config.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/PWM_handlers.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/PWM_handlers.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/app_ble.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/app_ble.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_config.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_config.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_config_client.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_config_client.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_generic.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_generic.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_generic_client.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_generic_client.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_light.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_light.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_light_client.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_light_client.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_light_lc.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_light_lc.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_mesh.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_mesh.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_nvm.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_nvm.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_sensor.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_sensor.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_sensors_client.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_sensors_client.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_vendor.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/appli_vendor.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/ble_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/ble_dbg_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/cube_hal.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/data.s create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/hal_common.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/mesh_cfg_usr.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/models_if.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/models_if.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/pal_nvm.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/sensor_cfg_usr.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/svcctl_conf.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/tl_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/tl_dbg_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/tl_if.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/user_if.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/user_if.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/app/vcp_conf.h create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/STM32_WPAN/target/hw_ipcc.c create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/readme.txt delete mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_ThermometerSensor/EWARM/stm32wb55xx_flash_cm4.icf create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_ThermometerSensor/EWARM/stm32wb5mxx_flash_cm4.icf create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Sensor/BLE_Sensor.ioc create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Sensor/Core/Src/hw_uart.c delete mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_Sensor/EWARM/stm32wb5mxx_sram_cm4.icf create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_TransparentMode/BLE_TransparentMode.ioc delete mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_TransparentMode/EWARM/stm32wb5mxx_sram_cm4.icf create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_p2pServer/BLE_p2pServer.ioc delete mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_p2pServer/EWARM/stm32wb5mxx_sram_cm4.icf create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_p2pServer/MDK-ARM/BLE_p2pServer.uvoptx create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_p2pServer/MDK-ARM/BLE_p2pServer.uvprojx create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_p2pServer/MDK-ARM/startup_stm32wb5mxx_cm4.s create mode 100644 Projects/STM32WB5MM-DK/Applications/BLE/BLE_p2pServer/MDK-ARM/stm32wb5mxx_flash_cm4.sct (limited to 'Projects/STM32WB5MM-DK/Applications') diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/.extSettings b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/.extSettings index 8bafa9b25..45631b545 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/.extSettings +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/.extSettings @@ -1,8 +1,7 @@ [ProjectFiles] HeaderPath=..\..\..\..\..\..\Drivers\BSP\STM32WB5MM-DK;..\..\..\..\..\..\Drivers\BSP\Components\ssd1315;..\..\..\..\..\..\Drivers\BSP\Components\Common;..\..\..\..\..\..\Utilities\Fonts;..\..\..\..\..\..\Utilities\LCD; [Others] -Define=STM32WL55MM_DK -HALModule=IPCC; +Define=USE_STM32WB5M_DK [Groups] Drivers/BSP/STM32WB5MM-DK=../../../../../../Drivers/BSP/STM32WB5MM-DK/stm32wb5mm_dk.c;../../../../../../Drivers/BSP/STM32WB5MM-DK/stm32wb5mm_dk_bus.c;../../../../../../Drivers/BSP/STM32WB5MM-DK/stm32wb5mm_dk_lcd.c;../../../../../../Drivers/BSP/Components/ssd1315/ssd1315.c;../../../../../../Drivers/BSP/Components/ssd1315/ssd1315_reg.c; Doc=../readme.txt; diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/BLE_HeartRate.ioc b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/BLE_HeartRate.ioc new file mode 100644 index 000000000..84f143439 --- /dev/null +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/BLE_HeartRate.ioc @@ -0,0 +1,520 @@ +#MicroXplorer Configuration settings - do not modify +Dma.Request0=USART1_TX +Dma.RequestsNb=1 +Dma.USART1_TX.0.Direction=DMA_MEMORY_TO_PERIPH +Dma.USART1_TX.0.EventEnable=DISABLE +Dma.USART1_TX.0.Instance=DMA2_Channel4 +Dma.USART1_TX.0.MemDataAlignment=DMA_MDATAALIGN_BYTE +Dma.USART1_TX.0.MemInc=DMA_MINC_ENABLE +Dma.USART1_TX.0.Mode=DMA_NORMAL +Dma.USART1_TX.0.PeriphDataAlignment=DMA_PDATAALIGN_BYTE +Dma.USART1_TX.0.PeriphInc=DMA_PINC_DISABLE +Dma.USART1_TX.0.Polarity=HAL_DMAMUX_REQ_GEN_RISING +Dma.USART1_TX.0.Priority=DMA_PRIORITY_LOW +Dma.USART1_TX.0.RequestNumber=1 +Dma.USART1_TX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber +Dma.USART1_TX.0.SignalID=NONE +Dma.USART1_TX.0.SyncEnable=DISABLE +Dma.USART1_TX.0.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT +Dma.USART1_TX.0.SyncRequestNumber=1 +Dma.USART1_TX.0.SyncSignalID=NONE +File.Version=6 +GPIO.groupedBy=Group By Peripherals +I2C3.IPParameters=Timing +I2C3.Timing=0x00707CBB +KeepUserPlacement=false +Mcu.Family=STM32WB +Mcu.IP0=DMA +Mcu.IP1=HSEM +Mcu.IP10=STM32_WPAN +Mcu.IP11=SYS +Mcu.IP12=TIM17 +Mcu.IP13=TINY_LPM +Mcu.IP14=USART1 +Mcu.IP2=I2C3 +Mcu.IP3=IPCC +Mcu.IP4=NVIC +Mcu.IP5=RCC +Mcu.IP6=RF +Mcu.IP7=RTC +Mcu.IP8=SEQUENCER +Mcu.IP9=SPI1 +Mcu.IPNb=15 +Mcu.Name=STM32WB5MMGHx +Mcu.Package=LGA86 +Mcu.Pin0=PA2 +Mcu.Pin1=PA1 +Mcu.Pin10=PB5 +Mcu.Pin11=PB4 +Mcu.Pin12=PB3 +Mcu.Pin13=PC10 +Mcu.Pin14=PC11 +Mcu.Pin15=PC12 +Mcu.Pin16=PA13 +Mcu.Pin17=PA14 +Mcu.Pin18=PA15 +Mcu.Pin19=PA10 +Mcu.Pin2=PA0 +Mcu.Pin20=PA12 +Mcu.Pin21=PA11 +Mcu.Pin22=PD0 +Mcu.Pin23=PD1 +Mcu.Pin24=PB13 +Mcu.Pin25=PC6 +Mcu.Pin26=PB14 +Mcu.Pin27=PB15 +Mcu.Pin28=PB6 +Mcu.Pin29=PC13 +Mcu.Pin3=PC3 +Mcu.Pin30=PB12 +Mcu.Pin31=PE4 +Mcu.Pin32=PC5 +Mcu.Pin33=PB11 +Mcu.Pin34=PB10 +Mcu.Pin35=PB2 +Mcu.Pin36=PC4 +Mcu.Pin37=PA8 +Mcu.Pin38=PA9 +Mcu.Pin39=PA7 +Mcu.Pin4=PC2 +Mcu.Pin40=PA6 +Mcu.Pin41=PA5 +Mcu.Pin42=PA4 +Mcu.Pin43=PA3 +Mcu.Pin44=PH0 +Mcu.Pin45=PH1 +Mcu.Pin46=PD14 +Mcu.Pin47=PE1 +Mcu.Pin48=PD13 +Mcu.Pin49=PD12 +Mcu.Pin5=PC1 +Mcu.Pin50=PD2 +Mcu.Pin51=PC9 +Mcu.Pin52=PD3 +Mcu.Pin53=PC7 +Mcu.Pin54=PE3 +Mcu.Pin55=PD4 +Mcu.Pin56=PD9 +Mcu.Pin57=PD8 +Mcu.Pin58=PD15 +Mcu.Pin59=PD10 +Mcu.Pin6=PB9 +Mcu.Pin60=PE2 +Mcu.Pin61=PE0 +Mcu.Pin62=PD5 +Mcu.Pin63=PD6 +Mcu.Pin64=PD11 +Mcu.Pin65=PC8 +Mcu.Pin66=VP_HSEM_VS_HSEM +Mcu.Pin67=VP_IPCC_VS_IPCC +Mcu.Pin68=VP_RCC_V_OSC_IN +Mcu.Pin69=VP_RCC_V_OSC32_IN +Mcu.Pin7=PC0 +Mcu.Pin70=VP_RF_VS_RF +Mcu.Pin71=VP_RTC_VS_RTC_Activate +Mcu.Pin72=VP_SEQUENCER_VS_SEQUENCER +Mcu.Pin73=VP_STM32_WPAN_VS_BLE_HOST +Mcu.Pin74=VP_SYS_VS_Systick +Mcu.Pin75=VP_TIM17_VS_ClockSourceINT +Mcu.Pin76=VP_TINY_LPM_VS_TINY_LPM +Mcu.Pin8=PB8 +Mcu.Pin9=PB7 +Mcu.PinsNb=77 +Mcu.ThirdPartyNb=0 +Mcu.UserConstants= +Mcu.UserName=STM32WB5MMGHx +MxCube.Version=6.4.0 +MxDb.Version=DB.6.0.40 +NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false +NVIC.DMA2_Channel4_IRQn=true\:15\:0\:true\:false\:true\:false\:true +NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false +NVIC.ForceEnableDMAVector=true +NVIC.HSEM_IRQn=true\:0\:0\:false\:false\:true\:false\:true +NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false +NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false +NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false +NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false +NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4 +NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false +NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:false\:true +NVIC.USART1_IRQn=true\:0\:0\:false\:false\:true\:true\:true +NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false +PA0.Locked=true +PA0.Signal=ADCx_IN5 +PA1.Locked=true +PA1.Mode=Full_Duplex_Master +PA1.Signal=SPI1_SCK +PA10.Locked=true +PA10.Signal=I2C1_SDA +PA11.GPIOParameters=GPIO_Label +PA11.GPIO_Label=USB_N +PA11.Locked=true +PA11.Signal=USB_DM +PA12.GPIOParameters=GPIO_Label +PA12.GPIO_Label=USB_P +PA12.Locked=true +PA12.Signal=USB_DP +PA13.GPIOParameters=GPIO_Label +PA13.GPIO_Label=T_SWDIO +PA13.Locked=true +PA13.Signal=SYS_JTMS-SWDIO +PA14.GPIOParameters=GPIO_Label +PA14.GPIO_Label=T_SWCLK +PA14.Locked=true +PA14.Signal=SYS_JTCK-SWCLK +PA15.Locked=true +PA15.Signal=S_TIM2_CH1 +PA2.Locked=true +PA2.Signal=ADCx_IN7 +PA3.GPIOParameters=GPIO_Label +PA3.GPIO_Label=QSPI_BK_SCK +PA3.Locked=true +PA3.Signal=QUADSPI_CLK +PA4.Locked=true +PA4.Signal=SPI1_NSS +PA5.Locked=true +PA5.Signal=ADCx_IN10 +PA6.Locked=true +PA6.Signal=LPUART1_CTS +PA7.Locked=true +PA7.Mode=Full_Duplex_Master +PA7.Signal=SPI1_MOSI +PA8.GPIOParameters=GPIO_Label +PA8.GPIO_Label=SAI1_CK2 +PA8.Locked=true +PA8.Signal=SAI1_CK2 +PA9.GPIOParameters=GPIO_Label +PA9.GPIO_Label=SAI1_D2 +PA9.Locked=true +PA9.Signal=SAI1_D2 +PB10.Locked=true +PB10.Signal=S_TIM2_CH3 +PB11.GPIOParameters=GPIO_Label +PB11.GPIO_Label=I2C3_SDA +PB11.Locked=true +PB11.Mode=I2C +PB11.Signal=I2C3_SDA +PB12.Locked=true +PB12.Signal=LPUART1_RTS +PB13.GPIOParameters=GPIO_Label +PB13.GPIO_Label=I2C3_SCL +PB13.Locked=true +PB13.Mode=I2C +PB13.Signal=I2C3_SCL +PB14.Locked=true +PB14.Signal=SPI2_MISO +PB15.Locked=true +PB15.Signal=SPI2_MOSI +PB2.Locked=true +PB2.Signal=GPIO_Input +PB3.GPIOParameters=GPIO_Label +PB3.GPIO_Label=T_SWO +PB3.Locked=true +PB3.Signal=SYS_JTDO-SWO +PB4.Locked=true +PB4.Mode=Full_Duplex_Master +PB4.Signal=SPI1_MISO +PB5.GPIOParameters=GPIO_Label +PB5.GPIO_Label=LPUART1_TX_MCU +PB5.Locked=true +PB5.Signal=LPUART1_TX +PB6.GPIOParameters=GPIO_Speed,GPIO_PuPd,GPIO_Label +PB6.GPIO_Label=VCP_TX +PB6.GPIO_PuPd=GPIO_PULLUP +PB6.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH +PB6.Locked=true +PB6.Mode=Asynchronous +PB6.Signal=USART1_TX +PB7.GPIOParameters=GPIO_ModeDefaultPP,GPIO_Speed,GPIO_PuPd,GPIO_Label +PB7.GPIO_Label=VCP_RX +PB7.GPIO_ModeDefaultPP=GPIO_MODE_AF_PP +PB7.GPIO_PuPd=GPIO_PULLUP +PB7.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH +PB7.Locked=true +PB7.Mode=Asynchronous +PB7.Signal=USART1_RX +PB8.Locked=true +PB8.Signal=I2C1_SCL +PB9.GPIOParameters=GPIO_Label +PB9.GPIO_Label=QSPI_BK_IO0 +PB9.Locked=true +PB9.Signal=QUADSPI_BK1_IO0 +PC0.GPIOParameters=GPIO_Label +PC0.GPIO_Label=LPUART1_RX_MCU +PC0.Locked=true +PC0.Signal=LPUART1_RX +PC1.Locked=true +PC1.Signal=ADCx_IN2 +PC10.Locked=true +PC10.Signal=GPIO_Input +PC11.Locked=true +PC11.Signal=GPIO_Input +PC12.GPIOParameters=GPIO_Label +PC12.GPIO_Label=User-B1 +PC12.Locked=true +PC12.Signal=SYS_WKUP3 +PC13.GPIOParameters=GPIO_Label +PC13.GPIO_Label=User-B2 +PC13.Locked=true +PC13.Signal=SYS_WKUP2 +PC2.Locked=true +PC2.Signal=GPIO_Input +PC3.Locked=true +PC3.Signal=ADCx_IN4 +PC4.Locked=true +PC4.Signal=ADCx_IN13 +PC5.Locked=true +PC5.Signal=ADCx_IN14 +PC6.GPIOParameters=GPIO_Label +PC6.GPIO_Label=TSC_G4_IO1 +PC6.Locked=true +PC6.Signal=TSC_G4_IO1 +PC7.GPIOParameters=GPIO_Label +PC7.GPIO_Label=TSC_G4_IO2 +PC7.Locked=true +PC7.Signal=TSC_G4_IO2 +PC8.GPIOParameters=GPIO_Label +PC8.GPIO_Label=RST_DISP +PC8.Locked=true +PC8.Signal=GPIO_Output +PC9.GPIOParameters=GPIO_Label +PC9.GPIO_Label=D/C_DISP +PC9.Locked=true +PC9.Signal=GPIO_Output +PCC.Ble.ConnectionInterval=1000.0 +PCC.Ble.DataLength=6 +PCC.Ble.IsUsed=false +PCC.Ble.Mode=NOT_SELECTED +PCC.Ble.PowerLevel=Min +PCC.Zigbee.IsUsed=false +PCC.Zigbee.Mode=Sleepy End Device +PCC.Zigbee.Payload=15 +PCC.Zigbee.PoolPeriodicity=480.0 +PCC.Zigbee.PowerLevel=Min +PCC.Zigbee.RequestPeriodicity=1500.0 +PD0.Locked=true +PD0.Signal=SPI2_NSS +PD1.Locked=true +PD1.Signal=SPI2_SCK +PD10.GPIOParameters=GPIO_Label +PD10.GPIO_Label=TSC_G6_IO1 +PD10.Locked=true +PD10.Signal=TSC_G6_IO1 +PD11.GPIOParameters=GPIO_Label +PD11.GPIO_Label=TSC_G6_IO2 +PD11.Locked=true +PD11.Signal=TSC_G6_IO2 +PD12.Locked=true +PD12.Signal=GPIO_Input +PD13.Locked=true +PD13.Signal=GPIO_Input +PD14.Locked=true +PD14.Signal=S_TIM1_CH1 +PD15.Locked=true +PD15.Signal=S_TIM1_CH2 +PD2.GPIOParameters=GPIO_Label +PD2.GPIO_Label=INT1 +PD2.Locked=true +PD2.Signal=GPXTI2 +PD3.GPIOParameters=GPIO_Label +PD3.GPIO_Label=QSPI_BK_NCS +PD3.Locked=true +PD3.Signal=QUADSPI_BK1_NCS +PD4.Locked=true +PD4.Signal=GPIO_Input +PD5.GPIOParameters=GPIO_Label +PD5.GPIO_Label=QSPI_BK_IO1 +PD5.Locked=true +PD5.Signal=QUADSPI_BK1_IO1 +PD6.GPIOParameters=GPIO_Label +PD6.GPIO_Label=QSPI_BK_IO2 +PD6.Locked=true +PD6.Signal=QUADSPI_BK1_IO2 +PD8.Locked=true +PD8.Signal=GPIO_Output +PD9.GPIOParameters=GPIO_Label +PD9.GPIO_Label=INT2 +PD9.Locked=true +PD9.Signal=GPXTI9 +PE0.Locked=true +PE0.Signal=S_TIM16_CH1 +PE1.GPIOParameters=GPIO_Label +PE1.GPIO_Label=DRDY +PE1.Locked=true +PE1.Signal=GPIO_Input +PE2.GPIOParameters=GPIO_Label +PE2.GPIO_Label=GPIO_SELECT1 +PE2.Locked=true +PE2.Signal=GPIO_Output +PE3.Locked=true +PE3.Signal=GPXTI3 +PE4.Locked=true +PE4.Signal=GPIO_Input +PH0.GPIOParameters=GPIO_Label +PH0.GPIO_Label=CS_DISP +PH0.Locked=true +PH0.Signal=GPIO_Output +PH1.GPIOParameters=GPIO_Label +PH1.GPIO_Label=GPIO_SELECT2 +PH1.Locked=true +PH1.Signal=GPIO_Output +PinOutPanel.CurrentBGAView=Top +PinOutPanel.RotationAngle=0 +ProjectManager.AskForMigrate=true +ProjectManager.BackupPrevious=false +ProjectManager.CompilerOptimize=6 +ProjectManager.ComputerToolchain=false +ProjectManager.CoupleFile=false +ProjectManager.DeletePrevious=true +ProjectManager.DeviceId=STM32WB5MMGHx +ProjectManager.FreePins=false +ProjectManager.HalAssertFull=false +ProjectManager.HeapSize=0x400 +ProjectManager.KeepUserCode=true +ProjectManager.LastFirmware=false +ProjectManager.LibraryCopy=2 +ProjectManager.MainLocation=Core/Src +ProjectManager.NoMain=false +ProjectManager.PreviousToolchain= +ProjectManager.ProjectBuild=false +ProjectManager.ProjectFileName=BLE_HeartRate.ioc +ProjectManager.ProjectName=BLE_HeartRate +ProjectManager.RegisterCallBack= +ProjectManager.StackSize=0x1000 +ProjectManager.TargetToolchain=EWARM V8 +ProjectManager.ToolChainLocation= +ProjectManager.UnderRoot=false +ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-MX_DMA_Init-DMA-false-HAL-true,3-SystemClock_Config-RCC-false-HAL-false,4-MX_RF_Init-RF-false-HAL-true,5-MX_RTC_Init-RTC-false-HAL-true,false-6-MX_TIM17_Init-TIM17-false-HAL-true,7-MX_USART1_UART_Init-USART1-false-HAL-false,8-APPE_Init-STM32_WPAN-false-HAL-false,false-9-MX_I2C3_Init-I2C3-false-HAL-true,false-10-MX_SPI1_Init-SPI1-false-HAL-true,11-MX_IPCC_Init-IPCC-false-HAL-true,0-MX_HSEM_Init-HSEM-false-HAL-true +RCC.AHBFreq_Value=32000000 +RCC.APB1Freq_Value=32000000 +RCC.APB1TimFreq_Value=32000000 +RCC.APB2Freq_Value=32000000 +RCC.APB2TimFreq_Value=32000000 +RCC.APB3Freq_Value=16000000 +RCC.Cortex2Freq_Value=32000000 +RCC.CortexFreq_Value=32000000 +RCC.FCLK2Freq_Value=32000000 +RCC.FCLKCortexFreq_Value=32000000 +RCC.FamilyName=M +RCC.HCLK2Freq_Value=32000000 +RCC.HCLK3Freq_Value=32000000 +RCC.HCLKFreq_Value=32000000 +RCC.HCLKRFFreq_Value=16000000 +RCC.HSE_VALUE=32000000 +RCC.HSI48_VALUE=48000000 +RCC.HSI_VALUE=16000000 +RCC.I2C1Freq_Value=32000000 +RCC.I2C3Freq_Value=32000000 +RCC.IPParameters=AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,APB3Freq_Value,Cortex2Freq_Value,CortexFreq_Value,FCLK2Freq_Value,FCLKCortexFreq_Value,FamilyName,HCLK2Freq_Value,HCLK3Freq_Value,HCLKFreq_Value,HCLKRFFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C3Freq_Value,LCDFreq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSI_VALUE,MCO1PinFreq_Value,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PWRFreq_Value,RFWKPClockSelection,RFWKPFreq_Value,RNGFreq_Value,RTCClockSelection,RTCFreq_Value,SAI1Freq_Value,SMPS1Freq_Value,SMPSCLockSelectionVirtual,SMPSFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,USART1Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value +RCC.LCDFreq_Value=32768 +RCC.LPTIM1Freq_Value=32000000 +RCC.LPTIM2Freq_Value=32000000 +RCC.LPUART1Freq_Value=32000000 +RCC.LSCOPinFreq_Value=32000 +RCC.LSI_VALUE=32000 +RCC.MCO1PinFreq_Value=32000000 +RCC.PLLPoutputFreq_Value=16000000 +RCC.PLLQoutputFreq_Value=16000000 +RCC.PLLRCLKFreq_Value=16000000 +RCC.PLLSAI1PoutputFreq_Value=16000000 +RCC.PLLSAI1QoutputFreq_Value=16000000 +RCC.PLLSAI1RoutputFreq_Value=16000000 +RCC.PWRFreq_Value=32000000 +RCC.RFWKPClockSelection=RCC_RFWKPCLKSOURCE_LSE +RCC.RFWKPFreq_Value=32768 +RCC.RNGFreq_Value=32000 +RCC.RTCClockSelection=RCC_RTCCLKSOURCE_LSE +RCC.RTCFreq_Value=32768 +RCC.SAI1Freq_Value=16000000 +RCC.SMPS1Freq_Value=16000000 +RCC.SMPSCLockSelectionVirtual=RCC_SMPSCLKSOURCE_HSE +RCC.SMPSFreq_Value=8000000 +RCC.SYSCLKFreq_VALUE=32000000 +RCC.SYSCLKSource=RCC_SYSCLKSOURCE_HSE +RCC.USART1Freq_Value=32000000 +RCC.VCOInputFreq_Value=4000000 +RCC.VCOOutputFreq_Value=32000000 +RCC.VCOSAI1OutputFreq_Value=32000000 +SH.ADCx_IN10.0=ADC1_IN10 +SH.ADCx_IN10.ConfNb=1 +SH.ADCx_IN13.0=ADC1_IN13 +SH.ADCx_IN13.ConfNb=1 +SH.ADCx_IN14.0=ADC1_IN14 +SH.ADCx_IN14.ConfNb=1 +SH.ADCx_IN2.0=ADC1_IN2 +SH.ADCx_IN2.ConfNb=1 +SH.ADCx_IN4.0=ADC1_IN4 +SH.ADCx_IN4.ConfNb=1 +SH.ADCx_IN5.0=ADC1_IN5 +SH.ADCx_IN5.ConfNb=1 +SH.ADCx_IN7.0=ADC1_IN7 +SH.ADCx_IN7.ConfNb=1 +SH.GPXTI2.0=GPIO_EXTI2 +SH.GPXTI2.ConfNb=1 +SH.GPXTI3.0=GPIO_EXTI3 +SH.GPXTI3.ConfNb=1 +SH.GPXTI9.0=GPIO_EXTI9 +SH.GPXTI9.ConfNb=1 +SH.S_TIM16_CH1.0=TIM16_CH1 +SH.S_TIM16_CH1.ConfNb=1 +SH.S_TIM1_CH1.0=TIM1_CH1 +SH.S_TIM1_CH1.ConfNb=1 +SH.S_TIM1_CH2.0=TIM1_CH2 +SH.S_TIM1_CH2.ConfNb=1 +SH.S_TIM2_CH1.0=TIM2_CH1 +SH.S_TIM2_CH1.ConfNb=1 +SH.S_TIM2_CH3.0=TIM2_CH3 +SH.S_TIM2_CH3.ConfNb=1 +SPI1.CalculateBaudRate=16.0 MBits/s +SPI1.Direction=SPI_DIRECTION_2LINES +SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate +SPI1.Mode=SPI_MODE_MASTER +SPI1.VirtualType=VM_MASTER +STM32_WPAN.BLE_CFG_SVC_MAX_NBR_CB=7 +STM32_WPAN.BLE_DBG_DIS_EN=1 +STM32_WPAN.BLE_DBG_HRS_EN=1 +STM32_WPAN.BLE_DBG_SVCCTL_EN=1 +STM32_WPAN.BT_SIG_HEART_RATE_SENSOR=Enabled +STM32_WPAN.CFG_ADV_BD_ADDRESS=0x7257acd87a6c +STM32_WPAN.CFG_BONDING_MODE=1 +STM32_WPAN.CFG_DEBUGGER_SUPPORTED=1 +STM32_WPAN.CFG_DEBUG_APP_TRACE=1 +STM32_WPAN.CFG_DEBUG_BLE_TRACE=1 +STM32_WPAN.CFG_DEBUG_TRACE_LIGHT=1 +STM32_WPAN.CFG_DEBUG_TRACE_UART=hw_uart1 +STM32_WPAN.CFG_HW_USART1_ENABLED=1 +STM32_WPAN.CFG_LPM_SUPPORTED=0 +STM32_WPAN.CFG_USE_SMPS=0 +STM32_WPAN.CUSTOM_P2P_SERVER=Disabled +STM32_WPAN.IPParameters=CUSTOM_P2P_SERVER,BT_SIG_HEART_RATE_SENSOR,BLE_CFG_SVC_MAX_NBR_CB,CFG_HW_USART1_ENABLED,CFG_DEBUGGER_SUPPORTED,CFG_DEBUG_TRACE_UART,CFG_LPM_SUPPORTED,CFG_ADV_BD_ADDRESS,CFG_BONDING_MODE,BLE_DBG_DIS_EN,BLE_DBG_HRS_EN,BLE_DBG_SVCCTL_EN,CFG_DEBUG_TRACE_LIGHT,CFG_DEBUG_BLE_TRACE,CFG_DEBUG_APP_TRACE,CFG_USE_SMPS,LOCAL_NAME,LOCAL_NAME_FORMATTED +STM32_WPAN.LOCAL_NAME=HRSTM +STM32_WPAN.LOCAL_NAME_FORMATTED=,'H','R','S','T','M' +USART1.IPParameters=VirtualMode-Asynchronous,OverSampling +USART1.OverSampling=UART_OVERSAMPLING_8 +USART1.VirtualMode-Asynchronous=VM_ASYNC +VP_HSEM_VS_HSEM.Mode=HSEM_Activate +VP_HSEM_VS_HSEM.Signal=HSEM_VS_HSEM +VP_IPCC_VS_IPCC.Mode=IPCC_Activate +VP_IPCC_VS_IPCC.Signal=IPCC_VS_IPCC +VP_RCC_V_OSC32_IN.Mode=LSE-External-Clock-Source +VP_RCC_V_OSC32_IN.Signal=RCC_V_OSC32_IN +VP_RCC_V_OSC_IN.Mode=HSE-External-Clock-Source +VP_RCC_V_OSC_IN.Signal=RCC_V_OSC_IN +VP_RF_VS_RF.Mode=RF_Activate +VP_RF_VS_RF.Signal=RF_VS_RF +VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled +VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate +VP_SEQUENCER_VS_SEQUENCER.Mode=SEQUENCER_Enabled +VP_SEQUENCER_VS_SEQUENCER.Signal=SEQUENCER_VS_SEQUENCER +VP_STM32_WPAN_VS_BLE_HOST.Mode=STM32_WPAN_Enabled +VP_STM32_WPAN_VS_BLE_HOST.Signal=STM32_WPAN_VS_BLE_HOST +VP_SYS_VS_Systick.Mode=SysTick +VP_SYS_VS_Systick.Signal=SYS_VS_Systick +VP_TIM17_VS_ClockSourceINT.Mode=Enable_Timer +VP_TIM17_VS_ClockSourceINT.Signal=TIM17_VS_ClockSourceINT +VP_TINY_LPM_VS_TINY_LPM.Mode=TINY_LPM_Enabled +VP_TINY_LPM_VS_TINY_LPM.Signal=TINY_LPM_VS_TINY_LPM +board=STM32WB5MM-DK +boardIOC=true +ProjectManager.Example=BLE_HeartRate +ProjectManager.ExampleSource=CubeFw diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_common.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_common.h index 3981eb9da..62e8ad603 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_common.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_common.h @@ -1,19 +1,18 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : app_common.h - * Description : App Common application configuration file for STM32WPAN Middleware. - * + ****************************************************************************** + * @file app_common.h + * @author MCD Application Team + * @brief App Common application configuration file for STM32WPAN Middleware. ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -115,5 +114,3 @@ extern "C"{ #endif #endif /*APP_COMMON_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_conf.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_conf.h index a59aeb43c..4987ac13c 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_conf.h @@ -1,18 +1,18 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : app_conf.h - * Description : Application configuration file for STM32WPAN Middleware. + ****************************************************************************** + * @file app_conf.h + * @author MCD Application Team + * @brief Application configuration file for STM32WPAN Middleware. ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -42,8 +42,7 @@ * Define Advertising parameters */ #define CFG_ADV_BD_ADDRESS (0x7257acd87a6c) -#define CFG_BLE_ADDRESS_TYPE RANDOM_ADDR /**< Bluetooth address types defined in ble_legacy.h */ -/*#define CFG_STATIC_RANDOM_ADDRESS (0xf257acd87a6c)*/ /**< Static Random Address fixed for lifetime of the device */ +#define CFG_BLE_ADDRESS_TYPE PUBLIC_ADDR /**< Bluetooth address types defined in ble_legacy.h */ #define CFG_FAST_CONN_ADV_INTERVAL_MIN (0x80) /**< 80ms */ #define CFG_FAST_CONN_ADV_INTERVAL_MAX (0xA0) /**< 100ms */ @@ -261,6 +260,10 @@ * - SHCI_C2_BLE_INIT_OPTIONS_WITH_SVC_CHANGE_DESC * - SHCI_C2_BLE_INIT_OPTIONS_DEVICE_NAME_RO * - SHCI_C2_BLE_INIT_OPTIONS_DEVICE_NAME_RW + * - SHCI_C2_BLE_INIT_OPTIONS_EXT_ADV + * - SHCI_C2_BLE_INIT_OPTIONS_NO_EXT_ADV + * - SHCI_C2_BLE_INIT_OPTIONS_CS_ALGO2 + * - SHCI_C2_BLE_INIT_OPTIONS_NO_CS_ALGO2 * - SHCI_C2_BLE_INIT_OPTIONS_POWER_CLASS_1 * - SHCI_C2_BLE_INIT_OPTIONS_POWER_CLASS_2_3 * which are used to set following configuration bits: @@ -270,11 +273,15 @@ * 0: with service change desc. * (bit 2): 1: device name Read-Only * 0: device name R/W + * (bit 3): 1: extended advertizing supported [NOT SUPPORTED] + * 0: extended advertizing not supported [NOT SUPPORTED] + * (bit 4): 1: CS Algo #2 supported + * 0: CS Algo #2 not supported * (bit 7): 1: LE Power Class 1 * 0: LE Power Class 2-3 * other bits: reserved (shall be set to 0) */ -#define CFG_BLE_OPTIONS (SHCI_C2_BLE_INIT_OPTIONS_LL_HOST | SHCI_C2_BLE_INIT_OPTIONS_WITH_SVC_CHANGE_DESC | SHCI_C2_BLE_INIT_OPTIONS_DEVICE_NAME_RW | SHCI_C2_BLE_INIT_OPTIONS_POWER_CLASS_2_3) +#define CFG_BLE_OPTIONS (SHCI_C2_BLE_INIT_OPTIONS_LL_HOST | SHCI_C2_BLE_INIT_OPTIONS_WITH_SVC_CHANGE_DESC | SHCI_C2_BLE_INIT_OPTIONS_DEVICE_NAME_RW | SHCI_C2_BLE_INIT_OPTIONS_NO_EXT_ADV | SHCI_C2_BLE_INIT_OPTIONS_NO_CS_ALGO2 | SHCI_C2_BLE_INIT_OPTIONS_POWER_CLASS_2_3) #define CFG_BLE_MAX_COC_INITIATOR_NBR (32) @@ -282,6 +289,18 @@ #define CFG_BLE_MAX_TX_POWER (0) +/** + * BLE Rx model configuration flags to be configured with: + * - SHCI_C2_BLE_INIT_RX_MODEL_AGC_RSSI_LEGACY + * - SHCI_C2_BLE_INIT_RX_MODEL_AGC_RSSI_BLOCKER + * which are used to set following configuration bits: + * (bit 0): 1: agc_rssi model improved vs RF blockers + * 0: Legacy agc_rssi model + * other bits: reserved (shall be set to 0) + */ + +#define CFG_BLE_RX_MODEL_CONFIG SHCI_C2_BLE_INIT_RX_MODEL_AGC_RSSI_LEGACY + /****************************************************************************** * Transport Layer ******************************************************************************/ @@ -429,8 +448,9 @@ #endif -/** tick timer value in us */ +/** tick timer values */ #define CFG_TS_TICK_VAL DIVR( (CFG_RTCCLK_DIV * 1000000), LSE_VALUE ) +#define CFG_TS_TICK_VAL_PS DIVR( ((uint64_t)CFG_RTCCLK_DIV * 1e12), (uint64_t)LSE_VALUE ) typedef enum { @@ -545,9 +565,9 @@ typedef enum CFG_TASK_ADV_UPDATE_ID, CFG_TASK_MEAS_REQ_ID, CFG_TASK_HCI_ASYNCH_EVT_ID, -/* USER CODE BEGIN CFG_Task_Id_With_HCI_Cmd_t */ + /* USER CODE BEGIN CFG_Task_Id_With_HCI_Cmd_t */ CFG_TASK_SW_BUTTON_PUSHED_ID, -/* USER CODE END CFG_Task_Id_With_HCI_Cmd_t */ + /* USER CODE END CFG_Task_Id_With_HCI_Cmd_t */ CFG_LAST_TASK_ID_WITH_HCICMD, /**< Shall be LAST in the list */ } CFG_Task_Id_With_HCI_Cmd_t; @@ -556,11 +576,12 @@ typedef enum { CFG_FIRST_TASK_ID_WITH_NO_HCICMD = CFG_LAST_TASK_ID_WITH_HCICMD - 1, /**< Shall be FIRST in the list */ CFG_TASK_SYSTEM_HCI_ASYNCH_EVT_ID, -/* USER CODE BEGIN CFG_Task_Id_With_NO_HCI_Cmd_t */ + /* USER CODE BEGIN CFG_Task_Id_With_NO_HCI_Cmd_t */ -/* USER CODE END CFG_Task_Id_With_NO_HCI_Cmd_t */ + /* USER CODE END CFG_Task_Id_With_NO_HCI_Cmd_t */ CFG_LAST_TASK_ID_WITHO_NO_HCICMD /**< Shall be LAST in the list */ } CFG_Task_Id_With_NO_HCI_Cmd_t; + #define CFG_TASK_NBR CFG_LAST_TASK_ID_WITHO_NO_HCICMD /** @@ -593,9 +614,9 @@ typedef enum { CFG_LPM_APP, CFG_LPM_APP_BLE, - /* USER CODE BEGIN CFG_LPM_Id_t */ + /* USER CODE BEGIN CFG_LPM_Id_t */ - /* USER CODE END CFG_LPM_Id_t */ + /* USER CODE END CFG_LPM_Id_t */ } CFG_LPM_Id_t; /****************************************************************************** @@ -606,5 +627,3 @@ typedef enum #define CFG_OTP_END_ADRESS OTP_AREA_END_ADDR #endif /*APP_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_debug.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_debug.h index 9354bf8a9..9237f301f 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_debug.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_debug.h @@ -1,18 +1,18 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : app_debug.h - * Description : Header for app_debug.c module - ****************************************************************************** + ****************************************************************************** + * @file app_debug.h + * @author MCD Application Team + * @brief Header for app_debug.c module + ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -65,5 +65,3 @@ extern "C" { #endif #endif /*__APP_DEBUG_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_entry.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_entry.h index f559a7d8e..752734d7e 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_entry.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/app_entry.h @@ -1,18 +1,18 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : app_entry.h - * Description : App entry configuration file for STM32WPAN Middleware. - ****************************************************************************** + ****************************************************************************** + * @file app_entry.h + * @author MCD Application Team + * @brief Interface to the application + ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -60,6 +60,9 @@ extern "C" { void MX_APPE_Config( void ); void MX_APPE_Init( void ); void MX_APPE_Process( void ); + void Init_Exti( void ); + void Init_Smps( void ); + /* USER CODE BEGIN EF */ void LED_Deinit(void); void LED_On(aPwmLedGsData_TypeDef aPwmLedGsData); @@ -71,5 +74,3 @@ extern "C" { #endif #endif /*APP_ENTRY_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/hw_conf.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/hw_conf.h index 9ea733a63..cc426a452 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/hw_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/hw_conf.h @@ -1,18 +1,18 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : hw_conf.h - * Description : Hardware configuration file for STM32WPAN Middleware. - ****************************************************************************** + ****************************************************************************** + * @file hw_conf.h + * @author MCD Application Team + * @brief Configuration of hardware interface + ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -210,5 +210,3 @@ #define CFG_HW_USART1_DMA_TX_IRQHandler DMA2_Channel4_IRQHandler #endif /*HW_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/hw_if.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/hw_if.h index 92a787b69..403bf1ed7 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/hw_if.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/hw_if.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -150,7 +149,7 @@ extern "C" { * @param pTimerId: Timer Id returned to the user to request operation (start, stop, delete) * @param TimerMode: Mode of the virtual timer (Single shot or repeated) * @param pTimerCallBack: Callback when the virtual timer expires - * @retval HW_TS_ReturnStatus_t: Return whether the creation is sucessful or not + * @retval HW_TS_ReturnStatus_t: Return whether the creation is successful or not */ HW_TS_ReturnStatus_t HW_TS_Create(uint32_t TimerProcessID, uint8_t *pTimerId, HW_TS_Mode_t TimerMode, HW_TS_pTimerCb_t pTimerCallBack); @@ -249,5 +248,3 @@ extern "C" { #endif #endif /*HW_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/main.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/main.h index e2a9f44c2..ab3c3a4b0 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/main.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/main.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -143,5 +142,3 @@ void MX_USART1_UART_Init(void); #endif #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32_lpm_if.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32_lpm_if.h index e1aecd591..45c31caa5 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32_lpm_if.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32_lpm_if.h @@ -1,21 +1,21 @@ /* USER CODE BEGIN Header */ /** -****************************************************************************** -* @file stm32_lpm_if.h -* @brief Header for stm32_lpm_if.c module (device specific LP management) -****************************************************************************** -* @attention -* - *

© Copyright (c) 2019 STMicroelectronics. -* All rights reserved.

-* - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause -* -****************************************************************************** -*/ + ****************************************************************************** + * @file stm32_lpm_if.h + * @author MCD Application Team + * @brief Header for stm32_lpm_if.c module (device specific LP management) + ****************************************************************************** + * @attention + * + * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ /* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ @@ -77,5 +77,3 @@ void PWR_ExitSleepMode( void ); #endif #endif /*__STM32_LPM_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wb5mm_dk_conf.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wb5mm_dk_conf.h index 12589916a..9aefd8c2d 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wb5mm_dk_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wb5mm_dk_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -92,5 +91,3 @@ extern "C" { #endif #endif /* STM32WB5MM_DK_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wbxx_hal_conf.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wbxx_hal_conf.h index 291c8a9e9..0de7f34ea 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wbxx_hal_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wbxx_hal_conf.h @@ -1,3 +1,4 @@ +/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file stm32wbxx_hal_conf.h @@ -6,16 +7,16 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ +/* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32WBxx_HAL_CONF_H @@ -46,7 +47,7 @@ /*#define HAL_LPTIM_MODULE_ENABLED */ /*#define HAL_PCD_MODULE_ENABLED */ /*#define HAL_PKA_MODULE_ENABLED */ -#define HAL_QSPI_MODULE_ENABLED +/*#define HAL_QSPI_MODULE_ENABLED */ /*#define HAL_RNG_MODULE_ENABLED */ #define HAL_RTC_MODULE_ENABLED /*#define HAL_SAI_MODULE_ENABLED */ @@ -349,5 +350,3 @@ #endif #endif /* __STM32WBxx_HAL_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wbxx_it.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wbxx_it.h index 473bef7e2..5ba8bf25d 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wbxx_it.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/stm32wbxx_it.h @@ -6,15 +6,14 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * - ****************************************************************************** + ****************************************************************************** */ /* USER CODE END Header */ @@ -73,5 +72,3 @@ void PUSH_BUTTON_SW_EXTI_IRQHandler(void); #endif #endif /* __STM32WBxx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/utilities_conf.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/utilities_conf.h index 4edfbbacf..c34a6ca79 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/utilities_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Inc/utilities_conf.h @@ -1,21 +1,20 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : utilities_conf.h - * Description : Configuration file for STM32 Utilities. - * - ****************************************************************************** + ****************************************************************************** + * @file utilities_conf.h + * @author MCD Application Team + * @brief Configuration file for STM32 Utilities. + ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * - ***************************************************************************** + ****************************************************************************** */ /* USER CODE END Header */ @@ -64,5 +63,3 @@ extern "C" { #endif #endif /*UTILITIES_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/app_debug.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/app_debug.c index 7b2d278a5..ebdc12e32 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/app_debug.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/app_debug.c @@ -1,21 +1,21 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : app_debug.c - * Description : Debug capabilities source file for STM32WPAN Middleware - ****************************************************************************** + ****************************************************************************** + * @file app_debug.c + * @author MCD Application Team + * @brief Debug capabilities source file for STM32WPAN Middleware + ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * - ****************************************************************************** - */ + ****************************************************************************** + */ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ @@ -43,7 +43,7 @@ typedef PACKED_STRUCT /* Private defines -----------------------------------------------------------*/ /* USER CODE BEGIN PD */ #define GPIO_NBR_OF_RF_SIGNALS 9 -#define GPIO_CFG_NBR_OF_FEATURES 34 +#define GPIO_CFG_NBR_OF_FEATURES 38 #define NBR_OF_TRACES_CONFIG_PARAMETERS 4 #define NBR_OF_GENERAL_CONFIG_PARAMETERS 4 @@ -128,8 +128,16 @@ static const APPD_GpioConfig_t aGpioConfigList[GPIO_CFG_NBR_OF_FEATURES] = /* From v1.4.0 */ { GPIOA, LL_GPIO_PIN_0, 0, 0}, /* NVMA_START - Set on Entry / Reset on Exit */ { GPIOA, LL_GPIO_PIN_0, 0, 0}, /* FLASH_EOP - Set on Entry / Reset on Exit */ +/* From v1.5.0 */ { GPIOA, LL_GPIO_PIN_0, 0, 0}, /* FLASH_WRITE - Set on Entry / Reset on Exit */ { GPIOA, LL_GPIO_PIN_0, 0, 0}, /* FLASH_ERASE - Set on Entry / Reset on Exit */ +/* From v1.6.0 */ + { GPIOA, LL_GPIO_PIN_0, 0, 0}, /* BLE_RESCHEDULE_EVENT - Set on Entry / Reset on Exit */ +/* From v1.8.0 */ + { GPIOA, LL_GPIO_PIN_0, 0, 0}, /* IPCC_BLE_LLD_CMD_RX - Set on Entry / Reset on Exit */ + { GPIOA, LL_GPIO_PIN_0, 0, 0}, /* IPCC_BLE_LLD_ACK_TX - Set on Entry / Reset on Exit */ +/* From v1.9.0 */ + { GPIOA, LL_GPIO_PIN_0, 0, 0}, /* BLE_ASYNCH_EVENT_NACKED - Set on Entry / Reset on Exit */ }; /** @@ -408,5 +416,3 @@ void DbgOutputTraces( uint8_t *p_data, uint16_t size, void (*cb)(void) ) return; } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/app_entry.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/app_entry.c index 98fb79035..95cfcced7 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/app_entry.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/app_entry.c @@ -1,21 +1,21 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : app_entry.c - * Description : Entry application source file for STM32WPAN Middleware - ****************************************************************************** + ****************************************************************************** + * @file app_entry.c + * @author MCD Application Team + * @brief Entry point of the Application + ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * - ****************************************************************************** - */ + ****************************************************************************** + */ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ @@ -29,6 +29,8 @@ #include "shci_tl.h" #include "stm32_lpm.h" #include "app_debug.h" +#include "dbg_trace.h" +#include "shci.h" #include "otp.h" /* Private includes -----------------------------------------------------------*/ @@ -66,16 +68,18 @@ PLACE_IN_SECTION("MB_MEM2") ALIGN(4) static uint8_t BleSpareEvtBuffer[sizeof(TL_ /* Private functions prototypes-----------------------------------------------*/ static void Config_HSE(void); static void Reset_Device( void ); +#if ( CFG_HW_RESET_BY_FW == 1 ) static void Reset_IPCC( void ); static void Reset_BackupDomain( void ); +#endif /* CFG_HW_RESET_BY_FW */ static void System_Init( void ); static void SystemPower_Config( void ); static void appe_Tl_Init( void ); static void APPE_SysStatusNot( SHCI_TL_CmdStatus_t status ); static void APPE_SysUserEvtRx( void * pPayload ); -static void Init_Exti( void ); +static void APPE_SysEvtReadyProcessing( void * pPayload ); +static void APPE_SysEvtError( void * pPayload); static void Init_Rtc( void ); -static void Init_Smps( void ); /* USER CODE BEGIN PFP */ static void Button_Init( void ); @@ -154,6 +158,33 @@ void MX_APPE_Init( void ) /* USER CODE END APPE_Init_2 */ return; } + +void Init_Smps( void ) +{ +#if (CFG_USE_SMPS != 0) + /** + * Configure and enable SMPS + * + * The SMPS configuration is not yet supported by CubeMx + * when SMPS output voltage is set to 1.4V, the RF output power is limited to 3.7dBm + * the SMPS output voltage shall be increased for higher RF output power + */ + LL_PWR_SMPS_SetStartupCurrent(LL_PWR_SMPS_STARTUP_CURRENT_80MA); + LL_PWR_SMPS_SetOutputVoltageLevel(LL_PWR_SMPS_OUTPUT_VOLTAGE_1V40); + LL_PWR_SMPS_Enable(); +#endif + + return; +} + +void Init_Exti( void ) +{ + /* Enable IPCC(36), HSEM(38) wakeup interrupts on CPU1 */ + LL_EXTI_EnableIT_32_63( LL_EXTI_LINE_36 & LL_EXTI_LINE_38 ); + + return; +} + /* USER CODE BEGIN FD */ void LED_Deinit(void) @@ -199,11 +230,12 @@ static void Reset_Device( void ) Reset_BackupDomain(); Reset_IPCC(); -#endif +#endif /* CFG_HW_RESET_BY_FW */ return; } +#if ( CFG_HW_RESET_BY_FW == 1 ) static void Reset_BackupDomain( void ) { if ((LL_RCC_IsActiveFlag_PINRST() != FALSE) && (LL_RCC_IsActiveFlag_SFTRST() == FALSE)) @@ -259,6 +291,7 @@ static void Reset_IPCC( void ) return; } +#endif /* CFG_HW_RESET_BY_FW */ static void Config_HSE(void) { @@ -287,33 +320,6 @@ static void System_Init( void ) return; } -static void Init_Smps( void ) -{ -#if (CFG_USE_SMPS != 0) - /** - * Configure and enable SMPS - * - * The SMPS configuration is not yet supported by CubeMx - * when SMPS output voltage is set to 1.4V, the RF output power is limited to 3.7dBm - * the SMPS output voltage shall be increased for higher RF output power - */ - LL_PWR_SMPS_SetStartupCurrent(LL_PWR_SMPS_STARTUP_CURRENT_80MA); - LL_PWR_SMPS_SetOutputVoltageLevel(LL_PWR_SMPS_OUTPUT_VOLTAGE_1V40); - LL_PWR_SMPS_Enable(); -#endif - - return; -} - -static void Init_Exti( void ) -{ - /**< Disable all wakeup interrupt on CPU1 except IPCC(36), HSEM(38) */ - LL_EXTI_DisableIT_0_31(~0); - LL_EXTI_DisableIT_32_63( (~0) & (~(LL_EXTI_LINE_36 | LL_EXTI_LINE_38)) ); - - return; -} - static void Init_Rtc( void ) { /* Disable RTC registers write protection */ @@ -326,6 +332,7 @@ static void Init_Rtc( void ) return; } + /** * @brief Configure the system for power optimization * @@ -398,12 +405,151 @@ static void APPE_SysStatusNot( SHCI_TL_CmdStatus_t status ) */ static void APPE_SysUserEvtRx( void * pPayload ) { - UNUSED(pPayload); - /* Traces channel initialization */ - APPD_EnableCPU2( ); + TL_AsynchEvt_t *p_sys_event; + WirelessFwInfo_t WirelessInfo; + + p_sys_event = (TL_AsynchEvt_t*)(((tSHCI_UserEvtRxParam*)pPayload)->pckt->evtserial.evt.payload); + + /* Read the firmware version of both the wireless firmware and the FUS */ + SHCI_GetWirelessFwInfo( &WirelessInfo ); + APP_DBG_MSG("Wireless Firmware version %d.%d.%d\n", WirelessInfo.VersionMajor, WirelessInfo.VersionMinor, WirelessInfo.VersionSub); + APP_DBG_MSG("Wireless Firmware build %d\n", WirelessInfo.VersionReleaseType); + APP_DBG_MSG("FUS version %d.%d.%d\n\n", WirelessInfo.FusVersionMajor, WirelessInfo.FusVersionMinor, WirelessInfo.FusVersionSub); + + switch(p_sys_event->subevtcode) + { + case SHCI_SUB_EVT_CODE_READY: + APPE_SysEvtReadyProcessing(pPayload); + break; + + case SHCI_SUB_EVT_ERROR_NOTIF: + APPE_SysEvtError(pPayload); + break; + + case SHCI_SUB_EVT_BLE_NVM_RAM_UPDATE: + APP_DBG_MSG("-- BLE NVM RAM HAS BEEN UPDATED BY CMO+ \n"); + APP_DBG_MSG("SHCI_SUB_EVT_BLE_NVM_RAM_UPDATE : StartAddress = %lx , Size = %ld\n", + ((SHCI_C2_BleNvmRamUpdate_Evt_t*)p_sys_event->payload)->StartAddress, + ((SHCI_C2_BleNvmRamUpdate_Evt_t*)p_sys_event->payload)->Size); + break; + + case SHCI_SUB_EVT_NVM_START_WRITE: + APP_DBG_MSG("SHCI_SUB_EVT_NVM_START_WRITE : NumberOfWords = %ld\n", + ((SHCI_C2_NvmStartWrite_Evt_t*)p_sys_event->payload)->NumberOfWords); + break; + + case SHCI_SUB_EVT_NVM_END_WRITE: + APP_DBG_MSG("SHCI_SUB_EVT_NVM_END_WRITE\n"); + break; + + case SHCI_SUB_EVT_NVM_START_ERASE: + APP_DBG_MSG("SHCI_SUB_EVT_NVM_START_ERASE : NumberOfSectors = %ld\n", + ((SHCI_C2_NvmStartErase_Evt_t*)p_sys_event->payload)->NumberOfSectors); + break; + + case SHCI_SUB_EVT_NVM_END_ERASE: + APP_DBG_MSG("SHCI_SUB_EVT_NVM_END_ERASE\n"); + break; + + default: + break; + } + + return; +} + +/** + * @brief Notify a system error coming from the M0 firmware + * @param ErrorCode : errorCode detected by the M0 firmware + * + * @retval None + */ +static void APPE_SysEvtError( void * pPayload) +{ + TL_AsynchEvt_t *p_sys_event; + SCHI_SystemErrCode_t *p_sys_error_code; + + p_sys_event = (TL_AsynchEvt_t*)(((tSHCI_UserEvtRxParam*)pPayload)->pckt->evtserial.evt.payload); + p_sys_error_code = (SCHI_SystemErrCode_t*) p_sys_event->payload; + + APP_DBG_MSG("SHCI_SUB_EVT_ERROR_NOTIF WITH REASON %x \n",(*p_sys_error_code)); + + if ((*p_sys_error_code) == ERR_BLE_INIT) + { + /* Error during BLE stack initialization */ + APP_DBG_MSG("SHCI_SUB_EVT_ERROR_NOTIF WITH REASON - ERR_BLE_INIT \n"); + } + else + { + APP_DBG_MSG("SHCI_SUB_EVT_ERROR_NOTIF WITH REASON - BLE ERROR \n"); + } + return; +} + +static void APPE_SysEvtReadyProcessing( void * pPayload ) +{ + TL_AsynchEvt_t *p_sys_event; + SHCI_C2_Ready_Evt_t *p_sys_ready_event; + + SHCI_C2_CONFIG_Cmd_Param_t config_param = {0}; + uint32_t RevisionID=0; + + p_sys_event = (TL_AsynchEvt_t*)(((tSHCI_UserEvtRxParam*)pPayload)->pckt->evtserial.evt.payload); + p_sys_ready_event = (SHCI_C2_Ready_Evt_t*) p_sys_event->payload; + + if(p_sys_ready_event->sysevt_ready_rsp == WIRELESS_FW_RUNNING) + { + /** + * The wireless firmware is running on the CPU2 + */ + APP_DBG_MSG("SHCI_SUB_EVT_CODE_READY - WIRELESS_FW_RUNNING \n"); + + /* Traces channel initialization */ + APPD_EnableCPU2( ); + + /* Enable all events Notification */ + config_param.PayloadCmdSize = SHCI_C2_CONFIG_PAYLOAD_CMD_SIZE; + config_param.EvtMask1 = SHCI_C2_CONFIG_EVTMASK1_BIT0_ERROR_NOTIF_ENABLE + + SHCI_C2_CONFIG_EVTMASK1_BIT1_BLE_NVM_RAM_UPDATE_ENABLE + + SHCI_C2_CONFIG_EVTMASK1_BIT2_THREAD_NVM_RAM_UPDATE_ENABLE + + SHCI_C2_CONFIG_EVTMASK1_BIT3_NVM_START_WRITE_ENABLE + + SHCI_C2_CONFIG_EVTMASK1_BIT4_NVM_END_WRITE_ENABLE + + SHCI_C2_CONFIG_EVTMASK1_BIT5_NVM_START_ERASE_ENABLE + + SHCI_C2_CONFIG_EVTMASK1_BIT6_NVM_END_ERASE_ENABLE; + + /* Read revision identifier */ + /** + * @brief Return the device revision identifier + * @note This field indicates the revision of the device. + * @rmtoll DBGMCU_IDCODE REV_ID LL_DBGMCU_GetRevisionID + * @retval Values between Min_Data=0x00 and Max_Data=0xFFFF + */ + RevisionID = LL_DBGMCU_GetRevisionID(); + + APP_DBG_MSG("DBGMCU_GetRevisionID= %lx \n\n", RevisionID); + + config_param.RevisionID = RevisionID; + (void)SHCI_C2_Config(&config_param); + + APP_BLE_Init( ); + UTIL_LPM_SetOffMode(1U << CFG_LPM_APP, UTIL_LPM_ENABLE); + } + else if (p_sys_ready_event->sysevt_ready_rsp == FUS_FW_RUNNING) + { + /** + * The FUS firmware is running on the CPU2 + * In the scope of this application, there should be no case when we get here + */ + APP_DBG_MSG("SHCI_SUB_EVT_CODE_READY - FUS_FW_RUNNING \n"); + + /* The packet shall not be released as this is not supported by the FUS */ + ((tSHCI_UserEvtRxParam*)pPayload)->status = SHCI_TL_UserEventFlow_Disable; + } + else + { + APP_DBG_MSG("SHCI_SUB_EVT_CODE_READY - UNEXPECTED CASE \n"); + } - APP_BLE_Init( ); - UTIL_LPM_SetOffMode(1U << CFG_LPM_APP, UTIL_LPM_ENABLE); return; } @@ -487,6 +633,8 @@ void UTIL_SEQ_Idle( void ) void UTIL_SEQ_EvtIdle( UTIL_SEQ_bm_t task_id_bm, UTIL_SEQ_bm_t evt_waited_bm ) { UTIL_SEQ_Run( UTIL_SEQ_DEFAULT ); + + return; } void shci_notify_asynch_evt(void* pdata) @@ -528,4 +676,3 @@ void HAL_GPIO_EXTI_Callback( uint16_t GPIO_Pin ) } /* USER CODE END FD_WRAP_FUNCTIONS */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/hw_timerserver.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/hw_timerserver.c index c0af6a14a..23a5bcdc6 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/hw_timerserver.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/hw_timerserver.c @@ -1,19 +1,18 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : hw_timerserver.c - * Description : Hardware timerserver source file for STM32WPAN Middleware. - * - ****************************************************************************** + ****************************************************************************** + * @file hw_timerserver.c + * @author MCD Application Team + * @brief Hardware timerserver source file for STM32WPAN Middleware. + ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -891,5 +890,3 @@ __weak void HW_TS_RTC_Int_AppNot(uint32_t TimerProcessID, uint8_t TimerID, HW_TS return; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/hw_uart.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/hw_uart.c index 6ae6ff9f9..43c681c1c 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/hw_uart.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/hw_uart.c @@ -1,19 +1,18 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** - * File Name : Src/hw_uart.c - * Description : HW UART source file for STM32WPAN Middleware. - * + ****************************************************************************** + * @file hw_uart.c + * @author MCD Application Team + * @brief HW UART source file for STM32WPAN Middleware. ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -316,5 +315,3 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) return; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/main.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/main.c index d375dbd25..7aaac1d55 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/main.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -58,6 +57,7 @@ DMA_HandleTypeDef hdma_usart1_tx; /* Private function prototypes -----------------------------------------------*/ void SystemClock_Config(void); +void PeriphCommonClock_Config(void); static void MX_GPIO_Init(void); static void MX_DMA_Init(void); static void MX_RF_Init(void); @@ -100,6 +100,9 @@ int main(void) /* Configure the system clock */ SystemClock_Config(); +/* Configure the peripherals common clocks */ + PeriphCommonClock_Config(); + /* IPCC initialisation */ MX_IPCC_Init(); @@ -142,7 +145,6 @@ void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; - RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; /** Configure LSE Drive Capability */ @@ -181,17 +183,23 @@ void SystemClock_Config(void) { Error_Handler(); } - /** Initializes the peripherals clocks +} + +/** + * @brief Peripherals Common Clock Configuration + * @retval None + */ +void PeriphCommonClock_Config(void) +{ + RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; + + /** Initializes the peripherals clock */ - PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_SMPS|RCC_PERIPHCLK_RFWAKEUP - |RCC_PERIPHCLK_RTC|RCC_PERIPHCLK_USART1 - |RCC_PERIPHCLK_I2C3; - PeriphClkInitStruct.Usart1ClockSelection = RCC_USART1CLKSOURCE_PCLK2; - PeriphClkInitStruct.I2c3ClockSelection = RCC_I2C3CLKSOURCE_PCLK1; - PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE; + PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_SMPS|RCC_PERIPHCLK_RFWAKEUP; PeriphClkInitStruct.RFWakeUpClockSelection = RCC_RFWKPCLKSOURCE_LSE; PeriphClkInitStruct.SmpsClockSelection = RCC_SMPSCLKSOURCE_HSE; PeriphClkInitStruct.SmpsDivSelection = RCC_SMPSCLKDIV_RANGE0; + if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) { Error_Handler(); @@ -414,6 +422,14 @@ static void MX_GPIO_Init(void) GPIO_InitStruct.Pull = GPIO_NOPULL; HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); + /*Configure GPIO pin : QSPI_BK_IO0_Pin */ + GPIO_InitStruct.Pin = QSPI_BK_IO0_Pin; + GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; + GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + GPIO_InitStruct.Alternate = GPIO_AF10_QUADSPI; + HAL_GPIO_Init(QSPI_BK_IO0_GPIO_Port, &GPIO_InitStruct); + /*Configure GPIO pin : LPUART1_RX_MCU_Pin */ GPIO_InitStruct.Pin = LPUART1_RX_MCU_Pin; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; @@ -422,6 +438,14 @@ static void MX_GPIO_Init(void) GPIO_InitStruct.Alternate = GPIO_AF8_LPUART1; HAL_GPIO_Init(LPUART1_RX_MCU_GPIO_Port, &GPIO_InitStruct); + /*Configure GPIO pin : PB8 */ + GPIO_InitStruct.Pin = GPIO_PIN_8; + GPIO_InitStruct.Mode = GPIO_MODE_AF_OD; + GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + GPIO_InitStruct.Alternate = GPIO_AF4_I2C1; + HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); + /*Configure GPIO pins : LPUART1_TX_MCU_Pin PB12 */ GPIO_InitStruct.Pin = LPUART1_TX_MCU_Pin|GPIO_PIN_12; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; @@ -438,6 +462,14 @@ static void MX_GPIO_Init(void) GPIO_InitStruct.Alternate = GPIO_AF1_TIM2; HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); + /*Configure GPIO pin : PA10 */ + GPIO_InitStruct.Pin = GPIO_PIN_10; + GPIO_InitStruct.Mode = GPIO_MODE_AF_OD; + GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + GPIO_InitStruct.Alternate = GPIO_AF4_I2C1; + HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); + /*Configure GPIO pins : USB_P_Pin USB_N_Pin */ GPIO_InitStruct.Pin = USB_P_Pin|USB_N_Pin; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; @@ -506,6 +538,14 @@ static void MX_GPIO_Init(void) GPIO_InitStruct.Alternate = GPIO_AF8_LPUART1; HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); + /*Configure GPIO pin : QSPI_BK_SCK_Pin */ + GPIO_InitStruct.Pin = QSPI_BK_SCK_Pin; + GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; + GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + GPIO_InitStruct.Alternate = GPIO_AF10_QUADSPI; + HAL_GPIO_Init(QSPI_BK_SCK_GPIO_Port, &GPIO_InitStruct); + /*Configure GPIO pins : CS_DISP_Pin GPIO_SELECT2_Pin */ GPIO_InitStruct.Pin = CS_DISP_Pin|GPIO_SELECT2_Pin; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; @@ -540,6 +580,14 @@ static void MX_GPIO_Init(void) GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); + /*Configure GPIO pins : QSPI_BK_NCS_Pin QSPI_BK_IO1_Pin QSPI_BK_IO2_Pin */ + GPIO_InitStruct.Pin = QSPI_BK_NCS_Pin|QSPI_BK_IO1_Pin|QSPI_BK_IO2_Pin; + GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; + GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + GPIO_InitStruct.Alternate = GPIO_AF10_QUADSPI; + HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); + /*Configure GPIO pin : PE3 */ GPIO_InitStruct.Pin = GPIO_PIN_3; GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING; @@ -663,5 +711,3 @@ void assert_failed(uint8_t *file, uint32_t line) /* USER CODE END 6 */ } #endif /* USE_FULL_ASSERT */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32_lpm_if.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32_lpm_if.c index fba978d88..8018ad626 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32_lpm_if.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32_lpm_if.c @@ -1,18 +1,18 @@ /* USER CODE BEGIN Header */ /** - *************************************************************************************** - * File Name : stm32_lpm_if.c - * Description : Low layer function to enter/exit low power modes (stop, sleep). - *************************************************************************************** + ****************************************************************************** + * @file stm32_lpm_if.c + * @author MCD Application Team + * @brief Low layer function to enter/exit low power modes (stop, sleep). + ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -277,19 +277,11 @@ static void EnterLowPower( void ) /* Release ENTRY_STOP_MODE semaphore */ LL_HSEM_ReleaseLock( HSEM, CFG_HW_ENTRY_STOP_MODE_SEMID, 0 ); - /** - * The switch on HSI before entering Stop Mode is required on Cut2.0 - * It is useless from Cut2.1 - */ Switch_On_HSI( ); } } else { - /** - * The switch on HSI before entering Stop Mode is required on Cut2.0 - * It is useless from Cut2.1 - */ Switch_On_HSI( ); } @@ -355,5 +347,3 @@ static void Switch_On_HSI( void ) /* USER CODE END Private_Functions */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32wbxx_hal_msp.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32wbxx_hal_msp.c index fd4d1ba8e..d9d67ab08 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32wbxx_hal_msp.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32wbxx_hal_msp.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -68,6 +67,8 @@ void HAL_MspInit(void) /* USER CODE END MspInit 0 */ + __HAL_RCC_HSEM_CLK_ENABLE(); + /* System interrupt init*/ /* Peripheral interrupt init */ @@ -132,6 +133,7 @@ void HAL_IPCC_MspDeInit(IPCC_HandleTypeDef* hipcc) */ void HAL_RTC_MspInit(RTC_HandleTypeDef* hrtc) { + RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; if(hrtc->Instance==RTC) { /* USER CODE BEGIN RTC_MspInit 0 */ @@ -145,6 +147,15 @@ void HAL_RTC_MspInit(RTC_HandleTypeDef* hrtc) __HAL_RCC_RTC_CONFIG(RCC_RTCCLKSOURCE_LSE); /**< Select LSI as RTC Input */ /* USER CODE END RTC_MspInit 0 */ + /** Initializes the peripherals clock + */ + PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_RTC; + PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE; + if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) + { + Error_Handler(); + } + /* Peripheral clock enable */ __HAL_RCC_RTC_ENABLE(); __HAL_RCC_RTCAPB_CLK_ENABLE(); @@ -187,11 +198,21 @@ void HAL_RTC_MspDeInit(RTC_HandleTypeDef* hrtc) void HAL_UART_MspInit(UART_HandleTypeDef* huart) { GPIO_InitTypeDef GPIO_InitStruct = {0}; + RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; if(huart->Instance==USART1) { /* USER CODE BEGIN USART1_MspInit 0 */ /* USER CODE END USART1_MspInit 0 */ + /** Initializes the peripherals clock + */ + PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_USART1; + PeriphClkInitStruct.Usart1ClockSelection = RCC_USART1CLKSOURCE_PCLK2; + if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) + { + Error_Handler(); + } + /* Peripheral clock enable */ __HAL_RCC_USART1_CLK_ENABLE(); @@ -274,5 +295,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef* huart) /* USER CODE END 1 */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32wbxx_it.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32wbxx_it.c index b808829e1..5ff5db0fc 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32wbxx_it.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/stm32wbxx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -302,4 +301,3 @@ void TIM1_TRG_COM_TIM17_IRQHandler(void) BSP_PWM_LED_IRQHandler(); } /* USER CODE END 1 */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/system_stm32wbxx.c b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/system_stm32wbxx.c index 706ee9182..f53552c59 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/system_stm32wbxx.c +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/Core/Src/system_stm32wbxx.c @@ -60,13 +60,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -355,5 +354,3 @@ void SystemCoreClockUpdate(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/BLE_HeartRate.ewp b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/BLE_HeartRate.ewp index 75665691a..534d73c0e 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/BLE_HeartRate.ewp +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/BLE_HeartRate.ewp @@ -1,1296 +1,1294 @@ - 3 - - BLE_HeartRate - - ARM - + 3 + + BLE_HeartRate + + ARM + + 1 + + General + 3 + + 30 + 1 1 - - General - 3 - - 30 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ICCARM - 2 - - 34 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AARM - 2 - - 10 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OBJCOPY - 0 - - 1 - 1 - 1 - - - - - - - - - CUSTOM - 3 - - - - 0 - - - - BICOMP - 0 - - - - BUILDACTION - 1 - - - - - - - ILINK - 0 - - 20 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IARCHIVE - 0 - - 0 - 1 - 1 - - - - - - - BILINK - 0 - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 34 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 10 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 1 + + + + + + + + + CUSTOM + 3 + + + + 0 + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 20 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 1 + + + + + + + BILINK + 0 + + + + + Application - Application - - EWARM - - $PROJ_DIR$\startup_stm32wb5mxx_cm4.s - - - - User - - Core - - $PROJ_DIR$\..\Core\Src\app_debug.c - - - $PROJ_DIR$\..\Core\Src\app_entry.c - - - $PROJ_DIR$\..\Core\Src\hw_timerserver.c - - - $PROJ_DIR$\..\Core\Src\hw_uart.c - - - $PROJ_DIR$\..\Core\Src\main.c - - - $PROJ_DIR$\..\Core\Src\stm32_lpm_if.c - - - $PROJ_DIR$\..\Core\Src\stm32wbxx_hal_msp.c - - - $PROJ_DIR$\..\Core\Src\stm32wbxx_it.c - - - - STM32_WPAN - - App - - $PROJ_DIR$\..\STM32_WPAN\App\app_ble.c - - - $PROJ_DIR$\..\STM32_WPAN\App\dis_app.c - - - $PROJ_DIR$\..\STM32_WPAN\App\hrs_app.c - - - - Target - - $PROJ_DIR$\..\STM32_WPAN\Target\hw_ipcc.c - - - - + EWARM + + $PROJ_DIR$\startup_stm32wb5mxx_cm4.s + - Doc + User + + Core - $PROJ_DIR$\..\readme.txt + $PROJ_DIR$\..\Core\Src\main.c - - - Drivers - - BSP - - STM32WB5MM-DK - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\Components\ssd1315\ssd1315.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\Components\ssd1315\ssd1315_reg.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\STM32WB5MM-DK\stm32wb5mm_dk.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\STM32WB5MM-DK\stm32wb5mm_dk_bus.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\STM32WB5MM-DK\stm32wb5mm_dk_lcd.c - - - - - CMSIS - - $PROJ_DIR$\..\Core\Src\system_stm32wbxx.c - - + + $PROJ_DIR$\..\Core\Src\app_entry.c + + + $PROJ_DIR$\..\Core\Src\app_debug.c + + + $PROJ_DIR$\..\Core\Src\hw_timerserver.c + + + $PROJ_DIR$\..\Core\Src\hw_uart.c + + + $PROJ_DIR$\..\Core\Src\stm32_lpm_if.c + + + $PROJ_DIR$\..\Core\Src\stm32wbxx_it.c + + + $PROJ_DIR$\..\Core\Src\stm32wbxx_hal_msp.c + + + + STM32_WPAN - STM32WBxx_HAL_Driver - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_cortex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_dma.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_dma_ex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_exti.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_flash.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_flash_ex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_gpio.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_hsem.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_i2c.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_i2c_ex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_ipcc.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_pwr.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_pwr_ex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_qspi.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rcc.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rcc_ex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rtc.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rtc_ex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_spi.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_spi_ex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_tim.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_tim_ex.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_uart.c - - - $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_uart_ex.c - + App + + $PROJ_DIR$\..\STM32_WPAN\App\app_ble.c + + + $PROJ_DIR$\..\STM32_WPAN\App\dis_app.c + + + $PROJ_DIR$\..\STM32_WPAN\App\hrs_app.c + - - - Middlewares - STM32_WPAN - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_gap_aci.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_gatt_aci.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_hal_aci.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_hci_le.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_l2cap_aci.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\utilities\dbg_trace.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\svc\Src\dis.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\hci_tl.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\hci_tl_if.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\svc\Src\hrs.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\template\osal.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\utilities\otp.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\shci\shci.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\shci_tl.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\shci_tl_if.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\utilities\stm_list.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\utilities\stm_queue.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\svc\Src\svc_ctl.c - - - $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\tl_mbox.c - + Target + + $PROJ_DIR$\..\STM32_WPAN\Target\hw_ipcc.c + + + + + Doc + + $PROJ_DIR$\..\readme.txt + + + + Drivers - Utilities + BSP + + STM32WB5MM-DK - $PROJ_DIR$\..\..\..\..\..\..\Utilities\LCD\stm32_lcd.c + $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\STM32WB5MM-DK\stm32wb5mm_dk.c - $PROJ_DIR$\..\..\..\..\..\..\Utilities\lpm\tiny_lpm\stm32_lpm.c + $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\STM32WB5MM-DK\stm32wb5mm_dk_bus.c - $PROJ_DIR$\..\..\..\..\..\..\Utilities\sequencer\stm32_seq.c + $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\STM32WB5MM-DK\stm32wb5mm_dk_lcd.c + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\Components\ssd1315\ssd1315.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\BSP\Components\ssd1315\ssd1315_reg.c + + + + + CMSIS + + $PROJ_DIR$\..\Core\Src\system_stm32wbxx.c + + + + STM32WBxx_HAL_Driver + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_hsem.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rcc.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rcc_ex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_flash.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_flash_ex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_gpio.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_dma.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_dma_ex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_pwr.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_pwr_ex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_cortex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_exti.c + + + $PROJ_DIR$/../../../../../../Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_i2c.c + + + $PROJ_DIR$/../../../../../../Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_i2c_ex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_ipcc.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rtc.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rtc_ex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_spi.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_spi_ex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_tim.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_tim_ex.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_uart.c + + + $PROJ_DIR$\..\..\..\..\..\..\Drivers\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_uart_ex.c + + + + + Middlewares + + STM32_WPAN + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\tl_mbox.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\shci\shci.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\utilities\dbg_trace.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\utilities\otp.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\utilities\stm_list.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\utilities\stm_queue.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\template\osal.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_gap_aci.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_gatt_aci.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_hal_aci.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_hci_le.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\core\auto\ble_l2cap_aci.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\svc\Src\hrs.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\svc\Src\dis.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\hci_tl.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\hci_tl_if.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\shci_tl.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread\tl\shci_tl_if.c + + + $PROJ_DIR$\..\..\..\..\..\..\Middlewares\ST\STM32_WPAN\ble\svc\Src\svc_ctl.c + + + + Utilities + + $PROJ_DIR$\..\..\..\..\..\..\Utilities\LCD\stm32_lcd.c + + + $PROJ_DIR$\..\..\..\..\..\..\Utilities\lpm\tiny_lpm\stm32_lpm.c + + + $PROJ_DIR$\..\..\..\..\..\..\Utilities\sequencer\stm32_seq.c + + + diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/startup_stm32wb5mxx_cm4.s b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/startup_stm32wb5mxx_cm4.s index 6d2a51d5a..690ee250e 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/startup_stm32wb5mxx_cm4.s +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/startup_stm32wb5mxx_cm4.s @@ -16,13 +16,12 @@ ;****************************************************************************** ;* @attention ;* -;*

© Copyright (c) 2019 STMicroelectronics. -;* All rights reserved.

+;* Copyright (c) 2019 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -83,7 +82,7 @@ __vector_table DCD EXTI0_IRQHandler ; EXTI Line 0 Interrupt DCD EXTI1_IRQHandler ; EXTI Line 1 Interrupt DCD EXTI2_IRQHandler ; EXTI Line 2 Interrupt - DCD EXTI3_IRQHandler ; EXTI Line 3 Interrup + DCD EXTI3_IRQHandler ; EXTI Line 3 Interrupt DCD EXTI4_IRQHandler ; EXTI Line 4 Interrupt DCD DMA1_Channel1_IRQHandler ; DMA1 Channel 1 Interrupt DCD DMA1_Channel2_IRQHandler ; DMA1 Channel 2 Interrupt @@ -514,4 +513,3 @@ DMAMUX1_OVR_IRQHandler END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/stm32wb5mxx_flash_cm4.icf b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/stm32wb5mxx_flash_cm4.icf index 6a7a123fc..f13848f65 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/stm32wb5mxx_flash_cm4.icf +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/stm32wb5mxx_flash_cm4.icf @@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_start__ = 0x20000008; define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF; /*-Sizes-*/ define symbol __ICFEDIT_size_cstack__ = 0x1000; -define symbol __ICFEDIT_size_heap__ = 0x400; +define symbol __ICFEDIT_size_heap__ = 0x400; /**** End of ICF editor section. ###ICF###*/ define symbol __ICFEDIT_region_RAM_SHARED_start__ = 0x20030000; @@ -21,6 +21,7 @@ define memory mem with size = 4G; define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; define region RAM_SHARED_region = mem:[from __ICFEDIT_region_RAM_SHARED_start__ to __ICFEDIT_region_RAM_SHARED_end__]; +define region Total_RAM_region = RAM_region | RAM_SHARED_region ; define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; @@ -32,9 +33,10 @@ do not initialize { section .noinit, section MB_MEM1 }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; +place at address mem:__ICFEDIT_region_RAM_SHARED_start__ { section MAPPING_TABLE }; place in ROM_region { readonly }; -place in RAM_region { readwrite,block CSTACK, block HEAP }; -place in RAM_SHARED_region { first section MAPPING_TABLE}; +place in RAM_region { block CSTACK, block HEAP }; place in RAM_SHARED_region { section MB_MEM1}; place in RAM_SHARED_region { section MB_MEM2}; +place in Total_RAM_region { readwrite }; diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/stm32wb5mxx_sram_cm4.icf b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/stm32wb5mxx_sram_cm4.icf deleted file mode 100644 index 36cf3e51a..000000000 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/EWARM/stm32wb5mxx_sram_cm4.icf +++ /dev/null @@ -1,39 +0,0 @@ -/*###ICF### Section handled by ICF editor, don't touch! ****/ -/*-Editor annotation file-*/ -/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ -/*-Specials-*/ -define symbol __ICFEDIT_intvec_start__ = 0x20000000; -/*-Memory Regions-*/ -/***** RAM dedicated to M4 *****/ -define symbol __ICFEDIT_region_ROM_start__ = 0x20000000; -define symbol __ICFEDIT_region_ROM_end__ = 0x20017FFF; - -define symbol __ICFEDIT_region_RAM_start__ = 0x20018000 ; -define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF ; - -/***** RAM2a *****/ -define symbol __ICFEDIT_region_RAM_SHARED_start__ = 0x20030000 ; -define symbol __ICFEDIT_region_RAM_SHARED_end__ = 0x20037FFF ; - -/*-Sizes-*/ -define symbol __ICFEDIT_size_cstack__ = 0x1000; -define symbol __ICFEDIT_size_heap__ = 0x400; -/**** End of ICF editor section. ###ICF###*/ - - -define memory mem with size = 4G; -define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; -define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; - - -define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; -define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; - -initialize by copy { readwrite }; -do not initialize { section .noinit }; - -place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; - -place in ROM_region { readonly }; -place in RAM_region { readwrite, - block CSTACK, block HEAP }; diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/BLE_HeartRate.uvprojx b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/BLE_HeartRate.uvprojx index a03959922..dcfa2532c 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/BLE_HeartRate.uvprojx +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/BLE_HeartRate.uvprojx @@ -337,7 +337,7 @@ 0 --diag_suppress 1296 - USE_HAL_DRIVER,STM32WB5Mxx,STM32WL55MM_DK + USE_HAL_DRIVER,STM32WB5Mxx,USE_STM32WB5M_DK ../Core/Inc;../../../../../../Drivers/STM32WBxx_HAL_Driver/Inc;../../../../../../Drivers/STM32WBxx_HAL_Driver/Inc/Legacy;../../../../../../Drivers/CMSIS/Device/ST/STM32WBxx/Include;../../../../../../Drivers/CMSIS/Include;../STM32_WPAN/App;../../../../../../Utilities/lpm/tiny_lpm;../../../../../../Middlewares/ST/STM32_WPAN;../../../../../../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread;../../../../../../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/tl;../../../../../../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/shci;../../../../../../Middlewares/ST/STM32_WPAN/utilities;../../../../../../Middlewares/ST/STM32_WPAN/ble/core;../../../../../../Middlewares/ST/STM32_WPAN/ble/core/auto;../../../../../../Middlewares/ST/STM32_WPAN/ble/core/template;../../../../../../Middlewares/ST/STM32_WPAN/ble/svc/Inc;../../../../../../Middlewares/ST/STM32_WPAN/ble/svc/Src;../../../../../../Utilities/sequencer;../../../../../../Middlewares/ST/STM32_WPAN/ble;../../../../../../Drivers/BSP/STM32WB5MM-DK;../../../../../../Drivers/BSP/Components/ssd1315;../../../../../../Drivers/BSP/Components/Common;../../../../../../Utilities/Fonts;../../../../../../Utilities/LCD diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/startup_stm32wb5mxx_cm4.s b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/startup_stm32wb5mxx_cm4.s index f04432d7b..6a51d2123 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/startup_stm32wb5mxx_cm4.s +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/startup_stm32wb5mxx_cm4.s @@ -14,12 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2019 STMicroelectronics. All rights reserved. +;* Copyright (c) 2019 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under Apache License, Version 2.0, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/Apache-2.0 +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -84,7 +84,7 @@ __Vectors DCD __initial_sp ; Top of Stack DCD EXTI0_IRQHandler ; EXTI Line 0 Interrupt DCD EXTI1_IRQHandler ; EXTI Line 1 Interrupt DCD EXTI2_IRQHandler ; EXTI Line 2 Interrupt - DCD EXTI3_IRQHandler ; EXTI Line 3 Interrup + DCD EXTI3_IRQHandler ; EXTI Line 3 Interrupt DCD EXTI4_IRQHandler ; EXTI Line 4 Interrupt DCD DMA1_Channel1_IRQHandler ; DMA1 Channel 1 Interrupt DCD DMA1_Channel2_IRQHandler ; DMA1 Channel 2 Interrupt @@ -365,4 +365,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/stm32wb5mxx_flash_cm4.sct b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/stm32wb5mxx_flash_cm4.sct index 9d4d446ba..938d9f592 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/stm32wb5mxx_flash_cm4.sct +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/MDK-ARM/stm32wb5mxx_flash_cm4.sct @@ -11,11 +11,16 @@ LR_IROM1 0x08000000 0x00080000 { ; load region size_region RW_IRAM1 0x20000008 0x2FFF8 { ; RW data .ANY (+RW +ZI) } - RW_RAM_SHARED 0x20030000 0x2800 { ; RW data - *(MAPPING_TABLE) - *(MB_MEM1) - *(MB_MEM2) - } + + RW_RAM_SHARED1 0x20030000 0x28 { ; RW data + *(MAPPING_TABLE) + } + RW_RAM_SHARED2 0x20030028 0x27D8 { ; RW data + *(MB_MEM1) + *(MB_MEM2) + .ANY (+RW +ZI) + } + } diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/STM32CubeIDE/.cproject b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/STM32CubeIDE/.cproject index 6c51c0732..70cd9bf82 100644 --- a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/STM32CubeIDE/.cproject +++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_HeartRate/STM32CubeIDE/.cproject @@ -47,7 +47,7 @@