leka / LekaOS

LekaOS is Leka's firmware based on Mbed OS
https://leka.io
Apache License 2.0
14 stars 7 forks source link

✅ (RobotController): Fix expected calls for BLE on DeepSleep context #1462

Closed YannLocatelli closed 3 months ago

github-actions[bot] commented 4 months ago

:bookmark: Version comparison

Version Same as filename Same as os_version
os 1.4.0+1721991731 ✔️ ✔️
firmware
(bootloader + os)
1.4.0+1721991731 ✔️ ✔️
github-actions[bot] commented 4 months ago

:chart_with_upwards_trend: Changes Impact Analysis Report

:pushpin: Info

base head
branch develop yann/fix/rc/missing-uts-expected-calls
sha b7867edc 57586365
mbed mbed-os@master+fixes+gcc-11-support mbed-os@master+fixes+gcc-11-support
-std -std=c++20 -std=c++20

:robot: Firmware impact analysis

Target Flash Used (base/head) Flash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 140392 (53%) ø 121752 (46%)
121752 (46%)
39760 (7%) ø
os 465180 (29%) ø 1099492 (70%)
1099492 (70%)
93368 (17%) ø
Click to show memory sections ``` | - | Hex | Bytes | KiB | |------------|---------:|----------:|-----:| | Flash | 0x200000 | 2 097 152 | 2048 | | SRAM | 0x80000 | 524 288 | 512 | | Bootloader | 0x40000 | 262 144 | 256 | | Header | 0x1000 | 4 096 | 4 | | OS | 0x17E000 | 1 564 672 | 1528 | | Tail | 0x1000 | 4 096 | 4 | | Scratch | 0x40000 | 262 144 | 256 | ```

:microscope: Detailed impact analysis

Click to show detailed analysis for all targets - :heavy_check_mark: - existing target - :sparkles: - new target - :coffin: - deleted target - :white_check_mark: - files are the same - :x: - files are different | Target | Status | .bin | .map | Total Flash (base/head) | Total Flash Δ | Static RAM (base/head) | Static RAM Δ | |-------|:------:|:------:|:------:|:------:|:------:|:------:|:------:| | LekaOS | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 465180 (22%) | ø | 93368 (17%) | ø | | bootloader | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 140392 (6%) | ø | 39760 (7%) | ø | | functional_ut_boost_ut | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 275344 (13%) | ø | 29840 (5%) | ø | | functional_ut_core_imu | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 263296 (12%) | ø | 29384 (5%) | ø | | functional_ut_deep_sleep_core_buffered_serial | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 249048 (11%) | ø | 29192 (5%) | ø | | functional_ut_deep_sleep_core_lcd | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 278488 (13%) | ø | 61048 (11%) | ø | | functional_ut_deep_sleep_core_motor | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 251320 (11%) | ø | 29200 (5%) | ø | | functional_ut_deep_sleep_core_pwm | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 252360 (12%) | ø | 29264 (5%) | ø | | functional_ut_deep_sleep_imu | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 262992 (12%) | ø | 30360 (5%) | ø | | functional_ut_deep_sleep_log_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 243432 (11%) | ø | 29384 (5%) | ø | | functional_ut_deep_sleep_mbed_hal | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 244952 (11%) | ø | 28920 (5%) | ø | | functional_ut_deep_sleep_rfid_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 253432 (12%) | ø | 30472 (5%) | ø | | functional_ut_file_manager | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 261744 (12%) | ø | 29504 (5%) | ø | | functional_ut_firmware_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 255592 (12%) | ø | 29104 (5%) | ø | | functional_ut_imu_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 267440 (12%) | ø | 29512 (5%) | ø | | functional_ut_io_expander | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 249416 (11%) | ø | 28808 (5%) | ø | | functional_ut_qdac | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 250656 (11%) | ø | 28824 (5%) | ø | | spike_lk_activity_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 204132 (9%) | ø | 64352 (12%) | ø | | spike_lk_audio | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 97000 (4%) | ø | 23040 (4%) | ø | | spike_lk_behavior_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 158164 (7%) | ø | 56544 (10%) | ø | | spike_lk_ble | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 198384 (9%) | ø | 37800 (7%) | ø | | spike_lk_bluetooth | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 50136 (2%) | ø | 20056 (3%) | ø | | spike_lk_cg_animations | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 114296 (5%) | ø | 55072 (10%) | ø | | spike_lk_color_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 53112 (2%) | ø | 22216 (4%) | ø | | spike_lk_command_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 190516 (9%) | ø | 61624 (11%) | ø | | spike_lk_config_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 97932 (4%) | ø | 23048 (4%) | ø | | spike_lk_coreled | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 52040 (2%) | ø | 22104 (4%) | ø | | spike_lk_core_touch_sensor | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 57116 (2%) | ø | 20664 (3%) | ø | | spike_lk_event_queue | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 48720 (2%) | ø | 20744 (3%) | ø | | spike_lk_file_manager_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 101900 (4%) | ø | 23392 (4%) | ø | | spike_lk_file_reception | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 283108 (13%) | ø | 36296 (6%) | ø | | spike_lk_flash_memory | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 51372 (2%) | ø | 20056 (3%) | ø | | spike_lk_fs | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 133860 (6%) | ø | 55392 (10%) | ø | | spike_lk_imu_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 72284 (3%) | ø | 21576 (4%) | ø | | spike_lk_lcd | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 133508 (6%) | ø | 55392 (10%) | ø | | spike_lk_led_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 80656 (3%) | ø | 22952 (4%) | ø | | spike_lk_log_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 49360 (2%) | ø | 21240 (4%) | ø | | spike_lk_motion_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 81276 (3%) | ø | 23552 (4%) | ø | | spike_lk_motors | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 50868 (2%) | ø | 20088 (3%) | ø | | spike_lk_qdac | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 55748 (2%) | ø | 20608 (3%) | ø | | spike_lk_reinforcer | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 185732 (8%) | ø | 58288 (11%) | ø | | spike_lk_rfid | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 49240 (2%) | ø | 20024 (3%) | ø | | spike_lk_sensors_battery | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 52280 (2%) | ø | 21152 (4%) | ø | | spike_lk_sensors_imu | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 63500 (3%) | ø | 21384 (4%) | ø | | spike_lk_sensors_imu_fusion_calibration | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 71044 (3%) | ø | 20976 (4%) | ø | | spike_lk_sensors_light | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 48712 (2%) | ø | 20056 (3%) | ø | | spike_lk_sensors_microphone | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 49480 (2%) | ø | 20056 (3%) | ø | | spike_lk_sensors_temperature_humidity | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 55304 (2%) | ø | 20032 (3%) | ø | | spike_lk_serial_number | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 100536 (4%) | ø | 23112 (4%) | ø | | spike_lk_ticker_timeout | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 47460 (2%) | ø | 20072 (3%) | ø | | spike_lk_touch_sensor_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 60640 (2%) | ø | 21224 (4%) | ø | | spike_lk_update_process_app_base | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 115336 (5%) | ø | 24144 (4%) | ø | | spike_lk_update_process_app_update | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 64128 (3%) | ø | 21072 (4%) | ø | | spike_lk_watchdog_isr | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 52472 (2%) | ø | 21976 (4%) | ø | | spike_lk_wifi | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 82004 (3%) | ø | 23360 (4%) | ø | | spike_mbed_blinky | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 30972 (1%) | ø | 9392 (1%) | ø | | spike_mbed_watchdog_ticker_vs_thread | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 48856 (2%) | ø | 20920 (3%) | ø | | spike_stl_cxxsupport | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 48080 (2%) | ø | 20144 (3%) | ø | ## :world_map: Map files diff output No differenes where found in map files.
github-actions[bot] commented 4 months ago

