leka / LekaOS

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

:adhesive_bandage: (os): Add leka namespace for ambiguous logger init #1388

Closed YannLocatelli closed 3 months ago

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 9 months ago

:bookmark: Version comparison

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

:chart_with_upwards_trend: Changes Impact Analysis Report

:pushpin: Info

base head
branch develop yann/fix/os/ambiguous-logger-init
sha 53d1a4f4 44657156
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 170904 (65%) ø 91240 (34%)
91240 (34%)
30952 (5%) ø
os 444280 (28%) ø 1120392 (71%)
1120392 (71%)
83368 (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: | 444280 (21%) | ø | 83368 (15%) | ø | | bootloader | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 170904 (8%) | ø | 30952 (5%) | ø | | functional_ut_boost_ut | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 394140 (18%) | ø | 20456 (3%) | ø | | functional_ut_core_imu | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 377656 (18%) | ø | 20968 (3%) | ø | | functional_ut_deep_sleep_core_buffered_serial | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 362984 (17%) | ø | 20440 (3%) | ø | | functional_ut_deep_sleep_core_lcd | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 389572 (18%) | ø | 52456 (10%) | ø | | functional_ut_deep_sleep_core_motor | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 361532 (17%) | ø | 20480 (3%) | ø | | functional_ut_deep_sleep_core_pwm | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 362564 (17%) | ø | 20480 (3%) | ø | | functional_ut_deep_sleep_log_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 352568 (16%) | ø | 20408 (3%) | ø | | functional_ut_deep_sleep_mbed_hal | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 354344 (16%) | ø | 20408 (3%) | ø | | functional_ut_file_manager | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 376272 (17%) | ø | 20696 (3%) | ø | | functional_ut_firmware_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 367084 (17%) | ø | 20688 (3%) | ø | | functional_ut_imu_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 381572 (18%) | ø | 21144 (4%) | ø | | functional_ut_io_expander | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 359576 (17%) | ø | 20424 (3%) | ø | | functional_ut_qdac | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 360744 (17%) | ø | 20424 (3%) | ø | | spike_lk_activity_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 242208 (11%) | ø | 55816 (10%) | ø | | spike_lk_audio | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 127092 (6%) | ø | 14592 (2%) | ø | | spike_lk_behavior_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 190096 (9%) | ø | 48096 (9%) | ø | | spike_lk_ble | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 229600 (10%) | ø | 28472 (5%) | ø | | spike_lk_bluetooth | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 82948 (3%) | ø | 11544 (2%) | ø | | spike_lk_cg_animations | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 146984 (7%) | ø | 46536 (8%) | ø | | spike_lk_color_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 65840 (3%) | ø | 13744 (2%) | ø | | spike_lk_command_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 221384 (10%) | ø | 52640 (10%) | ø | | spike_lk_config_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 127324 (6%) | ø | 14360 (2%) | ø | | spike_lk_coreled | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 76292 (3%) | ø | 13688 (2%) | ø | | spike_lk_core_touch_sensor | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 80508 (3%) | ø | 12248 (2%) | ø | | spike_lk_event_queue | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 74800 (3%) | ø | 12072 (2%) | ø | | spike_lk_file_manager_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 139528 (6%) | ø | 14440 (2%) | ø | | spike_lk_file_reception | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 336000 (16%) | ø | 27792 (5%) | ø | | spike_lk_flash_memory | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 63880 (3%) | ø | 11448 (2%) | ø | | spike_lk_fs | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 176676 (8%) | ø | 47936 (9%) | ø | | spike_lk_imu_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 98860 (4%) | ø | 13032 (2%) | ø | | spike_lk_lcd | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 164376 (7%) | ø | 46688 (8%) | ø | | spike_lk_led_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 103424 (4%) | ø | 14528 (2%) | ø | | spike_lk_log_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 63288 (3%) | ø | 12256 (2%) | ø | | spike_lk_motion_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 111316 (5%) | ø | 15160 (2%) | ø | | spike_lk_motors | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 62808 (2%) | ø | 11488 (2%) | ø | | spike_lk_qdac | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 78852 (3%) | ø | 11808 (2%) | ø | | spike_lk_reinforcer | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 218600 (10%) | ø | 49824 (9%) | ø | | spike_lk_rfid | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 79180 (3%) | ø | 11504 (2%) | ø | | spike_lk_sensors_battery | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 78500 (3%) | ø | 12600 (2%) | ø | | spike_lk_sensors_imu_lsm6dsox | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 89468 (4%) | ø | 12824 (2%) | ø | | spike_lk_sensors_imu_lsm6dsox_fusion_calibration | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 97916 (4%) | ø | 12952 (2%) | ø | | spike_lk_sensors_light | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 60056 (2%) | ø | 11440 (2%) | ø | | spike_lk_sensors_microphone | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 72496 (3%) | ø | 11504 (2%) | ø | | spike_lk_sensors_temperature_humidity | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 67272 (3%) | ø | 11424 (2%) | ø | | spike_lk_serial_number | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 133084 (6%) | ø | 14304 (2%) | ø | | spike_lk_ticker_timeout | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 69052 (3%) | ø | 11632 (2%) | ø | | spike_lk_touch_sensor_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 87896 (4%) | ø | 12824 (2%) | ø | | spike_lk_update_process_app_base | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 145620 (6%) | ø | 15576 (2%) | ø | | spike_lk_update_process_app_update | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 77632 (3%) | ø | 12352 (2%) | ø | | spike_lk_watchdog_isr | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 80356 (3%) | ø | 13288 (2%) | ø | | spike_lk_wifi | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 116544 (5%) | ø | 14808 (2%) | ø | | spike_mbed_blinky | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 58032 (2%) | ø | 11400 (2%) | ø | | spike_mbed_watchdog_ticker_vs_thread | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 63208 (3%) | ø | 12448 (2%) | ø | | spike_stl_cxxsupport | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 58456 (2%) | ø | 11400 (2%) | ø | ## :world_map: Map files diff output No differenes where found in map files.
github-actions[bot] commented 9 months ago

:chart_with_upwards_trend: Changes Impact Analysis Report

:pushpin: Info

base head
branch develop yann/fix/os/ambiguous-logger-init
sha 53d1a4f4 44657156
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 183708 (70%) ø 78436 (29%)
78436 (29%)
41656 (7%) ø
os 502380 (32%) ø 1062292 (67%)
1062292 (67%)
94592 (18%) ø
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: | 502380 (23%) | ø | 94592 (18%) | ø | | bootloader | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 183708 (8%) | ø | 41656 (7%) | ø | | functional_ut_boost_ut | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 409276 (19%) | ø | 30608 (5%) | ø | | functional_ut_core_imu | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 385140 (18%) | ø | 31120 (5%) | ø | | functional_ut_deep_sleep_core_buffered_serial | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 370716 (17%) | ø | 30560 (5%) | ø | | functional_ut_deep_sleep_core_lcd | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 401172 (19%) | ø | 62608 (11%) | ø | | functional_ut_deep_sleep_core_motor | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 373196 (17%) | ø | 30632 (5%) | ø | | functional_ut_deep_sleep_core_pwm | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 374164 (17%) | ø | 30632 (5%) | ø | | functional_ut_deep_sleep_log_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 365268 (17%) | ø | 30976 (5%) | ø | | functional_ut_deep_sleep_mbed_hal | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 366712 (17%) | ø | 30560 (5%) | ø | | functional_ut_file_manager | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 388092 (18%) | ø | 30856 (5%) | ø | | functional_ut_firmware_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 379116 (18%) | ø | 30848 (5%) | ø | | functional_ut_imu_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 389120 (18%) | ø | 31296 (5%) | ø | | functional_ut_io_expander | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 371176 (17%) | ø | 30576 (5%) | ø | | functional_ut_qdac | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 372344 (17%) | ø | 30576 (5%) | ø | | spike_lk_activity_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 245028 (11%) | ø | 66480 (12%) | ø | | spike_lk_audio | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 137724 (6%) | ø | 25168 (4%) | ø | | spike_lk_behavior_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 199236 (9%) | ø | 58672 (11%) | ø | | spike_lk_ble | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 237980 (11%) | ø | 39416 (7%) | ø | | spike_lk_bluetooth | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 92364 (4%) | ø | 22224 (4%) | ø | | spike_lk_cg_animations | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 154680 (7%) | ø | 57232 (10%) | ø | | spike_lk_color_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 88544 (4%) | ø | 24376 (4%) | ø | | spike_lk_command_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 230740 (11%) | ø | 63728 (12%) | ø | | spike_lk_config_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 139780 (6%) | ø | 25184 (4%) | ø | | spike_lk_coreled | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 88108 (4%) | ø | 24264 (4%) | ø | | spike_lk_core_touch_sensor | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 93164 (4%) | ø | 22824 (4%) | ø | | spike_lk_event_queue | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 84152 (4%) | ø | 22904 (4%) | ø | | spike_lk_file_manager_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 154560 (7%) | ø | 25520 (4%) | ø | | spike_lk_file_reception | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 339964 (16%) | ø | 38448 (7%) | ø | | spike_lk_flash_memory | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 86776 (4%) | ø | 22216 (4%) | ø | | spike_lk_fs | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 179316 (8%) | ø | 57544 (10%) | ø | | spike_lk_imu_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 107504 (5%) | ø | 23744 (4%) | ø | | spike_lk_lcd | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 174572 (8%) | ø | 57528 (10%) | ø | | spike_lk_led_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 115204 (5%) | ø | 25104 (4%) | ø | | spike_lk_log_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 84776 (4%) | ø | 23408 (4%) | ø | | spike_lk_motion_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 116288 (5%) | ø | 25704 (4%) | ø | | spike_lk_motors | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 86344 (4%) | ø | 22248 (4%) | ø | | spike_lk_qdac | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 91796 (4%) | ø | 22768 (4%) | ø | | spike_lk_reinforcer | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 226260 (10%) | ø | 60400 (11%) | ø | | spike_lk_rfid | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 84376 (4%) | ø | 22184 (4%) | ø | | spike_lk_sensors_battery | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 87480 (4%) | ø | 23312 (4%) | ø | | spike_lk_sensors_imu_lsm6dsox | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 98624 (4%) | ø | 23536 (4%) | ø | | spike_lk_sensors_imu_lsm6dsox_fusion_calibration | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 105064 (5%) | ø | 23104 (4%) | ø | | spike_lk_sensors_light | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 84072 (4%) | ø | 22216 (4%) | ø | | spike_lk_sensors_microphone | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 84824 (4%) | ø | 22216 (4%) | ø | | spike_lk_sensors_temperature_humidity | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 90616 (4%) | ø | 22192 (4%) | ø | | spike_lk_serial_number | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 145028 (6%) | ø | 25256 (4%) | ø | | spike_lk_ticker_timeout | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 82712 (3%) | ø | 22232 (4%) | ø | | spike_lk_touch_sensor_kit | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 96668 (4%) | ø | 23392 (4%) | ø | | spike_lk_update_process_app_base | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 157932 (7%) | ø | 26288 (5%) | ø | | spike_lk_update_process_app_update | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 100456 (4%) | ø | 23240 (4%) | ø | | spike_lk_watchdog_isr | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 87616 (4%) | ø | 24136 (4%) | ø | | spike_lk_wifi | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 130984 (6%) | ø | 25528 (4%) | ø | | spike_mbed_blinky | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 57616 (2%) | ø | 11496 (2%) | ø | | spike_mbed_watchdog_ticker_vs_thread | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 84176 (4%) | ø | 23080 (4%) | ø | | spike_stl_cxxsupport | :heavy_check_mark: | :white_check_mark: | :white_check_mark: | 83488 (3%) | ø | 22304 (4%) | ø | ## :world_map: Map files diff output No differenes where found in map files.
codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (53d1a4f) 98.75% compared to head (4465715) 98.75%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1388 +/- ## ======================================== Coverage 98.75% 98.75% ======================================== Files 146 146 Lines 3783 3783 ======================================== Hits 3736 3736 Misses 47 47 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

YannLocatelli commented 3 months ago

Fixed by #1430