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/Change animation blinkOnCharge #1218

Merged
merged 2 commits into from
Dec 16, 2022

Conversation

HPezz
Copy link
Contributor

@HPezz HPezz commented Dec 15, 2022

  • 🚸 (MotionKit): Improve smart reinforcer performance
  • ♻️ (MotionKit): Add timeout to rotate() function
  • ♻️ (libs): Update Motionkit calls
  • 🚸 (BlinkOnCharge): Improve animation
  • 🚸 (BehaviorKit): Trigger back BlinkOnCharge after BleConnection

@github-actions
Copy link

github-actions bot commented Dec 15, 2022

File comparision analysis report

🔖 Info

Target Flash Used (%) Flash Available (%) Static RAM (%)
bootloader 182804 (69%) 79340 (30%) 41648 (7%)
os 478884 (30%) 1085788 (69%) 93488 (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 ✔️ 478428 (22%)
478884 (22%)
📈
456 (0%)
93464 (17%)
93488 (17%)
📈
24 (0%)
bootloader ✔️ 182804 (8%) ø 41648 (7%) ø
functional_ut_boost_ut ✔️ 409212 (19%) ø 30608 (5%) ø
functional_ut_core_imu ✔️ 389196 (18%) ø 30584 (5%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 368140 (17%) ø 30560 (5%) ø
functional_ut_deep_sleep_core_motor ✔️ 376076 (17%) ø 30632 (5%) ø
functional_ut_deep_sleep_core_pwm ✔️ 378292 (18%) ø 30632 (5%) ø
functional_ut_deep_sleep_log_kit ✔️ 365204 (17%) ø 30976 (5%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 366648 (17%) ø 30560 (5%) ø
functional_ut_file_manager ✔️ 386684 (18%) ø 30856 (5%) ø
functional_ut_imu_kit ✔️ 391388 (18%) ø 30576 (5%) ø
functional_ut_io_expander ✔️ 370896 (17%) ø 30576 (5%) ø
functional_ut_qdac ✔️ 372064 (17%) ø 30576 (5%) ø
spike_lk_accel_gyro ✔️ 94048 (4%) ø 22568 (4%) ø
spike_lk_audio ✔️ 137044 (6%) ø 25176 (4%) ø
spike_lk_behavior_kit ✔️ 197244 (9%)
197628 (9%)
📈
384 (0%)
58640 (11%)
58656 (11%)
📈
16 (0%)
spike_lk_ble ✔️ 237772 (11%) ø 39416 (7%) ø
spike_lk_bluetooth ✔️ 92364 (4%) ø 22224 (4%) ø
spike_lk_cg_animations ✔️ 153608 (7%) ø 57224 (10%) ø
spike_lk_color_kit ✔️ 88480 (4%) ø 24376 (4%) ø
spike_lk_command_kit ✔️ 218516 (10%)
218900 (10%)
📈
384 (0%)
63016 (12%)
63024 (12%)
📈
8 (0%)
spike_lk_config_kit ✔️ 139244 (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 ✔️ 154368 (7%) ø 25520 (4%) ø
spike_lk_file_reception ✔️ 339748 (16%) ø 38448 (7%) ø
spike_lk_flash_memory ✔️ 86776 (4%) ø 22216 (4%) ø
spike_lk_fs ✔️ 174440 (8%) ø 47992 (9%) ø
spike_lk_imu_kit ✔️ 97920 (4%) ø 22896 (4%) ø
spike_lk_lcd ✔️ 172652 (8%) ø 57496 (10%) ø
spike_lk_led_kit ✔️ 114756 (5%)
115140 (5%)
📈
384 (0%)
25096 (4%)
25104 (4%)
📈
8 (0%)
spike_lk_log_kit ✔️ 84776 (4%) ø 23408 (4%) ø
spike_lk_motion_kit ✔️ 106120 (5%) ø 24736 (4%) ø
spike_lk_motors ✔️ 86336 (4%) ø 22248 (4%) ø
spike_lk_qdac ✔️ 91572 (4%) ø 22776 (4%) ø
spike_lk_reinforcer ✔️ 214036 (10%)
214484 (10%)
📈
448 (0%)
59696 (11%)
59704 (11%)
📈
8 (0%)
spike_lk_rfid ✔️ 84088 (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 ✔️ 144900 (6%) ø 25256 (4%) ø
spike_lk_ticker_timeout ✔️ 82712 (3%) ø 22232 (4%) ø
spike_lk_update_process_app_base ✔️ 156876 (7%) ø 26288 (5%) ø
spike_lk_update_process_app_update ✔️ 100456 (4%) ø 23240 (4%) ø
spike_lk_watchdog_isr ✔️ 87392 (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
LekaOS (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/LekaOS-map.txt	2022-12-16 17:25:34.488294512 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/LekaOS-map.txt	2022-12-16 17:25:34.844295923 +0000
@@ -1,53 +1,53 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       642(+642) |     18(+18) |     236(+236) |
+| [fill]                     |       646(+646) |     18(+18) |     242(+242) |
 | [lib]/ActivityKit.a        |   10522(+10522) |       0(+0) |         0(+0) |
 | [lib]/BLEKit.a             |     1436(+1436) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a         |       324(+324) |       0(+0) |         0(+0) |
-| [lib]/BehaviorKit.a        |     1880(+1880) |   456(+456) |         0(+0) |
+| [lib]/BehaviorKit.a        |     1880(+1880) |   460(+460) |         0(+0) |
 | [lib]/ColorKit.a           |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CommandKit.a         |     1120(+1120) |       0(+0) |         0(+0) |
 | [lib]/CoreBattery.a        |       472(+472) |       0(+0) |         0(+0) |
 | [lib]/CoreBufferedSerial.a |         78(+78) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |       116(+116) |       0(+0) |         0(+0) |
 | [lib]/CoreFlashMemory.a    |       546(+546) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     5018(+5018) |       0(+0) |         0(+0) |
 | [lib]/CoreMCU.a            |         16(+16) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CoreMutex.a          |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreQSPI.a           |       160(+160) |       0(+0) |         0(+0) |
 | [lib]/CoreRFIDReader.a     |       556(+556) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a            |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a       |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a          |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a    |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a       |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a     |     1756(+1756) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a        |       822(+822) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |     1416(+1416) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a             |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a             |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a          |       726(+726) |       0(+0) |         0(+0) |
 | [lib]/RFIDKit.a            |     1054(+1054) |       0(+0) |         8(+8) |
-| [lib]/ReinforcerKit.a      |     1242(+1242) |   456(+456) |         0(+0) |
+| [lib]/ReinforcerKit.a      |     1242(+1242) |   460(+460) |         0(+0) |
 | [lib]/SerialNumberKit.a    |       584(+584) |       0(+0) |         0(+0) |
 | [lib]/Utils.a              |         82(+82) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a           |       806(+806) |       0(+0) |       36(+36) |
 | [lib]/bootutil.a           |     1362(+1362) |     12(+12) |     132(+132) |
 | [lib]/c.a                  |   48840(+48840) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a                |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     2092(+2092) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 181108(+181108) |   773(+773) | 19755(+19755) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   10716(+10716) |     16(+16) |     204(+204) |
 | __/__                      |       108(+108) |       0(+0) |         0(+0) |
-| main.cpp.obj               | 121516(+121516) |   108(+108) | 37414(+37414) |
-| Subtotals                  | 433956(+433956) | 4416(+4416) | 88720(+88720) |
-Total Static RAM memory (data + bss): 93136(+93136) bytes
-Total Flash memory (text + data): 438372(+438372) bytes
+| main.cpp.obj               | 121558(+121558) |   108(+108) | 37414(+37414) |
+| Subtotals                  | 434404(+434404) | 4424(+4424) | 88736(+88736) |
+Total Static RAM memory (data + bss): 93160(+93160) bytes
+Total Flash memory (text + data): 438828(+438828) bytes
 
Flash used: 478884 (22%) / total: 2097152
SRAM used: 93488 (17%) / total: 524288
spike_lk_behavior_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_behavior_kit-map.txt	2022-12-16 17:25:42.800330111 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_behavior_kit-map.txt	2022-12-16 17:25:43.012331052 +0000
@@ -1,30 +1,30 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       298(+298) |     15(+15) |       40(+40) |
-| [lib]/BehaviorKit.a     |     1276(+1276) |   456(+456) |         0(+0) |
+| [fill]                  |       280(+280) |     11(+11) |       46(+46) |
+| [lib]/BehaviorKit.a     |     1276(+1276) |   460(+460) |         0(+0) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a    |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a       |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |     1238(+1238) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a          |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/VideoKit.a        |     1004(+1004) |       0(+0) |       36(+36) |
 | [lib]/c.a               |   40920(+40920) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       564(+564) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   70124(+70124) |   464(+464) | 10393(+10393) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |   10716(+10716) |     16(+16) |     204(+204) |
 | __/__                   |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj            |     5756(+5756) |       8(+8) | 13176(+13176) |
-| Subtotals               | 168596(+168596) | 3536(+3536) | 54784(+54784) |
-Total Static RAM memory (data + bss): 58320(+58320) bytes
-Total Flash memory (text + data): 172132(+172132) bytes
+| Subtotals               | 168980(+168980) | 3536(+3536) | 54800(+54800) |
+Total Static RAM memory (data + bss): 58336(+58336) bytes
+Total Flash memory (text + data): 172516(+172516) bytes
 
Flash used: 197628 (9%) / total: 2097152
SRAM used: 58656 (11%) / total: 524288
spike_lk_command_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_command_kit-map.txt	2022-12-16 17:25:44.916339498 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_command_kit-map.txt	2022-12-16 17:25:45.136340474 +0000
@@ -1,36 +1,36 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       280(+280) |     17(+17) |       40(+40) |
+| [fill]                  |       262(+262) |     13(+13) |       38(+38) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CommandKit.a      |     1152(+1152) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a         |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a         |     5018(+5018) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a    |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a       |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |     1238(+1238) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a          |     1416(+1416) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a          |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a       |       726(+726) |       0(+0) |         0(+0) |
-| [lib]/ReinforcerKit.a   |     1726(+1726) |   456(+456) |         0(+0) |
+| [lib]/ReinforcerKit.a   |     1726(+1726) |   460(+460) |         0(+0) |
 | [lib]/Utils.a           |         82(+82) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a        |       990(+990) |       0(+0) |       36(+36) |
 | [lib]/c.a               |   40920(+40920) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |     2092(+2092) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   76738(+76738) |   464(+464) | 10413(+10413) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |   10716(+10716) |     16(+16) |     204(+204) |
 | __/__                   |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj            |     8734(+8734) |   278(+278) | 17260(+17260) |
-| Subtotals               | 188564(+188564) | 3808(+3808) | 58888(+58888) |
-Total Static RAM memory (data + bss): 62696(+62696) bytes
-Total Flash memory (text + data): 192372(+192372) bytes
+| Subtotals               | 188948(+188948) | 3808(+3808) | 58896(+58896) |
+Total Static RAM memory (data + bss): 62704(+62704) bytes
+Total Flash memory (text + data): 192756(+192756) bytes
 
Flash used: 218900 (10%) / total: 2097152
SRAM used: 63024 (12%) / total: 524288
spike_lk_led_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_led_kit-map.txt	2022-12-16 17:25:49.320359035 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_led_kit-map.txt	2022-12-16 17:25:49.500359834 +0000
@@ -1,22 +1,22 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       204(+204) |       8(+8) |       30(+30) |
+| [fill]                  |       186(+186) |       4(+4) |       28(+28) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a          |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/c.a               |   25008(+25008) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       564(+564) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   34718(+34718) |   444(+444) | 10078(+10078) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |     5864(+5864) |       8(+8) |       44(+44) |
-| main.cpp.obj            |     8034(+8034) |   456(+456) | 11168(+11168) |
-| Subtotals               | 101908(+101908) | 3392(+3392) | 21416(+21416) |
-Total Static RAM memory (data + bss): 24808(+24808) bytes
-Total Flash memory (text + data): 105300(+105300) bytes
+| main.cpp.obj            |     8034(+8034) |   460(+460) | 11168(+11168) |
+| Subtotals               | 102292(+102292) | 3392(+3392) | 21424(+21424) |
+Total Static RAM memory (data + bss): 24816(+24816) bytes
+Total Flash memory (text + data): 105684(+105684) bytes
 
Flash used: 115140 (5%) / total: 2097152
SRAM used: 25104 (4%) / total: 524288
spike_lk_reinforcer (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_reinforcer-map.txt	2022-12-16 17:25:51.208367126 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_reinforcer-map.txt	2022-12-16 17:25:51.428368023 +0000
@@ -1,35 +1,35 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       276(+276) |     15(+15) |       48(+48) |
+| [fill]                  |       322(+322) |     11(+11) |       46(+46) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a         |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a         |     5018(+5018) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a    |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a       |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |     1238(+1238) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a          |     1416(+1416) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a          |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a       |       726(+726) |       0(+0) |         0(+0) |
-| [lib]/ReinforcerKit.a   |     1696(+1696) |   456(+456) |         0(+0) |
+| [lib]/ReinforcerKit.a   |     1696(+1696) |   460(+460) |         0(+0) |
 | [lib]/Utils.a           |         48(+48) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a        |     1004(+1004) |       0(+0) |       36(+36) |
 | [lib]/c.a               |   40920(+40920) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |     2092(+2092) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   76738(+76738) |   464(+464) | 10413(+10413) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |   10716(+10716) |     16(+16) |     204(+204) |
 | __/__                   |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj            |     6292(+6292) |       8(+8) | 14204(+14204) |
-| Subtotals               | 184916(+184916) | 3536(+3536) | 55840(+55840) |
-Total Static RAM memory (data + bss): 59376(+59376) bytes
-Total Flash memory (text + data): 188452(+188452) bytes
+| Subtotals               | 185364(+185364) | 3536(+3536) | 55848(+55848) |
+Total Static RAM memory (data + bss): 59384(+59384) bytes
+Total Flash memory (text + data): 188900(+188900) bytes
 
Flash used: 214484 (10%) / total: 2097152
SRAM used: 59704 (11%) / total: 524288

@github-actions
Copy link

github-actions bot commented Dec 15, 2022

File comparision analysis report

🔖 Info

Target Flash Used (%) Flash Available (%) Static RAM (%)
bootloader 170348 (64%) 91796 (35%) 30952 (5%)
os 427608 (27%) 1137064 (72%) 82272 (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 ✔️ 427152 (20%)
427608 (20%)
📈
456 (0%)
82248 (15%)
82272 (15%)
📈
24 (0%)
bootloader ✔️ 170348 (8%) ø 30952 (5%) ø
functional_ut_boost_ut ✔️ 394076 (18%) ø 20456 (3%) ø
functional_ut_core_imu ✔️ 377068 (17%) ø 20432 (3%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 360236 (17%) ø 20440 (3%) ø
functional_ut_deep_sleep_core_motor ✔️ 364476 (17%) ø 20480 (3%) ø
functional_ut_deep_sleep_core_pwm ✔️ 366612 (17%) ø 20480 (3%) ø
functional_ut_deep_sleep_log_kit ✔️ 352504 (16%) ø 20408 (3%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 354216 (16%) ø 20408 (3%) ø
functional_ut_file_manager ✔️ 374864 (17%) ø 20696 (3%) ø
functional_ut_imu_kit ✔️ 382560 (18%) ø 20424 (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 ✔️ 126924 (6%) ø 14600 (2%) ø
spike_lk_behavior_kit ✔️ 188616 (8%)
189000 (9%)
📈
384 (0%)
48064 (9%)
48080 (9%)
📈
16 (0%)
spike_lk_ble ✔️ 229600 (10%) ø 28472 (5%) ø
spike_lk_bluetooth ✔️ 82948 (3%) ø 11544 (2%) ø
spike_lk_cg_animations ✔️ 145848 (6%) ø 46528 (8%) ø
spike_lk_color_kit ✔️ 65776 (3%) ø 13744 (2%) ø
spike_lk_command_kit ✔️ 208248 (9%)
208632 (9%)
📈
384 (0%)
51928 (9%)
51936 (9%)
📈
8 (0%)
spike_lk_config_kit ✔️ 127268 (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 ✔️ 139336 (6%) ø 14440 (2%) ø
spike_lk_file_reception ✔️ 335792 (16%) ø 27792 (5%) ø
spike_lk_flash_memory ✔️ 63880 (3%) ø 11448 (2%) ø
spike_lk_fs ✔️ 175144 (8%) ø 47904 (9%) ø
spike_lk_imu_kit ✔️ 87700 (4%) ø 12176 (2%) ø
spike_lk_lcd ✔️ 162732 (7%) ø 46664 (8%) ø
spike_lk_led_kit ✔️ 102976 (4%)
103360 (4%)
📈
384 (0%)
14520 (2%)
14528 (2%)
📈
8 (0%)
spike_lk_log_kit ✔️ 63288 (3%) ø 12256 (2%) ø
spike_lk_motion_kit ✔️ 101148 (4%) ø 14184 (2%) ø
spike_lk_motors ✔️ 62864 (2%) ø 11488 (2%) ø
spike_lk_qdac ✔️ 78628 (3%) ø 11816 (2%) ø
spike_lk_reinforcer ✔️ 205480 (9%)
205864 (9%)
📈
384 (0%)
49120 (9%)
49128 (9%)
📈
8 (0%)
spike_lk_rfid ✔️ 78956 (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 ✔️ 133020 (6%) ø 14304 (2%) ø
spike_lk_ticker_timeout ✔️ 69052 (3%) ø 11632 (2%) ø
spike_lk_update_process_app_base ✔️ 145100 (6%) ø 15584 (2%) ø
spike_lk_update_process_app_update ✔️ 77632 (3%) ø 12352 (2%) ø
spike_lk_watchdog_isr ✔️ 80068 (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
LekaOS (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2022-12-16 17:28:35.492525959 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2022-12-16 17:28:35.928530777 +0000
@@ -1,53 +1,53 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       640(+640) |     18(+18) |     215(+215) |
+| [fill]                     |       644(+644) |     18(+18) |     221(+221) |
 | [lib]/ActivityKit.a        |   10522(+10522) |       0(+0) |         0(+0) |
 | [lib]/BLEKit.a             |     1436(+1436) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a         |       324(+324) |       0(+0) |         0(+0) |
-| [lib]/BehaviorKit.a        |     1880(+1880) |   456(+456) |         0(+0) |
+| [lib]/BehaviorKit.a        |     1880(+1880) |   460(+460) |         0(+0) |
 | [lib]/ColorKit.a           |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CommandKit.a         |     1120(+1120) |       0(+0) |         0(+0) |
 | [lib]/CoreBattery.a        |       472(+472) |       0(+0) |         0(+0) |
 | [lib]/CoreBufferedSerial.a |         78(+78) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |       116(+116) |       0(+0) |         0(+0) |
 | [lib]/CoreFlashMemory.a    |       546(+546) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     5018(+5018) |       0(+0) |         0(+0) |
 | [lib]/CoreMCU.a            |         16(+16) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CoreMutex.a          |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreQSPI.a           |       160(+160) |       0(+0) |         0(+0) |
 | [lib]/CoreRFIDReader.a     |       556(+556) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a            |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a       |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a          |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a    |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a       |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a     |     1756(+1756) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a        |       822(+822) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |     1416(+1416) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a             |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a             |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a          |       726(+726) |       0(+0) |         0(+0) |
 | [lib]/RFIDKit.a            |     1054(+1054) |       0(+0) |         8(+8) |
-| [lib]/ReinforcerKit.a      |     1242(+1242) |   456(+456) |         0(+0) |
+| [lib]/ReinforcerKit.a      |     1242(+1242) |   460(+460) |         0(+0) |
 | [lib]/SerialNumberKit.a    |       584(+584) |       0(+0) |         0(+0) |
 | [lib]/Utils.a              |         82(+82) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a           |       820(+820) |       0(+0) |       36(+36) |
 | [lib]/bootutil.a           |     1362(+1362) |     12(+12) |     132(+132) |
 | [lib]/c.a                  |   49944(+49944) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a                |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     2092(+2092) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 179856(+179856) |   773(+773) | 19667(+19667) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   10668(+10668) |     16(+16) |     204(+204) |
 | __/__                      |       108(+108) |       0(+0) |         0(+0) |
-| main.cpp.obj               |   70884(+70884) |   108(+108) | 26307(+26307) |
-| Subtotals                  | 383140(+383140) | 4416(+4416) | 77504(+77504) |
-Total Static RAM memory (data + bss): 81920(+81920) bytes
-Total Flash memory (text + data): 387556(+387556) bytes
+| main.cpp.obj               |   70926(+70926) |   108(+108) | 26307(+26307) |
+| Subtotals                  | 383588(+383588) | 4424(+4424) | 77520(+77520) |
+Total Static RAM memory (data + bss): 81944(+81944) bytes
+Total Flash memory (text + data): 388012(+388012) bytes
 
Flash used: 427608 (20%) / total: 2097152
SRAM used: 82272 (15%) / total: 524288
spike_lk_behavior_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_behavior_kit-map.txt	2022-12-16 17:28:45.428637406 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_behavior_kit-map.txt	2022-12-16 17:28:45.680640258 +0000
@@ -1,29 +1,29 @@
 | Module                 |           .text |       .data |          .bss |
 |------------------------|-----------------|-------------|---------------|
-| [fill]                 |       252(+252) |     15(+15) |       36(+36) |
-| [lib]/BehaviorKit.a    |     1276(+1276) |   456(+456) |         0(+0) |
+| [fill]                 |       234(+234) |     11(+11) |       42(+42) |
+| [lib]/BehaviorKit.a    |     1276(+1276) |   460(+460) |         0(+0) |
 | [lib]/ColorKit.a       |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a      |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a        |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a        |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a   |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a      |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/EventLoopKit.a   |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a |     1238(+1238) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a     |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a         |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a         |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/VideoKit.a       |     1004(+1004) |       0(+0) |       36(+36) |
 | [lib]/c.a              |   42000(+42000) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a            |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a              |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a |   64752(+64752) |   464(+464) | 10261(+10261) |
 | [lib]/misc             |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a         |   10296(+10296) |     16(+16) |     204(+204) |
 | __/__                  |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj           |     3698(+3698) |       8(+8) |   2736(+2736) |
-| Subtotals              | 161412(+161412) | 3536(+3536) | 44208(+44208) |
-Total Static RAM memory (data + bss): 47744(+47744) bytes
-Total Flash memory (text + data): 164948(+164948) bytes
+| Subtotals              | 161796(+161796) | 3536(+3536) | 44224(+44224) |
+Total Static RAM memory (data + bss): 47760(+47760) bytes
+Total Flash memory (text + data): 165332(+165332) bytes
 
Flash used: 189000 (9%) / total: 2097152
SRAM used: 48080 (9%) / total: 524288
spike_lk_command_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_command_kit-map.txt	2022-12-16 17:28:47.952666325 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_command_kit-map.txt	2022-12-16 17:28:48.216669451 +0000
@@ -1,36 +1,36 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       288(+288) |     17(+17) |       36(+36) |
+| [fill]                  |       270(+270) |     13(+13) |       34(+34) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CommandKit.a      |     1152(+1152) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a         |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a         |     5018(+5018) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a    |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a       |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |     1238(+1238) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a          |     1416(+1416) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a          |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a       |       726(+726) |       0(+0) |         0(+0) |
-| [lib]/ReinforcerKit.a   |     1726(+1726) |   456(+456) |         0(+0) |
+| [lib]/ReinforcerKit.a   |     1726(+1726) |   460(+460) |         0(+0) |
 | [lib]/Utils.a           |         82(+82) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a        |     1004(+1004) |       0(+0) |       36(+36) |
 | [lib]/c.a               |   42000(+42000) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |     1732(+1732) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   71366(+71366) |   464(+464) | 10281(+10281) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |   10296(+10296) |     16(+16) |     204(+204) |
 | __/__                   |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj            |     5320(+5320) |   278(+278) |   6308(+6308) |
-| Subtotals               | 180100(+180100) | 3808(+3808) | 47800(+47800) |
-Total Static RAM memory (data + bss): 51608(+51608) bytes
-Total Flash memory (text + data): 183908(+183908) bytes
+| Subtotals               | 180484(+180484) | 3808(+3808) | 47808(+47808) |
+Total Static RAM memory (data + bss): 51616(+51616) bytes
+Total Flash memory (text + data): 184292(+184292) bytes
 
Flash used: 208632 (9%) / total: 2097152
SRAM used: 51936 (9%) / total: 524288
spike_lk_led_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_led_kit-map.txt	2022-12-16 17:28:53.212728611 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_led_kit-map.txt	2022-12-16 17:28:53.420731074 +0000
@@ -1,21 +1,21 @@
 | Module                 |         .text |       .data |          .bss |
 |------------------------|---------------|-------------|---------------|
-| [fill]                 |     182(+182) |       8(+8) |       26(+26) |
+| [fill]                 |     164(+164) |       4(+4) |       24(+24) |
 | [lib]/ColorKit.a       |     864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a |     138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a        |       28(+28) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a   |     366(+366) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a     |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a         | 18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a         | 19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/c.a              | 26088(+26088) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a            |   6924(+6924) |       0(+0) |         0(+0) |
 | [lib]/m.a              |     204(+204) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a | 29346(+29346) |   444(+444) |   9946(+9946) |
 | [lib]/misc             |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |       32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a         |   5444(+5444) |       8(+8) |       44(+44) |
-| main.cpp.obj           |   3502(+3502) |   456(+456) |     728(+728) |
-| Subtotals              | 92068(+92068) | 3392(+3392) | 10840(+10840) |
-Total Static RAM memory (data + bss): 14232(+14232) bytes
-Total Flash memory (text + data): 95460(+95460) bytes
+| main.cpp.obj           |   3502(+3502) |   460(+460) |     728(+728) |
+| Subtotals              | 92452(+92452) | 3392(+3392) | 10848(+10848) |
+Total Static RAM memory (data + bss): 14240(+14240) bytes
+Total Flash memory (text + data): 95844(+95844) bytes
 
Flash used: 103360 (4%) / total: 2097152
SRAM used: 14528 (2%) / total: 524288
spike_lk_reinforcer (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_reinforcer-map.txt	2022-12-16 17:28:55.412754523 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_reinforcer-map.txt	2022-12-16 17:28:55.676757354 +0000
@@ -1,34 +1,34 @@
 | Module                 |           .text |       .data |          .bss |
 |------------------------|-----------------|-------------|---------------|
-| [fill]                 |       294(+294) |     15(+15) |       44(+44) |
+| [fill]                 |       276(+276) |     11(+11) |       42(+42) |
 | [lib]/ColorKit.a       |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a        |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a        |     5018(+5018) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a      |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a        |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a        |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a   |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a      |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/EventLoopKit.a   |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a |     1238(+1238) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a     |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a         |     1416(+1416) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a         |   18668(+18668) |       0(+0) |       10(+10) |
+| [lib]/LedKit.a         |   19070(+19070) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a      |       726(+726) |       0(+0) |         0(+0) |
-| [lib]/ReinforcerKit.a  |     1696(+1696) |   456(+456) |         0(+0) |
+| [lib]/ReinforcerKit.a  |     1696(+1696) |   460(+460) |         0(+0) |
 | [lib]/Utils.a          |         48(+48) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a       |     1004(+1004) |       0(+0) |       36(+36) |
 | [lib]/c.a              |   42000(+42000) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a            |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a              |     1732(+1732) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a |   71366(+71366) |   464(+464) | 10281(+10281) |
 | [lib]/misc             |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a         |   10296(+10296) |     16(+16) |     204(+204) |
 | __/__                  |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj           |     4234(+4234) |       8(+8) |   3764(+3764) |
-| Subtotals              | 177796(+177796) | 3536(+3536) | 45264(+45264) |
-Total Static RAM memory (data + bss): 48800(+48800) bytes
-Total Flash memory (text + data): 181332(+181332) bytes
+| Subtotals              | 178180(+178180) | 3536(+3536) | 45272(+45272) |
+Total Static RAM memory (data + bss): 48808(+48808) bytes
+Total Flash memory (text + data): 181716(+181716) bytes
 
Flash used: 205864 (9%) / total: 2097152
SRAM used: 49128 (9%) / total: 524288

@codecov
Copy link

codecov bot commented Dec 15, 2022

Codecov Report

Merging #1218 (f6ba849) into develop (fa492ba) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head f6ba849 differs from pull request most recent head 8c04035. Consider uploading reports for the commit 8c04035 to get more accurate results

@@           Coverage Diff            @@
##           develop    #1218   +/-   ##
========================================
  Coverage    96.13%   96.13%           
========================================
  Files          146      146           
  Lines         3570     3575    +5     
========================================
+ Hits          3432     3437    +5     
  Misses         138      138           
Impacted Files Coverage Δ
libs/RobotKit/include/RobotController.h 94.00% <100.00%> (+0.11%) ⬆️

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

@ladislas ladislas added the 01 - type: task Something to do label Dec 15, 2022
@ladislas ladislas added this to the v1.3.0 milestone Dec 15, 2022
Copy link
Member

@ladislas ladislas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM besides stage naming 👍

libs/LedKit/include/animations/BlinkOnCharge.h Outdated Show resolved Hide resolved
@HPezz HPezz force-pushed the hugo/feature/Change-animation-blinkOnCharge branch from 21d767a to 1f5737d Compare December 16, 2022 09:51
Copy link
Member

@YannLocatelli YannLocatelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a charge notion in bleConnection is not good, and I just noticed that tests mention a condition on state connection or not: charging

State machine is composite, in the ideology to differentiate connection and robot states. So there are kind of not related.

Moreover Behaviors should not be aware of the state.

--

I don't have solution yet, I need some time to think about it.

libs/BehaviorKit/source/BehaviorKit.cpp Outdated Show resolved Hide resolved
@HPezz HPezz force-pushed the hugo/feature/Change-animation-blinkOnCharge branch from 1f5737d to 3cf8575 Compare December 16, 2022 11:18
Copy link
Member

@YannLocatelli YannLocatelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A typo + missing case

libs/BehaviorKit/tests/BehaviorKit_test.cpp Outdated Show resolved Hide resolved
libs/RobotKit/include/RobotController.h Show resolved Hide resolved
@HPezz HPezz force-pushed the hugo/feature/Change-animation-blinkOnCharge branch from 3cf8575 to f6ba849 Compare December 16, 2022 12:30
@YannLocatelli YannLocatelli force-pushed the hugo/feature/Change-animation-blinkOnCharge branch 2 times, most recently from 2cabce6 to 2d3b6b4 Compare December 16, 2022 13:08
@YannLocatelli YannLocatelli force-pushed the hugo/feature/Change-animation-blinkOnCharge branch from 2d3b6b4 to e28e23f Compare December 16, 2022 13:20
@HPezz HPezz force-pushed the hugo/feature/Change-animation-blinkOnCharge branch from e28e23f to 8c04035 Compare December 16, 2022 16:44
@ladislas ladislas merged commit a794de9 into develop Dec 16, 2022
@ladislas ladislas deleted the hugo/feature/Change-animation-blinkOnCharge branch December 16, 2022 16:48
@sonarcloud
Copy link

sonarcloud bot commented Dec 16, 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

100.0% 100.0% Coverage
0.0% 0.0% Duplication

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.

3 participants