:chart_with_upwards_trend: Changes Impact Analysis Report

:pushpin: Info

base head
branch develop yann/fix/rc/missing-uts-expected-calls
sha b7867edc 57586365
mbed mbed-os@master+fixes+gcc-11-support mbed-os@master+fixes+gcc-11-support
-std -std=c++20 -std=c++20

:robot: Firmware impact analysis

Target Flash Used (base/head) Flash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 125972 (48%) ø 136172 (51%)
136172 (51%)
28808 (5%) ø
os 399756 (25%) ø 1164916 (74%)
1164916 (74%)
82008 (15%) ø
Click to show memory sections ``` | - | Hex | Bytes | KiB | |------------|---------:|----------:|-----:| | Flash | 0x200000 | 2 097 152 | 2048 | | SRAM | 0x80000 | 524 288 | 512 | | Bootloader | 0x40000 | 262 144 | 256 | | Header | 0x1000 | 4 096 | 4 | | OS | 0x17E000 | 1 564 672 | 1528 | | Tail | 0x1000 | 4 096 | 4 | | Scratch | 0x40000 | 262 144 | 256 | ```

:microscope: Detailed impact analysis

Click to show detailed analysis for all targets - :heavy_check_mark: - existing target - :sparkles: - new target - :coffin: - deleted target - :white_check_mark: - files are the same - :x: - files are different | Target | Status | .bin | .map | Total Flash (base/head) | Total Flash Δ | Static RAM (base/head) | Static RAM Δ | |-------|:------:|:------:|:------:|:------:|:------:|:------:|:------:| | LekaOS | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 399756 (19%) | ø | 82008 (15%) | ø | | bootloader | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 125972 (6%) | ø | 28808 (5%) | ø | | functional_ut_boost_ut | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 259440 (12%) | ø | 19688 (3%) | ø | | functional_ut_core_imu | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 254800 (12%) | ø | 19232 (3%) | ø | | functional_ut_deep_sleep_core_buffered_serial | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 240424 (11%) | ø | 19072 (3%) | ø | | functional_ut_deep_sleep_core_lcd | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 266072 (12%) | ø | 50896 (9%) | ø | | functional_ut_deep_sleep_core_motor | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 238920 (11%) | ø | 19048 (3%) | ø | | functional_ut_deep_sleep_core_pwm | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 239952 (11%) | ø | 19112 (3%) | ø | | functional_ut_deep_sleep_imu | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 254384 (12%) | ø | 20208 (3%) | ø | | functional_ut_deep_sleep_log_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 230232 (10%) | ø | 18816 (3%) | ø | | functional_ut_deep_sleep_mbed_hal | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 231944 (11%) | ø | 18768 (3%) | ø | | functional_ut_deep_sleep_rfid_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 248568 (11%) | ø | 20352 (3%) | ø | | functional_ut_file_manager | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 249120 (11%) | ø | 19352 (3%) | ø | | functional_ut_firmware_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 242696 (11%) | ø | 18952 (3%) | ø | | functional_ut_imu_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 258920 (12%) | ø | 19360 (3%) | ø | | functional_ut_io_expander | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 237008 (11%) | ø | 18656 (3%) | ø | | functional_ut_qdac | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 238256 (11%) | ø | 18672 (3%) | ø | | spike_lk_activity_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 200236 (9%) | ø | 53688 (10%) | ø | | spike_lk_audio | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 85404 (4%) | ø | 12456 (2%) | ø | | spike_lk_behavior_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 147880 (7%) | ø | 45960 (8%) | ø | | spike_lk_ble | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 186884 (8%) | ø | 26712 (5%) | ø | | spike_lk_bluetooth | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 37912 (1%) | ø | 9384 (1%) | ø | | spike_lk_cg_animations | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 104536 (4%) | ø | 44376 (8%) | ø | | spike_lk_color_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 38180 (1%) | ø | 11640 (2%) | ø | | spike_lk_command_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 180144 (8%) | ø | 50544 (9%) | ø | | spike_lk_config_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 84512 (4%) | ø | 12216 (2%) | ø | | spike_lk_coreled | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 37332 (1%) | ø | 11528 (2%) | ø | | spike_lk_core_touch_sensor | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 41584 (1%) | ø | 10088 (1%) | ø | | spike_lk_event_queue | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 36652 (1%) | ø | 9912 (1%) | ø | | spike_lk_file_manager_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 85824 (4%) | ø | 12304 (2%) | ø | | spike_lk_file_reception | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 277904 (13%) | ø | 25640 (4%) | ø | | spike_lk_flash_memory | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 36184 (1%) | ø | 9344 (1%) | ø | | spike_lk_fs | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 129992 (6%) | ø | 45784 (8%) | ø | | spike_lk_imu_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 61792 (2%) | ø | 10880 (2%) | ø | | spike_lk_lcd | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 122136 (5%) | ø | 44560 (8%) | ø | | spike_lk_led_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 65824 (3%) | ø | 12376 (2%) | ø | | spike_lk_log_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 35604 (1%) | ø | 10152 (1%) | ø | | spike_lk_motion_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 75288 (3%) | ø | 13024 (2%) | ø | | spike_lk_motors | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 36048 (1%) | ø | 9384 (1%) | ø | | spike_lk_qdac | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 39956 (1%) | ø | 9648 (1%) | ø | | spike_lk_reinforcer | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 176864 (8%) | ø | 47720 (9%) | ø | | spike_lk_rfid | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 42180 (2%) | ø | 9352 (1%) | ø | | spike_lk_sensors_battery | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 41460 (1%) | ø | 10456 (1%) | ø | | spike_lk_sensors_imu | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 52468 (2%) | ø | 10688 (2%) | ø | | spike_lk_sensors_imu_fusion_calibration | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 60844 (2%) | ø | 10824 (2%) | ø | | spike_lk_sensors_light | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 32456 (1%) | ø | 9336 (1%) | ø | | spike_lk_sensors_microphone | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 34448 (1%) | ø | 9336 (1%) | ø | | spike_lk_sensors_temperature_humidity | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 39716 (1%) | ø | 9320 (1%) | ø | | spike_lk_serial_number | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 87636 (4%) | ø | 12160 (2%) | ø | | spike_lk_ticker_timeout | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 31968 (1%) | ø | 9488 (1%) | ø | | spike_lk_touch_sensor_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 48688 (2%) | ø | 10656 (2%) | ø | | spike_lk_update_process_app_base | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 102052 (4%) | ø | 13440 (2%) | ø | | spike_lk_update_process_app_update | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 49052 (2%) | ø | 10240 (1%) | ø | | spike_lk_watchdog_isr | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 43328 (2%) | ø | 11152 (2%) | ø | | spike_lk_wifi | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 74492 (3%) | ø | 12696 (2%) | ø | | spike_mbed_blinky | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 30404 (1%) | ø | 9296 (1%) | ø | | spike_mbed_watchdog_ticker_vs_thread | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 35780 (1%) | ø | 10344 (1%) | ø | | spike_stl_cxxsupport | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 30860 (1%) | ø | 9296 (1%) | ø | ## :world_map: Map files diff output No differenes where found in map files.
github-actions[bot] commented 3 months ago

:bookmark: Version comparison

Version Same as filename Same as os_version
os 1.4.0+1723708041 ✔️ ✔️
firmware
(bootloader + os)
1.4.0+1723708041 ✔️ ✔️
sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud