Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hugo/feature/Split core imu functional test #1157

Merged
merged 2 commits into from
Nov 24, 2022

Conversation

HPezz
Copy link
Contributor

@HPezz HPezz commented Nov 24, 2022

  • ✨ (ft): Move lsm6dsox tests to suite_lsm6dsox ft
  • ♻️ (ft): Refactor ex-suite_lsm6dsox into suite_core_imu

@HPezz HPezz self-assigned this Nov 24, 2022
@HPezz HPezz added the 01 - type: task Something to do label Nov 24, 2022
@HPezz HPezz added this to the Future Release milestone Nov 24, 2022
@codecov
Copy link

codecov bot commented Nov 24, 2022

Codecov Report

Merging #1157 (3de4a65) into develop (05f5d24) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1157   +/-   ##
========================================
  Coverage    96.00%   96.00%           
========================================
  Files          138      138           
  Lines         3253     3253           
========================================
  Hits          3123     3123           
  Misses         130      130           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link

github-actions bot commented Nov 24, 2022

File comparision analysis report

🔖 Info

Target Flash Used (%) Flash Available (%) Static RAM (%)
bootloader 182028 (69%) 80116 (30%) 41616 (7%)
os 452036 (28%) 1112636 (71%) 90840 (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 |

📝 Summary

Click to show summary
  • ✔️ - existing target
  • ✨ - new target
  • ⚰️ - deleted target
  • ✅ - files are the same
  • ❌ - files are different
Target Status .bin .map Total Flash (base/head) Total Flash Δ Static RAM (base/head) Static RAM Δ
LekaOS ✔️ 452036 (21%) ø 90840 (17%) ø
bootloader ✔️ 182028 (8%) ø 41616 (7%) ø
functional_ut_boost_ut ✔️ 408872 (19%) ø 30096 (5%) ø
functional_ut_core_imu ✔️ 387112 (18%)
388848 (18%)
📈
1736 (0%)
30064 (5%)
30072 (5%)
📈
8 (0%)
functional_ut_deep_sleep_log_kit ✔️ 365284 (17%) ø 30976 (5%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 366488 (17%) ø 30560 (5%) ø
functional_ut_file_manager ✔️ 386080 (18%) ø 30344 (5%) ø
functional_ut_io_expander ✔️ 370556 (17%) ø 30064 (5%) ø
functional_ut_qdac ✔️ 371716 (17%) ø 30064 (5%) ø
spike_lk_accel_gyro ✔️ 94048 (4%) ø 22568 (4%) ø
spike_lk_audio ✔️ 135196 (6%) ø 25144 (4%) ø
spike_lk_behavior_kit ✔️ 198508 (9%) ø 58712 (11%) ø
spike_lk_ble ✔️ 236780 (11%) ø 39016 (7%) ø
spike_lk_bluetooth ✔️ 92364 (4%) ø 22224 (4%) ø
spike_lk_cg_animations ✔️ 152392 (7%) ø 57224 (10%) ø
spike_lk_color_kit ✔️ 88480 (4%) ø 24376 (4%) ø
spike_lk_command_kit ✔️ 203036 (9%) ø 62048 (11%) ø
spike_lk_config_kit ✔️ 138932 (6%) ø 25136 (4%) ø
spike_lk_coreled ✔️ 88044 (4%) ø 24264 (4%) ø
spike_lk_core_touch_sensor ✔️ 92884 (4%) ø 22832 (4%) ø
spike_lk_event_queue ✔️ 84152 (4%) ø 22904 (4%) ø
spike_lk_file_manager_kit ✔️ 154048 (7%) ø 25496 (4%) ø
spike_lk_file_reception ✔️ 331308 (15%) ø 38232 (7%) ø
spike_lk_flash_memory ✔️ 86776 (4%) ø 22216 (4%) ø
spike_lk_fs ✔️ 174168 (8%) ø 47992 (9%) ø
spike_lk_lcd ✔️ 172268 (8%) ø 57464 (10%) ø
spike_lk_led_kit ✔️ 115772 (5%) ø 25184 (4%) ø
spike_lk_log_kit ✔️ 84776 (4%) ø 23408 (4%) ø
spike_lk_motors ✔️ 86072 (4%) ø 22248 (4%) ø
spike_lk_qdac ✔️ 91572 (4%) ø 22776 (4%) ø
spike_lk_reinforcer ✔️ 112316 (5%) ø 25184 (4%) ø
spike_lk_rfid ✔️ 84080 (4%) ø 22184 (4%) ø
spike_lk_sensors_battery ✔️ 87184 (4%) ø 23280 (4%) ø
spike_lk_sensors_light ✔️ 84072 (4%) ø 22216 (4%) ø
spike_lk_sensors_microphone ✔️ 84824 (4%) ø 22216 (4%) ø
spike_lk_sensors_temperature_humidity ✔️ 90400 (4%) ø 22192 (4%) ø
spike_lk_sensors_touch ✔️ 91672 (4%) ø 22456 (4%) ø
spike_lk_serial_number ✔️ 136316 (6%) ø 25056 (4%) ø
spike_lk_ticker_timeout ✔️ 82712 (3%) ø 22232 (4%) ø
spike_lk_update_process_app_base ✔️ 148044 (7%) ø 26064 (4%) ø
spike_lk_update_process_app_update ✔️ 100456 (4%) ø 23240 (4%) ø
spike_lk_watchdog_isr ✔️ 87320 (4%) ø 24120 (4%) ø
spike_lk_wifi ✔️ 130832 (6%) ø 25528 (4%) ø
spike_mbed_blinky ✔️ 57616 (2%) ø 11496 (2%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 84176 (4%) ø 23080 (4%) ø
spike_stl_cxxsupport ✔️ 83488 (3%) ø 22304 (4%) ø

🗺️ Map files diff output

Click to show diff list
functional_ut_core_imu (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/functional_ut_core_imu-map.txt	2022-11-24 16:14:14.912129703 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/functional_ut_core_imu-map.txt	2022-11-24 16:14:15.200133306 +0000
@@ -1,19 +1,20 @@
-| Module                  |           .text |       .data |          .bss |
-|-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       214(+214) |     16(+16) |       39(+39) |
-| [lib]/CoreI2C.a         |         90(+90) |       0(+0) |         0(+0) |
-| [lib]/CoreIMU.a         |     5066(+5066) |       0(+0) |         0(+0) |
-| [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
-| [lib]/c.a               |   72552(+72552) | 2574(+2574) |       97(+97) |
-| [lib]/gcc.a             |     7416(+7416) |       0(+0) |         0(+0) |
-| [lib]/m.a               |       372(+372) |       0(+0) |         0(+0) |
-| [lib]/mbed-os-static.a  |   61348(+61348) |   460(+460) | 10337(+10337) |
-| [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
-| [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          | 174744(+174744) |   145(+145) |   5720(+5720) |
-| __/__                   |     3880(+3880) |       1(+1) | 10329(+10329) |
-| suite_lsm6dsox.cpp.obj  |   14222(+14222) |       0(+0) |         2(+2) |
-| Subtotals               | 340132(+340132) | 3200(+3200) | 26552(+26552) |
+| Module                      |           .text |       .data |          .bss |
+|-----------------------------|-----------------|-------------|---------------|
+| [fill]                      |       228(+228) |     16(+16) |       38(+38) |
+| [lib]/CoreI2C.a             |         90(+90) |       0(+0) |         0(+0) |
+| [lib]/CoreIMU.a             |     5066(+5066) |       0(+0) |         0(+0) |
+| [lib]/CriticalSection.a     |           8(+8) |       0(+0) |         0(+0) |
+| [lib]/c.a                   |   72552(+72552) | 2574(+2574) |       97(+97) |
+| [lib]/gcc.a                 |     7416(+7416) |       0(+0) |         0(+0) |
+| [lib]/m.a                   |       372(+372) |       0(+0) |         0(+0) |
+| [lib]/mbed-os-static.a      |   61348(+61348) |   460(+460) | 10337(+10337) |
+| [lib]/misc                  |       188(+188) |       4(+4) |       28(+28) |
+| [lib]/nosys.a               |         32(+32) |       0(+0) |         0(+0) |
+| [lib]/stdc++.a              | 174744(+174744) |   145(+145) |   5720(+5720) |
+| __/__                       |     3880(+3880) |       1(+1) | 10329(+10329) |
+| suite_core_imu.cpp.obj      |     6730(+6730) |       0(+0) |         1(+1) |
+| suite_core_lsm6dsox.cpp.obj |     9142(+9142) |       0(+0) |         2(+2) |
+| Subtotals                   | 341796(+341796) | 3200(+3200) | 26552(+26552) |
 Total Static RAM memory (data + bss): 29752(+29752) bytes
-Total Flash memory (text + data): 343332(+343332) bytes
+Total Flash memory (text + data): 344996(+344996) bytes
 
Flash used: 388848 (18%) / total: 2097152
SRAM used: 30072 (5%) / total: 524288

@github-actions
Copy link

github-actions bot commented Nov 24, 2022

File comparision analysis report

🔖 Info

Target Flash Used (%) Flash Available (%) Static RAM (%)
bootloader 169508 (64%) 92636 (35%) 30920 (5%)
os 410984 (26%) 1153688 (73%) 79624 (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 |

📝 Summary

Click to show summary
  • ✔️ - existing target
  • ✨ - new target
  • ⚰️ - deleted target
  • ✅ - files are the same
  • ❌ - files are different
Target Status .bin .map Total Flash (base/head) Total Flash Δ Static RAM (base/head) Static RAM Δ
LekaOS ✔️ 410984 (19%) ø 79624 (15%) ø
bootloader ✔️ 169508 (8%) ø 30920 (5%) ø
functional_ut_boost_ut ✔️ 394076 (18%) ø 20456 (3%) ø
functional_ut_core_imu ✔️ 375780 (17%)
377068 (17%)
📈
1288 (0%)
20424 (3%)
20432 (3%)
📈
8 (0%)
functional_ut_deep_sleep_log_kit ✔️ 352696 (16%) ø 20408 (3%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 354216 (16%) ø 20408 (3%) ø
functional_ut_file_manager ✔️ 374536 (17%) ø 20696 (3%) ø
functional_ut_io_expander ✔️ 359232 (17%) ø 20424 (3%) ø
functional_ut_qdac ✔️ 360400 (17%) ø 20424 (3%) ø
spike_lk_accel_gyro ✔️ 71184 (3%) ø 11808 (2%) ø
spike_lk_audio ✔️ 125076 (5%) ø 14568 (2%) ø
spike_lk_behavior_kit ✔️ 189944 (9%) ø 48136 (9%) ø
spike_lk_ble ✔️ 228768 (10%) ø 28200 (5%) ø
spike_lk_bluetooth ✔️ 82948 (3%) ø 11544 (2%) ø
spike_lk_cg_animations ✔️ 144696 (6%) ø 46528 (8%) ø
spike_lk_color_kit ✔️ 65776 (3%) ø 13744 (2%) ø
spike_lk_command_kit ✔️ 192712 (9%) ø 50960 (9%) ø
spike_lk_config_kit ✔️ 126956 (6%) ø 14312 (2%) ø
spike_lk_coreled ✔️ 76164 (3%) ø 13688 (2%) ø
spike_lk_core_touch_sensor ✔️ 80228 (3%) ø 12256 (2%) ø
spike_lk_event_queue ✔️ 74800 (3%) ø 12072 (2%) ø
spike_lk_file_manager_kit ✔️ 139016 (6%) ø 14416 (2%) ø
spike_lk_file_reception ✔️ 327112 (15%) ø 27576 (5%) ø
spike_lk_flash_memory ✔️ 63880 (3%) ø 11448 (2%) ø
spike_lk_fs ✔️ 174808 (8%) ø 47904 (9%) ø
spike_lk_lcd ✔️ 162428 (7%) ø 46632 (8%) ø
spike_lk_led_kit ✔️ 103992 (4%) ø 14608 (2%) ø
spike_lk_log_kit ✔️ 63288 (3%) ø 12256 (2%) ø
spike_lk_motors ✔️ 62600 (2%) ø 11488 (2%) ø
spike_lk_qdac ✔️ 78628 (3%) ø 11816 (2%) ø
spike_lk_reinforcer ✔️ 103480 (4%) ø 14608 (2%) ø
spike_lk_rfid ✔️ 78884 (3%) ø 11504 (2%) ø
spike_lk_sensors_battery ✔️ 78196 (3%) ø 12568 (2%) ø
spike_lk_sensors_light ✔️ 60056 (2%) ø 11440 (2%) ø
spike_lk_sensors_microphone ✔️ 72496 (3%) ø 11504 (2%) ø
spike_lk_sensors_temperature_humidity ✔️ 67048 (3%) ø 11424 (2%) ø
spike_lk_sensors_touch ✔️ 68600 (3%) ø 11432 (2%) ø
spike_lk_serial_number ✔️ 114308 (5%) ø 14056 (2%) ø
spike_lk_ticker_timeout ✔️ 69052 (3%) ø 11632 (2%) ø
spike_lk_update_process_app_base ✔️ 126092 (6%) ø 15296 (2%) ø
spike_lk_update_process_app_update ✔️ 77632 (3%) ø 12352 (2%) ø
spike_lk_watchdog_isr ✔️ 80060 (3%) ø 13272 (2%) ø
spike_lk_wifi ✔️ 116392 (5%) ø 14808 (2%) ø
spike_mbed_blinky ✔️ 58032 (2%) ø 11400 (2%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 63208 (3%) ø 12448 (2%) ø
spike_stl_cxxsupport ✔️ 58456 (2%) ø 11400 (2%) ø

🗺️ Map files diff output

Click to show diff list
functional_ut_core_imu (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/functional_ut_core_imu-map.txt	2022-11-24 16:14:03.265028056 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/functional_ut_core_imu-map.txt	2022-11-24 16:14:03.545030984 +0000
@@ -1,17 +1,18 @@
-| Module                 |           .text |       .data |          .bss |
-|------------------------|-----------------|-------------|---------------|
-| [fill]                 |       164(+164) |     16(+16) |       35(+35) |
-| [lib]/CoreI2C.a        |         90(+90) |       0(+0) |         0(+0) |
-| [lib]/CoreIMU.a        |     5066(+5066) |       0(+0) |         0(+0) |
-| [lib]/c.a              |   73780(+73780) | 2574(+2574) |       97(+97) |
-| [lib]/gcc.a            |     7416(+7416) |       0(+0) |         0(+0) |
-| [lib]/mbed-os-static.a |   53552(+53552) |   460(+460) | 10213(+10213) |
-| [lib]/misc             |       188(+188) |       4(+4) |       28(+28) |
-| [lib]/nosys.a          |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a         | 174176(+174176) |   145(+145) |   5720(+5720) |
-| __/__                  |     1938(+1938) |       1(+1) |     817(+817) |
-| suite_lsm6dsox.cpp.obj |   13738(+13738) |       0(+0) |         2(+2) |
-| Subtotals              | 330140(+330140) | 3200(+3200) | 16912(+16912) |
+| Module                      |           .text |       .data |          .bss |
+|-----------------------------|-----------------|-------------|---------------|
+| [fill]                      |       226(+226) |     16(+16) |       34(+34) |
+| [lib]/CoreI2C.a             |         90(+90) |       0(+0) |         0(+0) |
+| [lib]/CoreIMU.a             |     5066(+5066) |       0(+0) |         0(+0) |
+| [lib]/c.a                   |   73780(+73780) | 2574(+2574) |       97(+97) |
+| [lib]/gcc.a                 |     7416(+7416) |       0(+0) |         0(+0) |
+| [lib]/mbed-os-static.a      |   53552(+53552) |   460(+460) | 10213(+10213) |
+| [lib]/misc                  |       188(+188) |       4(+4) |       28(+28) |
+| [lib]/nosys.a               |         32(+32) |       0(+0) |         0(+0) |
+| [lib]/stdc++.a              | 174176(+174176) |   145(+145) |   5720(+5720) |
+| __/__                       |     1938(+1938) |       1(+1) |     817(+817) |
+| suite_core_imu.cpp.obj      |     6230(+6230) |       0(+0) |         1(+1) |
+| suite_core_lsm6dsox.cpp.obj |     8662(+8662) |       0(+0) |         2(+2) |
+| Subtotals                   | 331356(+331356) | 3200(+3200) | 16912(+16912) |
 Total Static RAM memory (data + bss): 20112(+20112) bytes
-Total Flash memory (text + data): 333340(+333340) bytes
+Total Flash memory (text + data): 334556(+334556) bytes
 
Flash used: 377068 (17%) / total: 2097152
SRAM used: 20432 (3%) / total: 524288

@ladislas ladislas force-pushed the hugo/feature/Split-core-imu-functional-test branch from 491880f to 71ffbce Compare November 24, 2022 16:01
HPezz and others added 2 commits November 24, 2022 17:01
- suite lsm6dsox to test for component testing
- suite core imu for functional testing
@ladislas ladislas force-pushed the hugo/feature/Split-core-imu-functional-test branch from 71ffbce to 3de4a65 Compare November 24, 2022 16:01
@sonarcloud
Copy link

sonarcloud bot commented Nov 24, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ladislas ladislas merged commit 1fa2291 into develop Nov 24, 2022
@ladislas ladislas deleted the hugo/feature/Split-core-imu-functional-test branch November 25, 2022 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 - type: task Something to do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants