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

🐛 (rfid): Callback with copy of rfid::Tag #1303

Closed
wants to merge 1 commit into from

Conversation

YannLocatelli
Copy link
Member

@YannLocatelli YannLocatelli commented Feb 24, 2023

Validation

  • LekaOS

@YannLocatelli YannLocatelli added the 01 - type: task Something to do label Feb 24, 2023
@YannLocatelli YannLocatelli added this to the v1.4.0 milestone Feb 24, 2023
@YannLocatelli YannLocatelli self-assigned this Feb 24, 2023
@github-actions
Copy link

github-actions bot commented Feb 24, 2023

Version comparison

- Version Same as filename Same as os_version
os 1.3.0+1677258578 ✔️ ✔️
firmware
(os + bootloader)
1.3.0+1677258578 ✔️ ✔️

@github-actions
Copy link

File comparision analysis report

🔖 Info

  • base: develop / eef5ae5 + mbed-os@master+fixes+gcc-11-support + -std=c++20
  • head: yann/bug-fix/rc/rfid-crash / eb82b51 + mbed-os@master+fixes+gcc-11-support + -std=c++20
  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: ON
Target Flash Used (base/head) Fash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 183692 (70%) ø 78452 (29%)
78452 (29%)
41664 (7%) ø
os 507436 (32%)
508012 (32%)
📈
+576 (+0%)
1057236 (67%)
1056660 (67%)
95104 (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 |

📝 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 ✔️ 507436 (24%)
508012 (24%)
📈
+576 (+0%)
95104 (18%) ø
bootloader ✔️ 183692 (8%) ø 41664 (7%) ø
functional_ut_boost_ut ✔️ 409276 (19%) ø 30608 (5%) ø
functional_ut_core_imu ✔️ 385140 (18%) ø 31120 (5%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 368332 (17%) ø 30560 (5%) ø
functional_ut_deep_sleep_core_motor ✔️ 376140 (17%) ø 30632 (5%) ø
functional_ut_deep_sleep_core_pwm ✔️ 378356 (18%) ø 30632 (5%) ø
functional_ut_deep_sleep_log_kit ✔️ 365268 (17%) ø 30976 (5%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 366712 (17%) ø 30560 (5%) ø
functional_ut_file_manager ✔️ 388092 (18%) ø 30856 (5%) ø
functional_ut_firmware_kit ✔️ 379116 (18%) ø 30848 (5%) ø
functional_ut_imu_kit ✔️ 388896 (18%) ø 31296 (5%) ø
functional_ut_io_expander ✔️ 371176 (17%) ø 30576 (5%) ø
functional_ut_qdac ✔️ 372344 (17%) ø 30576 (5%) ø
spike_lk_audio ✔️ 137724 (6%) ø 25168 (4%) ø
spike_lk_behavior_kit ✔️ 198500 (9%) ø 58672 (11%) ø
spike_lk_ble ✔️ 237980 (11%) ø 39416 (7%) ø
spike_lk_bluetooth ✔️ 92364 (4%) ø 22224 (4%) ø
spike_lk_cg_animations ✔️ 153672 (7%) ø 57224 (10%) ø
spike_lk_color_kit ✔️ 88544 (4%) ø 24376 (4%) ø
spike_lk_command_kit ✔️ 229972 (10%) ø 63960 (12%) ø
spike_lk_config_kit ✔️ 139780 (6%) ø 25184 (4%) ø
spike_lk_coreled ✔️ 88108 (4%) ø 24264 (4%) ø
spike_lk_core_touch_sensor ✔️ 93164 (4%) ø 22824 (4%) ø
spike_lk_event_queue ✔️ 84152 (4%) ø 22904 (4%) ø
spike_lk_file_manager_kit ✔️ 154560 (7%) ø 25520 (4%) ø
spike_lk_file_reception ✔️ 339964 (16%) ø 38448 (7%) ø
spike_lk_flash_memory ✔️ 86776 (4%) ø 22216 (4%) ø
spike_lk_fs ✔️ 178228 (8%) ø 57536 (10%) ø
spike_lk_imu_kit ✔️ 107280 (5%) ø 23728 (4%) ø
spike_lk_lcd ✔️ 173500 (8%) ø 57520 (10%) ø
spike_lk_led_kit ✔️ 115204 (5%) ø 25104 (4%) ø
spike_lk_log_kit ✔️ 84776 (4%) ø 23408 (4%) ø
spike_lk_motion_kit ✔️ 117008 (5%)
117200 (5%)
📈
+192 (+0%)
25952 (4%) ø
spike_lk_motors ✔️ 86336 (4%) ø 22248 (4%) ø
spike_lk_qdac ✔️ 91796 (4%) ø 22768 (4%) ø
spike_lk_reinforcer ✔️ 225428 (10%) ø 60640 (11%) ø
spike_lk_rfid ✔️ 84216 (4%)
84408 (4%)
📈
+192 (+0%)
22184 (4%) ø
spike_lk_sensors_battery ✔️ 87376 (4%) ø 23312 (4%) ø
spike_lk_sensors_imu_lsm6dsox ✔️ 98624 (4%) ø 23536 (4%) ø
spike_lk_sensors_imu_lsm6dsox_fusion_calibration ✔️ 105064 (5%) ø 23104 (4%) ø
spike_lk_sensors_light ✔️ 84072 (4%) ø 22216 (4%) ø
spike_lk_sensors_microphone ✔️ 84824 (4%) ø 22216 (4%) ø
spike_lk_sensors_temperature_humidity ✔️ 90616 (4%) ø 22192 (4%) ø
spike_lk_serial_number ✔️ 145028 (6%) ø 25256 (4%) ø
spike_lk_ticker_timeout ✔️ 82712 (3%) ø 22232 (4%) ø
spike_lk_touch_sensor_kit ✔️ 96668 (4%) ø 23392 (4%) ø
spike_lk_update_process_app_base ✔️ 157932 (7%) ø 26288 (5%) ø
spike_lk_update_process_app_update ✔️ 100456 (4%) ø 23240 (4%) ø
spike_lk_watchdog_isr ✔️ 87520 (4%)
87712 (4%)
📈
+192 (+0%)
24136 (4%) ø
spike_lk_wifi ✔️ 130984 (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	2023-02-24 14:36:37.196644895 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/LekaOS-map.txt	2023-02-24 14:36:37.568645491 +0000
@@ -1,55 +1,55 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       624(+624) |     10(+10) |     271(+271) |
-| [lib]/ActivityKit.a        |   10590(+10590) |       0(+0) |         0(+0) |
+| [fill]                     |       654(+654) |     10(+10) |     271(+271) |
+| [lib]/ActivityKit.a        |   10964(+10964) |       0(+0) |         0(+0) |
 | [lib]/BLEKit.a             |     1476(+1476) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a         |       324(+324) |       0(+0) |         0(+0) |
 | [lib]/BehaviorKit.a        |     1652(+1652) |   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        |       544(+544) |       0(+0) |         0(+0) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       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            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       118(+118) |       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     |       580(+580) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |       600(+600) |       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     |     2294(+2294) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a        |       944(+944) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       768(+768) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a             |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a          |       838(+838) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |     1054(+1054) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |     1206(+1206) |       0(+0) |         8(+8) |
 | [lib]/ReinforcerKit.a      |     1242(+1242) |   460(+460) |         0(+0) |
 | [lib]/SerialNumberKit.a    |       584(+584) |       0(+0) |         0(+0) |
 | [lib]/Utils.a              |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a           |       686(+686) |       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                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5368(+5368) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 181458(+181458) |   773(+773) | 19755(+19755) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   12012(+12012) |     16(+16) |     204(+204) |
 | __/__                      |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj               | 138742(+138742) |   108(+108) | 38837(+38837) |
-| Subtotals                  | 460976(+460976) | 4416(+4416) | 90352(+90352) |
+| Subtotals                  | 461552(+461552) | 4416(+4416) | 90352(+90352) |
 Total Static RAM memory (data + bss): 94768(+94768) bytes
-Total Flash memory (text + data): 465392(+465392) bytes
+Total Flash memory (text + data): 465968(+465968) bytes
 
Flash used: 508012 (24%) / total: 2097152
SRAM used: 95104 (18%) / total: 524288
spike_lk_motion_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_motion_kit-map.txt	2023-02-24 14:36:53.128670212 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_motion_kit-map.txt	2023-02-24 14:36:53.300670522 +0000
@@ -1,32 +1,32 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       188(+188) |       8(+8) |       34(+34) |
+| [fill]                     |       208(+208) |       8(+8) |       34(+34) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       222(+222) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |       616(+616) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |       636(+636) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a       |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       768(+768) |       0(+0) |     164(+164) |
 | [lib]/MotionKit.a          |       884(+884) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |     1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |     1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  |   25048(+25048) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5164(+5164) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     |   42828(+42828) |   444(+444) |   8860(+8860) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |     5424(+5424) |       8(+8) |       44(+44) |
 | main.cpp.obj               |     4250(+4250) |       0(+0) | 13524(+13524) |
-| Subtotals                  | 104496(+104496) | 2936(+2936) | 22720(+22720) |
+| Subtotals                  | 104688(+104688) | 2936(+2936) | 22720(+22720) |
 Total Static RAM memory (data + bss): 25656(+25656) bytes
-Total Flash memory (text + data): 107432(+107432) bytes
+Total Flash memory (text + data): 107624(+107624) bytes
 
Flash used: 117200 (5%) / total: 2097152
SRAM used: 25952 (4%) / total: 524288
spike_lk_rfid (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_rfid-map.txt	2023-02-24 14:36:54.708673063 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_rfid-map.txt	2023-02-24 14:36:54.868673352 +0000
@@ -1,21 +1,21 @@
 | Module                     |         .text |       .data |          .bss |
 |----------------------------|---------------|-------------|---------------|
-| [fill]                     |     124(+124) |       8(+8) |       28(+28) |
+| [fill]                     |     144(+144) |       8(+8) |       28(+28) |
 | [lib]/CoreBufferedSerial.a |     250(+250) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |     694(+694) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |     714(+714) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |         8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |   1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |   1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  | 25048(+25048) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |   7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     360(+360) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 31650(+31650) |   444(+444) |   8226(+8226) |
 | [lib]/misc                 |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |       32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   5424(+5424) |       8(+8) |       44(+44) |
 | main.cpp.obj               |   2740(+2740) |       0(+0) | 10568(+10568) |
-| Subtotals                  | 74900(+74900) | 2936(+2936) | 18960(+18960) |
+| Subtotals                  | 75092(+75092) | 2936(+2936) | 18960(+18960) |
 Total Static RAM memory (data + bss): 21896(+21896) bytes
-Total Flash memory (text + data): 77836(+77836) bytes
+Total Flash memory (text + data): 78028(+78028) bytes
 
Flash used: 84408 (4%) / total: 2097152
SRAM used: 22184 (4%) / total: 524288
spike_lk_watchdog_isr (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_watchdog_isr-map.txt	2023-02-24 14:36:59.148681073 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_watchdog_isr-map.txt	2023-02-24 14:36:59.312681347 +0000
@@ -1,21 +1,21 @@
 | Module                     |         .text |       .data |          .bss |
 |----------------------------|---------------|-------------|---------------|
-| [fill]                     |     146(+146) |       8(+8) |       62(+62) |
+| [fill]                     |     166(+166) |       8(+8) |       62(+62) |
 | [lib]/CoreBufferedSerial.a |     196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |     616(+616) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |     636(+636) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |         8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |   1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |   1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  | 25048(+25048) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |   7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     360(+360) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 32840(+32840) |   444(+444) |   8242(+8242) |
 | [lib]/misc                 |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |       32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   5424(+5424) |       8(+8) |       44(+44) |
 | main.cpp.obj               |   4604(+4604) |       0(+0) | 12470(+12470) |
-| Subtotals                  | 77844(+77844) | 2936(+2936) | 20912(+20912) |
+| Subtotals                  | 78036(+78036) | 2936(+2936) | 20912(+20912) |
 Total Static RAM memory (data + bss): 23848(+23848) bytes
-Total Flash memory (text + data): 80780(+80780) bytes
+Total Flash memory (text + data): 80972(+80972) bytes
 
Flash used: 87712 (4%) / total: 2097152
SRAM used: 24136 (4%) / total: 524288

@github-actions
Copy link

File comparision analysis report

🔖 Info

  • base: develop / eef5ae5 + mbed-os@master+fixes+gcc-11-support + -std=c++20
  • head: yann/bug-fix/rc/rfid-crash / eb82b51 + mbed-os@master+fixes+gcc-11-support + -std=c++20
  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: OFF
Target Flash Used (base/head) Fash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 170888 (65%) ø 91256 (34%)
91256 (34%)
30960 (5%) ø
os 445880 (28%)
446456 (28%)
📈
+576 (+0%)
1118792 (71%)
1118216 (71%)
83880 (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 ✔️ 445880 (21%)
446456 (21%)
📈
+576 (+0%)
83880 (15%) ø
bootloader ✔️ 170888 (8%) ø 30960 (5%) ø
functional_ut_boost_ut ✔️ 394140 (18%) ø 20456 (3%) ø
functional_ut_core_imu ✔️ 377656 (18%) ø 20968 (3%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 360600 (17%) ø 20440 (3%) ø
functional_ut_deep_sleep_core_motor ✔️ 364540 (17%) ø 20480 (3%) ø
functional_ut_deep_sleep_core_pwm ✔️ 366676 (17%) ø 20480 (3%) ø
functional_ut_deep_sleep_log_kit ✔️ 352568 (16%) ø 20408 (3%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 354344 (16%) ø 20408 (3%) ø
functional_ut_file_manager ✔️ 376272 (17%) ø 20696 (3%) ø
functional_ut_firmware_kit ✔️ 367084 (17%) ø 20688 (3%) ø
functional_ut_imu_kit ✔️ 381348 (18%) ø 21144 (4%) ø
functional_ut_io_expander ✔️ 359576 (17%) ø 20424 (3%) ø
functional_ut_qdac ✔️ 360744 (17%) ø 20424 (3%) ø
spike_lk_audio ✔️ 127092 (6%) ø 14592 (2%) ø
spike_lk_behavior_kit ✔️ 189440 (9%) ø 48096 (9%) ø
spike_lk_ble ✔️ 229600 (10%) ø 28472 (5%) ø
spike_lk_bluetooth ✔️ 82948 (3%) ø 11544 (2%) ø
spike_lk_cg_animations ✔️ 145976 (6%) ø 46528 (8%) ø
spike_lk_color_kit ✔️ 65840 (3%) ø 13744 (2%) ø
spike_lk_command_kit ✔️ 220552 (10%) ø 52872 (10%) ø
spike_lk_config_kit ✔️ 127324 (6%) ø 14360 (2%) ø
spike_lk_coreled ✔️ 76292 (3%) ø 13688 (2%) ø
spike_lk_core_touch_sensor ✔️ 80508 (3%) ø 12248 (2%) ø
spike_lk_event_queue ✔️ 74800 (3%) ø 12072 (2%) ø
spike_lk_file_manager_kit ✔️ 139528 (6%) ø 14440 (2%) ø
spike_lk_file_reception ✔️ 336000 (16%) ø 27792 (5%) ø
spike_lk_flash_memory ✔️ 63880 (3%) ø 11448 (2%) ø
spike_lk_fs ✔️ 175668 (8%) ø 47928 (9%) ø
spike_lk_imu_kit ✔️ 98700 (4%) ø 13016 (2%) ø
spike_lk_lcd ✔️ 163352 (7%) ø 46680 (8%) ø
spike_lk_led_kit ✔️ 103424 (4%) ø 14528 (2%) ø
spike_lk_log_kit ✔️ 63288 (3%) ø 12256 (2%) ø
spike_lk_motion_kit ✔️ 111972 (5%)
112164 (5%)
📈
+192 (+0%)
15408 (2%) ø
spike_lk_motors ✔️ 62864 (2%) ø 11488 (2%) ø
spike_lk_qdac ✔️ 78852 (3%) ø 11808 (2%) ø
spike_lk_reinforcer ✔️ 217768 (10%) ø 50064 (9%) ø
spike_lk_rfid ✔️ 79084 (3%)
79276 (3%)
📈
+192 (+0%)
11504 (2%) ø
spike_lk_sensors_battery ✔️ 78388 (3%) ø 12600 (2%) ø
spike_lk_sensors_imu_lsm6dsox ✔️ 89468 (4%) ø 12824 (2%) ø
spike_lk_sensors_imu_lsm6dsox_fusion_calibration ✔️ 97916 (4%) ø 12952 (2%) ø
spike_lk_sensors_light ✔️ 60056 (2%) ø 11440 (2%) ø
spike_lk_sensors_microphone ✔️ 72496 (3%) ø 11504 (2%) ø
spike_lk_sensors_temperature_humidity ✔️ 67272 (3%) ø 11424 (2%) ø
spike_lk_serial_number ✔️ 133084 (6%) ø 14304 (2%) ø
spike_lk_ticker_timeout ✔️ 69052 (3%) ø 11632 (2%) ø
spike_lk_touch_sensor_kit ✔️ 87896 (4%) ø 12824 (2%) ø
spike_lk_update_process_app_base ✔️ 145620 (6%) ø 15576 (2%) ø
spike_lk_update_process_app_update ✔️ 77632 (3%) ø 12352 (2%) ø
spike_lk_watchdog_isr ✔️ 80196 (3%)
80388 (3%)
📈
+192 (+0%)
13288 (2%) ø
spike_lk_wifi ✔️ 116544 (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	2023-02-24 14:37:43.145042135 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2023-02-24 14:37:43.513040221 +0000
@@ -1,55 +1,55 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       658(+658) |     10(+10) |     250(+250) |
-| [lib]/ActivityKit.a        |   10590(+10590) |       0(+0) |         0(+0) |
+| [fill]                     |       688(+688) |     10(+10) |     250(+250) |
+| [lib]/ActivityKit.a        |   10964(+10964) |       0(+0) |         0(+0) |
 | [lib]/BLEKit.a             |     1476(+1476) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a         |       324(+324) |       0(+0) |         0(+0) |
 | [lib]/BehaviorKit.a        |     1652(+1652) |   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        |       544(+544) |       0(+0) |         0(+0) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       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            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       118(+118) |       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     |       580(+580) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |       600(+600) |       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     |     1786(+1786) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a        |       944(+944) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       768(+768) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a             |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a          |       838(+838) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |     1054(+1054) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |     1206(+1206) |       0(+0) |         8(+8) |
 | [lib]/ReinforcerKit.a      |     1242(+1242) |   460(+460) |         0(+0) |
 | [lib]/SerialNumberKit.a    |       584(+584) |       0(+0) |         0(+0) |
 | [lib]/Utils.a              |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a           |       700(+700) |       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                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5368(+5368) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 180206(+180206) |   773(+773) | 19667(+19667) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   11964(+11964) |     16(+16) |     204(+204) |
 | __/__                      |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj               |   78470(+78470) |   108(+108) | 27730(+27730) |
-| Subtotals                  | 400048(+400048) | 4416(+4416) | 79136(+79136) |
+| Subtotals                  | 400624(+400624) | 4416(+4416) | 79136(+79136) |
 Total Static RAM memory (data + bss): 83552(+83552) bytes
-Total Flash memory (text + data): 404464(+404464) bytes
+Total Flash memory (text + data): 405040(+405040) bytes
 
Flash used: 446456 (21%) / total: 2097152
SRAM used: 83880 (15%) / total: 524288
spike_lk_motion_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_motion_kit-map.txt	2023-02-24 14:37:58.636990427 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_motion_kit-map.txt	2023-02-24 14:37:58.808989878 +0000
@@ -1,31 +1,31 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       158(+158) |       8(+8) |       34(+34) |
+| [fill]                     |       178(+178) |       8(+8) |       34(+34) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         76(+76) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       222(+222) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |       616(+616) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |       636(+636) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a       |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       768(+768) |       0(+0) |     164(+164) |
 | [lib]/MotionKit.a          |       884(+884) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |     1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |     1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  |   26128(+26128) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     4804(+4804) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     |   42372(+42372) |   444(+444) |   8772(+8772) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |     4116(+4116) |       8(+8) |       28(+28) |
 | main.cpp.obj               |     1956(+1956) |       0(+0) |   3084(+3084) |
-| Subtotals                  | 101152(+101152) | 2936(+2936) | 12176(+12176) |
+| Subtotals                  | 101344(+101344) | 2936(+2936) | 12176(+12176) |
 Total Static RAM memory (data + bss): 15112(+15112) bytes
-Total Flash memory (text + data): 104088(+104088) bytes
+Total Flash memory (text + data): 104280(+104280) bytes
 
Flash used: 112164 (5%) / total: 2097152
SRAM used: 15408 (2%) / total: 524288
spike_lk_rfid (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_rfid-map.txt	2023-02-24 14:38:00.156985576 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_rfid-map.txt	2023-02-24 14:38:00.312985078 +0000
@@ -1,19 +1,19 @@
 | Module                     |         .text |       .data |        .bss |
 |----------------------------|---------------|-------------|-------------|
-| [fill]                     |     150(+150) |       8(+8) |     20(+20) |
+| [fill]                     |     170(+170) |       8(+8) |     20(+20) |
 | [lib]/CoreBufferedSerial.a |     250(+250) |       0(+0) |       0(+0) |
 | [lib]/CoreEventQueue.a     |     126(+126) |       0(+0) |       0(+0) |
-| [lib]/CoreRFIDReader.a     |     712(+712) |       0(+0) |       0(+0) |
+| [lib]/CoreRFIDReader.a     |     732(+732) |       0(+0) |       0(+0) |
 | [lib]/HelloWorld.a         |       94(+94) |       0(+0) |       0(+0) |
-| [lib]/RFIDKit.a            |   1046(+1046) |       0(+0) |       8(+8) |
+| [lib]/RFIDKit.a            |   1198(+1198) |       0(+0) |       8(+8) |
 | [lib]/c.a                  | 26128(+26128) | 2472(+2472) |     58(+58) |
 | [lib]/gcc.a                |   7084(+7084) |       0(+0) |       0(+0) |
 | [lib]/mbed-os-static.a     | 31142(+31142) |   444(+444) | 8138(+8138) |
 | [lib]/misc                 |     188(+188) |       4(+4) |     28(+28) |
 | [lib]/nosys.a              |       32(+32) |       0(+0) |       0(+0) |
 | [lib]/stdc++.a             |   4116(+4116) |       8(+8) |     28(+28) |
 | main.cpp.obj               |     360(+360) |       0(+0) |       0(+0) |
-| Subtotals                  | 71428(+71428) | 2936(+2936) | 8280(+8280) |
+| Subtotals                  | 71620(+71620) | 2936(+2936) | 8280(+8280) |
 Total Static RAM memory (data + bss): 11216(+11216) bytes
-Total Flash memory (text + data): 74364(+74364) bytes
+Total Flash memory (text + data): 74556(+74556) bytes
 
Flash used: 79276 (3%) / total: 2097152
SRAM used: 11504 (2%) / total: 524288
spike_lk_watchdog_isr (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_watchdog_isr-map.txt	2023-02-24 14:38:04.437053480 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_watchdog_isr-map.txt	2023-02-24 14:38:04.597053216 +0000
@@ -1,20 +1,20 @@
 | Module                     |         .text |       .data |          .bss |
 |----------------------------|---------------|-------------|---------------|
-| [fill]                     |     116(+116) |       8(+8) |       38(+38) |
+| [fill]                     |     136(+136) |       8(+8) |       38(+38) |
 | [lib]/CoreBufferedSerial.a |     196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |     126(+126) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |     616(+616) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |     636(+636) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |         8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |   1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |   1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  | 26128(+26128) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |   7084(+7084) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 31536(+31536) |   444(+444) |   8154(+8154) |
 | [lib]/misc                 |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |       32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   4116(+4116) |       8(+8) |       28(+28) |
 | main.cpp.obj               |   1230(+1230) |       0(+0) |   1750(+1750) |
-| Subtotals                  | 72516(+72516) | 2936(+2936) | 10064(+10064) |
+| Subtotals                  | 72708(+72708) | 2936(+2936) | 10064(+10064) |
 Total Static RAM memory (data + bss): 13000(+13000) bytes
-Total Flash memory (text + data): 75452(+75452) bytes
+Total Flash memory (text + data): 75644(+75644) bytes
 
Flash used: 80388 (3%) / total: 2097152
SRAM used: 13288 (2%) / total: 524288

@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

Merging #1303 (70d1a46) into develop (d39f4bd) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #1303   +/-   ##
========================================
  Coverage    98.73%   98.73%           
========================================
  Files          145      145           
  Lines         3729     3729           
========================================
  Hits          3682     3682           
  Misses          47       47           
Impacted Files Coverage Δ
...vers/CoreRFIDReader/include/CoreRFIDReaderCR95HF.h 100.00% <ø> (ø)
libs/RFIDKit/include/RFIDKit.h 100.00% <ø> (ø)
...ers/CoreRFIDReader/source/CoreRFIDReaderCR95HF.cpp 100.00% <100.00%> (ø)
libs/RFIDKit/source/RFIDKit.cpp 100.00% <100.00%> (ø)

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

@github-actions
Copy link

PR changes analysis report

📌 Info

  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: ON
base head
branch develop yann/bug-fix/rc/rfid-crash
sha d39f4bd 70d1a46
mbed mbed-os@master+fixes+gcc-11-support mbed-os@master+fixes+gcc-11-support
-std -std=c++20 -std=c++20

🤖 Firmware impact analysis

Target Flash Used (base/head) Fash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 183692 (70%) ø 78452 (29%)
78452 (29%)
41664 (7%) ø
os 507436 (32%)
508012 (32%)
📈
+576 (+0%)
1057236 (67%)
1056660 (67%)
95104 (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 |

🔬 Detailed impact analysis

Click to show detailed analysis for all targets
  • ✔️ - 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 ✔️ 507436 (24%)
508012 (24%)
📈
+576 (+0%)
95104 (18%) ø
bootloader ✔️ 183692 (8%) ø 41664 (7%) ø
functional_ut_boost_ut ✔️ 409276 (19%) ø 30608 (5%) ø
functional_ut_core_imu ✔️ 385140 (18%) ø 31120 (5%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 368332 (17%) ø 30560 (5%) ø
functional_ut_deep_sleep_core_motor ✔️ 376140 (17%) ø 30632 (5%) ø
functional_ut_deep_sleep_core_pwm ✔️ 378356 (18%) ø 30632 (5%) ø
functional_ut_deep_sleep_log_kit ✔️ 365268 (17%) ø 30976 (5%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 366712 (17%) ø 30560 (5%) ø
functional_ut_file_manager ✔️ 388092 (18%) ø 30856 (5%) ø
functional_ut_firmware_kit ✔️ 379116 (18%) ø 30848 (5%) ø
functional_ut_imu_kit ✔️ 388896 (18%) ø 31296 (5%) ø
functional_ut_io_expander ✔️ 371176 (17%) ø 30576 (5%) ø
functional_ut_qdac ✔️ 372344 (17%) ø 30576 (5%) ø
spike_lk_audio ✔️ 137724 (6%) ø 25168 (4%) ø
spike_lk_behavior_kit ✔️ 198500 (9%) ø 58672 (11%) ø
spike_lk_ble ✔️ 237980 (11%) ø 39416 (7%) ø
spike_lk_bluetooth ✔️ 92364 (4%) ø 22224 (4%) ø
spike_lk_cg_animations ✔️ 153672 (7%) ø 57224 (10%) ø
spike_lk_color_kit ✔️ 88544 (4%) ø 24376 (4%) ø
spike_lk_command_kit ✔️ 229972 (10%) ø 63960 (12%) ø
spike_lk_config_kit ✔️ 139780 (6%) ø 25184 (4%) ø
spike_lk_coreled ✔️ 88108 (4%) ø 24264 (4%) ø
spike_lk_core_touch_sensor ✔️ 93164 (4%) ø 22824 (4%) ø
spike_lk_event_queue ✔️ 84152 (4%) ø 22904 (4%) ø
spike_lk_file_manager_kit ✔️ 154560 (7%) ø 25520 (4%) ø
spike_lk_file_reception ✔️ 339964 (16%) ø 38448 (7%) ø
spike_lk_flash_memory ✔️ 86776 (4%) ø 22216 (4%) ø
spike_lk_fs ✔️ 178228 (8%) ø 57536 (10%) ø
spike_lk_imu_kit ✔️ 107280 (5%) ø 23728 (4%) ø
spike_lk_lcd ✔️ 173500 (8%) ø 57520 (10%) ø
spike_lk_led_kit ✔️ 115204 (5%) ø 25104 (4%) ø
spike_lk_log_kit ✔️ 84776 (4%) ø 23408 (4%) ø
spike_lk_motion_kit ✔️ 117008 (5%)
117200 (5%)
📈
+192 (+0%)
25952 (4%) ø
spike_lk_motors ✔️ 86336 (4%) ø 22248 (4%) ø
spike_lk_qdac ✔️ 91796 (4%) ø 22768 (4%) ø
spike_lk_reinforcer ✔️ 225428 (10%) ø 60640 (11%) ø
spike_lk_rfid ✔️ 84216 (4%)
84408 (4%)
📈
+192 (+0%)
22184 (4%) ø
spike_lk_sensors_battery ✔️ 87376 (4%) ø 23312 (4%) ø
spike_lk_sensors_imu_lsm6dsox ✔️ 98624 (4%) ø 23536 (4%) ø
spike_lk_sensors_imu_lsm6dsox_fusion_calibration ✔️ 105064 (5%) ø 23104 (4%) ø
spike_lk_sensors_light ✔️ 84072 (4%) ø 22216 (4%) ø
spike_lk_sensors_microphone ✔️ 84824 (4%) ø 22216 (4%) ø
spike_lk_sensors_temperature_humidity ✔️ 90616 (4%) ø 22192 (4%) ø
spike_lk_serial_number ✔️ 145028 (6%) ø 25256 (4%) ø
spike_lk_ticker_timeout ✔️ 82712 (3%) ø 22232 (4%) ø
spike_lk_touch_sensor_kit ✔️ 96668 (4%) ø 23392 (4%) ø
spike_lk_update_process_app_base ✔️ 157932 (7%) ø 26288 (5%) ø
spike_lk_update_process_app_update ✔️ 100456 (4%) ø 23240 (4%) ø
spike_lk_watchdog_isr ✔️ 87520 (4%)
87712 (4%)
📈
+192 (+0%)
24136 (4%) ø
spike_lk_wifi ✔️ 130984 (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

LekaOS (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/LekaOS-map.txt	2023-02-24 17:11:28.698242524 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/LekaOS-map.txt	2023-02-24 17:11:29.070242923 +0000
@@ -1,55 +1,55 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       624(+624) |     10(+10) |     271(+271) |
-| [lib]/ActivityKit.a        |   10590(+10590) |       0(+0) |         0(+0) |
+| [fill]                     |       654(+654) |     10(+10) |     271(+271) |
+| [lib]/ActivityKit.a        |   10964(+10964) |       0(+0) |         0(+0) |
 | [lib]/BLEKit.a             |     1476(+1476) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a         |       324(+324) |       0(+0) |         0(+0) |
 | [lib]/BehaviorKit.a        |     1652(+1652) |   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        |       544(+544) |       0(+0) |         0(+0) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       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            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       118(+118) |       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     |       580(+580) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |       600(+600) |       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     |     2294(+2294) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a        |       944(+944) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       768(+768) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a             |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a          |       838(+838) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |     1054(+1054) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |     1206(+1206) |       0(+0) |         8(+8) |
 | [lib]/ReinforcerKit.a      |     1242(+1242) |   460(+460) |         0(+0) |
 | [lib]/SerialNumberKit.a    |       584(+584) |       0(+0) |         0(+0) |
 | [lib]/Utils.a              |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a           |       686(+686) |       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                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5368(+5368) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 181458(+181458) |   773(+773) | 19755(+19755) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   12012(+12012) |     16(+16) |     204(+204) |
 | __/__                      |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj               | 138742(+138742) |   108(+108) | 38837(+38837) |
-| Subtotals                  | 460976(+460976) | 4416(+4416) | 90352(+90352) |
+| Subtotals                  | 461552(+461552) | 4416(+4416) | 90352(+90352) |
 Total Static RAM memory (data + bss): 94768(+94768) bytes
-Total Flash memory (text + data): 465392(+465392) bytes
+Total Flash memory (text + data): 465968(+465968) bytes
 
Flash used: 508012&nbsp;(24%) / total: 2097152
SRAM used: 95104&nbsp;(18%) / total: 524288
spike_lk_motion_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_motion_kit-map.txt	2023-02-24 17:11:44.794255822 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_motion_kit-map.txt	2023-02-24 17:11:44.966255989 +0000
@@ -1,32 +1,32 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       188(+188) |       8(+8) |       34(+34) |
+| [fill]                     |       208(+208) |       8(+8) |       34(+34) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       222(+222) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |       616(+616) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |       636(+636) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a       |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       768(+768) |       0(+0) |     164(+164) |
 | [lib]/MotionKit.a          |       884(+884) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |     1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |     1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  |   25048(+25048) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5164(+5164) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     |   42828(+42828) |   444(+444) |   8860(+8860) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |     5424(+5424) |       8(+8) |       44(+44) |
 | main.cpp.obj               |     4250(+4250) |       0(+0) | 13524(+13524) |
-| Subtotals                  | 104496(+104496) | 2936(+2936) | 22720(+22720) |
+| Subtotals                  | 104688(+104688) | 2936(+2936) | 22720(+22720) |
 Total Static RAM memory (data + bss): 25656(+25656) bytes
-Total Flash memory (text + data): 107432(+107432) bytes
+Total Flash memory (text + data): 107624(+107624) bytes
 
Flash used: 117200&nbsp;(5%) / total: 2097152
SRAM used: 25952&nbsp;(4%) / total: 524288
spike_lk_rfid (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_rfid-map.txt	2023-02-24 17:11:46.390257369 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_rfid-map.txt	2023-02-24 17:11:46.554257528 +0000
@@ -1,21 +1,21 @@
 | Module                     |         .text |       .data |          .bss |
 |----------------------------|---------------|-------------|---------------|
-| [fill]                     |     124(+124) |       8(+8) |       28(+28) |
+| [fill]                     |     144(+144) |       8(+8) |       28(+28) |
 | [lib]/CoreBufferedSerial.a |     250(+250) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |     694(+694) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |     714(+714) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |         8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |   1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |   1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  | 25048(+25048) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |   7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     360(+360) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 31650(+31650) |   444(+444) |   8226(+8226) |
 | [lib]/misc                 |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |       32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   5424(+5424) |       8(+8) |       44(+44) |
 | main.cpp.obj               |   2740(+2740) |       0(+0) | 10568(+10568) |
-| Subtotals                  | 74900(+74900) | 2936(+2936) | 18960(+18960) |
+| Subtotals                  | 75092(+75092) | 2936(+2936) | 18960(+18960) |
 Total Static RAM memory (data + bss): 21896(+21896) bytes
-Total Flash memory (text + data): 77836(+77836) bytes
+Total Flash memory (text + data): 78028(+78028) bytes
 
Flash used: 84408&nbsp;(4%) / total: 2097152
SRAM used: 22184&nbsp;(4%) / total: 524288
spike_lk_watchdog_isr (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_watchdog_isr-map.txt	2023-02-24 17:11:50.874259571 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_watchdog_isr-map.txt	2023-02-24 17:11:51.038259645 +0000
@@ -1,21 +1,21 @@
 | Module                     |         .text |       .data |          .bss |
 |----------------------------|---------------|-------------|---------------|
-| [fill]                     |     146(+146) |       8(+8) |       62(+62) |
+| [fill]                     |     166(+166) |       8(+8) |       62(+62) |
 | [lib]/CoreBufferedSerial.a |     196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |     616(+616) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |     636(+636) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |         8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |   1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |   1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  | 25048(+25048) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |   7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     360(+360) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 32840(+32840) |   444(+444) |   8242(+8242) |
 | [lib]/misc                 |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |       32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   5424(+5424) |       8(+8) |       44(+44) |
 | main.cpp.obj               |   4604(+4604) |       0(+0) | 12470(+12470) |
-| Subtotals                  | 77844(+77844) | 2936(+2936) | 20912(+20912) |
+| Subtotals                  | 78036(+78036) | 2936(+2936) | 20912(+20912) |
 Total Static RAM memory (data + bss): 23848(+23848) bytes
-Total Flash memory (text + data): 80780(+80780) bytes
+Total Flash memory (text + data): 80972(+80972) bytes
 
Flash used: 87712&nbsp;(4%) / total: 2097152
SRAM used: 24136&nbsp;(4%) / total: 524288

@sonarcloud
Copy link

sonarcloud bot commented Feb 24, 2023

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 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@github-actions
Copy link

PR changes analysis report

📌 Info

  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: OFF
base head
branch develop yann/bug-fix/rc/rfid-crash
sha d39f4bd 70d1a46
mbed mbed-os@master+fixes+gcc-11-support mbed-os@master+fixes+gcc-11-support
-std -std=c++20 -std=c++20

🤖 Firmware impact analysis

Target Flash Used (base/head) Fash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 170888 (65%) ø 91256 (34%)
91256 (34%)
30960 (5%) ø
os 445880 (28%)
446456 (28%)
📈
+576 (+0%)
1118792 (71%)
1118216 (71%)
83880 (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 |

🔬 Detailed impact analysis

Click to show detailed analysis for all targets
  • ✔️ - 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 ✔️ 445880 (21%)
446456 (21%)
📈
+576 (+0%)
83880 (15%) ø
bootloader ✔️ 170888 (8%) ø 30960 (5%) ø
functional_ut_boost_ut ✔️ 394140 (18%) ø 20456 (3%) ø
functional_ut_core_imu ✔️ 377656 (18%) ø 20968 (3%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 360600 (17%) ø 20440 (3%) ø
functional_ut_deep_sleep_core_motor ✔️ 364540 (17%) ø 20480 (3%) ø
functional_ut_deep_sleep_core_pwm ✔️ 366676 (17%) ø 20480 (3%) ø
functional_ut_deep_sleep_log_kit ✔️ 352568 (16%) ø 20408 (3%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 354344 (16%) ø 20408 (3%) ø
functional_ut_file_manager ✔️ 376272 (17%) ø 20696 (3%) ø
functional_ut_firmware_kit ✔️ 367084 (17%) ø 20688 (3%) ø
functional_ut_imu_kit ✔️ 381348 (18%) ø 21144 (4%) ø
functional_ut_io_expander ✔️ 359576 (17%) ø 20424 (3%) ø
functional_ut_qdac ✔️ 360744 (17%) ø 20424 (3%) ø
spike_lk_audio ✔️ 127092 (6%) ø 14592 (2%) ø
spike_lk_behavior_kit ✔️ 189440 (9%) ø 48096 (9%) ø
spike_lk_ble ✔️ 229600 (10%) ø 28472 (5%) ø
spike_lk_bluetooth ✔️ 82948 (3%) ø 11544 (2%) ø
spike_lk_cg_animations ✔️ 145976 (6%) ø 46528 (8%) ø
spike_lk_color_kit ✔️ 65840 (3%) ø 13744 (2%) ø
spike_lk_command_kit ✔️ 220552 (10%) ø 52872 (10%) ø
spike_lk_config_kit ✔️ 127324 (6%) ø 14360 (2%) ø
spike_lk_coreled ✔️ 76292 (3%) ø 13688 (2%) ø
spike_lk_core_touch_sensor ✔️ 80508 (3%) ø 12248 (2%) ø
spike_lk_event_queue ✔️ 74800 (3%) ø 12072 (2%) ø
spike_lk_file_manager_kit ✔️ 139528 (6%) ø 14440 (2%) ø
spike_lk_file_reception ✔️ 336000 (16%) ø 27792 (5%) ø
spike_lk_flash_memory ✔️ 63880 (3%) ø 11448 (2%) ø
spike_lk_fs ✔️ 175668 (8%) ø 47928 (9%) ø
spike_lk_imu_kit ✔️ 98700 (4%) ø 13016 (2%) ø
spike_lk_lcd ✔️ 163352 (7%) ø 46680 (8%) ø
spike_lk_led_kit ✔️ 103424 (4%) ø 14528 (2%) ø
spike_lk_log_kit ✔️ 63288 (3%) ø 12256 (2%) ø
spike_lk_motion_kit ✔️ 111972 (5%)
112164 (5%)
📈
+192 (+0%)
15408 (2%) ø
spike_lk_motors ✔️ 62864 (2%) ø 11488 (2%) ø
spike_lk_qdac ✔️ 78852 (3%) ø 11808 (2%) ø
spike_lk_reinforcer ✔️ 217768 (10%) ø 50064 (9%) ø
spike_lk_rfid ✔️ 79084 (3%)
79276 (3%)
📈
+192 (+0%)
11504 (2%) ø
spike_lk_sensors_battery ✔️ 78388 (3%) ø 12600 (2%) ø
spike_lk_sensors_imu_lsm6dsox ✔️ 89468 (4%) ø 12824 (2%) ø
spike_lk_sensors_imu_lsm6dsox_fusion_calibration ✔️ 97916 (4%) ø 12952 (2%) ø
spike_lk_sensors_light ✔️ 60056 (2%) ø 11440 (2%) ø
spike_lk_sensors_microphone ✔️ 72496 (3%) ø 11504 (2%) ø
spike_lk_sensors_temperature_humidity ✔️ 67272 (3%) ø 11424 (2%) ø
spike_lk_serial_number ✔️ 133084 (6%) ø 14304 (2%) ø
spike_lk_ticker_timeout ✔️ 69052 (3%) ø 11632 (2%) ø
spike_lk_touch_sensor_kit ✔️ 87896 (4%) ø 12824 (2%) ø
spike_lk_update_process_app_base ✔️ 145620 (6%) ø 15576 (2%) ø
spike_lk_update_process_app_update ✔️ 77632 (3%) ø 12352 (2%) ø
spike_lk_watchdog_isr ✔️ 80196 (3%)
80388 (3%)
📈
+192 (+0%)
13288 (2%) ø
spike_lk_wifi ✔️ 116544 (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

LekaOS (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2023-02-24 17:14:08.137488781 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2023-02-24 17:14:08.601490647 +0000
@@ -1,55 +1,55 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       658(+658) |     10(+10) |     250(+250) |
-| [lib]/ActivityKit.a        |   10590(+10590) |       0(+0) |         0(+0) |
+| [fill]                     |       688(+688) |     10(+10) |     250(+250) |
+| [lib]/ActivityKit.a        |   10964(+10964) |       0(+0) |         0(+0) |
 | [lib]/BLEKit.a             |     1476(+1476) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a         |       324(+324) |       0(+0) |         0(+0) |
 | [lib]/BehaviorKit.a        |     1652(+1652) |   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        |       544(+544) |       0(+0) |         0(+0) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       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            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       118(+118) |       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     |       580(+580) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |       600(+600) |       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     |     1786(+1786) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a        |       944(+944) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       768(+768) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a             |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a          |       838(+838) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |     1054(+1054) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |     1206(+1206) |       0(+0) |         8(+8) |
 | [lib]/ReinforcerKit.a      |     1242(+1242) |   460(+460) |         0(+0) |
 | [lib]/SerialNumberKit.a    |       584(+584) |       0(+0) |         0(+0) |
 | [lib]/Utils.a              |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a           |       700(+700) |       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                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5368(+5368) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 180206(+180206) |   773(+773) | 19667(+19667) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   11964(+11964) |     16(+16) |     204(+204) |
 | __/__                      |       108(+108) |       0(+0) |         0(+0) |
 | main.cpp.obj               |   78470(+78470) |   108(+108) | 27730(+27730) |
-| Subtotals                  | 400048(+400048) | 4416(+4416) | 79136(+79136) |
+| Subtotals                  | 400624(+400624) | 4416(+4416) | 79136(+79136) |
 Total Static RAM memory (data + bss): 83552(+83552) bytes
-Total Flash memory (text + data): 404464(+404464) bytes
+Total Flash memory (text + data): 405040(+405040) bytes
 
Flash used: 446456&nbsp;(21%) / total: 2097152
SRAM used: 83880&nbsp;(15%) / total: 524288
spike_lk_motion_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_motion_kit-map.txt	2023-02-24 17:14:27.726071919 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_motion_kit-map.txt	2023-02-24 17:14:27.938078097 +0000
@@ -1,31 +1,31 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       158(+158) |       8(+8) |       34(+34) |
+| [fill]                     |       178(+178) |       8(+8) |       34(+34) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         76(+76) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       222(+222) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |       616(+616) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |       636(+636) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a       |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       768(+768) |       0(+0) |     164(+164) |
 | [lib]/MotionKit.a          |       884(+884) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |     1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |     1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  |   26128(+26128) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     4804(+4804) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     |   42372(+42372) |   444(+444) |   8772(+8772) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |     4116(+4116) |       8(+8) |       28(+28) |
 | main.cpp.obj               |     1956(+1956) |       0(+0) |   3084(+3084) |
-| Subtotals                  | 101152(+101152) | 2936(+2936) | 12176(+12176) |
+| Subtotals                  | 101344(+101344) | 2936(+2936) | 12176(+12176) |
 Total Static RAM memory (data + bss): 15112(+15112) bytes
-Total Flash memory (text + data): 104088(+104088) bytes
+Total Flash memory (text + data): 104280(+104280) bytes
 
Flash used: 112164&nbsp;(5%) / total: 2097152
SRAM used: 15408&nbsp;(2%) / total: 524288
spike_lk_rfid (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_rfid-map.txt	2023-02-24 17:14:29.698129386 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_rfid-map.txt	2023-02-24 17:14:29.902135330 +0000
@@ -1,19 +1,19 @@
 | Module                     |         .text |       .data |        .bss |
 |----------------------------|---------------|-------------|-------------|
-| [fill]                     |     150(+150) |       8(+8) |     20(+20) |
+| [fill]                     |     170(+170) |       8(+8) |     20(+20) |
 | [lib]/CoreBufferedSerial.a |     250(+250) |       0(+0) |       0(+0) |
 | [lib]/CoreEventQueue.a     |     126(+126) |       0(+0) |       0(+0) |
-| [lib]/CoreRFIDReader.a     |     712(+712) |       0(+0) |       0(+0) |
+| [lib]/CoreRFIDReader.a     |     732(+732) |       0(+0) |       0(+0) |
 | [lib]/HelloWorld.a         |       94(+94) |       0(+0) |       0(+0) |
-| [lib]/RFIDKit.a            |   1046(+1046) |       0(+0) |       8(+8) |
+| [lib]/RFIDKit.a            |   1198(+1198) |       0(+0) |       8(+8) |
 | [lib]/c.a                  | 26128(+26128) | 2472(+2472) |     58(+58) |
 | [lib]/gcc.a                |   7084(+7084) |       0(+0) |       0(+0) |
 | [lib]/mbed-os-static.a     | 31142(+31142) |   444(+444) | 8138(+8138) |
 | [lib]/misc                 |     188(+188) |       4(+4) |     28(+28) |
 | [lib]/nosys.a              |       32(+32) |       0(+0) |       0(+0) |
 | [lib]/stdc++.a             |   4116(+4116) |       8(+8) |     28(+28) |
 | main.cpp.obj               |     360(+360) |       0(+0) |       0(+0) |
-| Subtotals                  | 71428(+71428) | 2936(+2936) | 8280(+8280) |
+| Subtotals                  | 71620(+71620) | 2936(+2936) | 8280(+8280) |
 Total Static RAM memory (data + bss): 11216(+11216) bytes
-Total Flash memory (text + data): 74364(+74364) bytes
+Total Flash memory (text + data): 74556(+74556) bytes
 
Flash used: 79276&nbsp;(3%) / total: 2097152
SRAM used: 11504&nbsp;(2%) / total: 524288
spike_lk_watchdog_isr (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_watchdog_isr-map.txt	2023-02-24 17:14:35.074285162 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_watchdog_isr-map.txt	2023-02-24 17:14:35.274290750 +0000
@@ -1,20 +1,20 @@
 | Module                     |         .text |       .data |          .bss |
 |----------------------------|---------------|-------------|---------------|
-| [fill]                     |     116(+116) |       8(+8) |       38(+38) |
+| [fill]                     |     136(+136) |       8(+8) |       38(+38) |
 | [lib]/CoreBufferedSerial.a |     196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |     126(+126) |       0(+0) |         0(+0) |
-| [lib]/CoreRFIDReader.a     |     616(+616) |       0(+0) |         0(+0) |
+| [lib]/CoreRFIDReader.a     |     636(+636) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |         8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/RFIDKit.a            |   1046(+1046) |       0(+0) |         8(+8) |
+| [lib]/RFIDKit.a            |   1198(+1198) |       0(+0) |         8(+8) |
 | [lib]/c.a                  | 26128(+26128) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |   7084(+7084) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 31536(+31536) |   444(+444) |   8154(+8154) |
 | [lib]/misc                 |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |       32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   4116(+4116) |       8(+8) |       28(+28) |
 | main.cpp.obj               |   1230(+1230) |       0(+0) |   1750(+1750) |
-| Subtotals                  | 72516(+72516) | 2936(+2936) | 10064(+10064) |
+| Subtotals                  | 72708(+72708) | 2936(+2936) | 10064(+10064) |
 Total Static RAM memory (data + bss): 13000(+13000) bytes
-Total Flash memory (text + data): 75452(+75452) bytes
+Total Flash memory (text + data): 75644(+75644) bytes
 
Flash used: 80388&nbsp;(3%) / total: 2097152
SRAM used: 13288&nbsp;(2%) / total: 524288

@YannLocatelli
Copy link
Member Author

Tested on robot (LekaOS): Fail.

Removing the BLE Service does not change the output, the robot has an HardFault when exiting activity with Dice.

@YannLocatelli
Copy link
Member Author

Activities use MagicCard by ref, it was removed but the issue still the same.

@YannLocatelli
Copy link
Member Author

Debugger does not work but an hypothesis is that callback in activity cannot go to the end due to ActivityKit define current_activity (pointer to activity) to nullptr before end of the callback.

Consider being in an Activity, the current callback use by RFIDKit onTagActivated is the one defined by the Activity (e.g. NumberRecognition).

Thread - CoreRFID
└── [RFIDKit] _on_tag_available_callback() (onTagActivated) (triggered from CoreRFID)
    └── [_current_activity] processCard(MagicCard::dice_roll)
        └── [_current_activity] _backup_callback(MagicCard::dice_roll)
            ├── [RobotController] onMagicCardAvailable(MagicCard::dice_roll)
            │   └── [RobotController] raiseAutonomousActivityModeRequested()
            │       └── RUN *
            └── [RobotController] _service_magic_card.setMagicCard(MagicCard::dice_roll) (BLE)

Thread - RobotController
└── *
    ├── [SM] stopAutonomousActivityMode()
    │   ├── [RobotController] _behaviorkit.stop()
    │   │   └── ...
    │   └── [RobotController] _activitykit.stop()
    │       ├── [ActivityKit] _current_activity->stop()
    │       │   └── [_current_activity] _rfidkit.onTagActivated(_backup_callback)
    │       └── [ActivityKit] _current_activity = nullptr
    └── [SM] startAutonomousActivityMode()
        └── ...

If _current_activity = nullptr happens before _service_magic_card.setMagicCard is finished then you might have an HardFault.

@YannLocatelli
Copy link
Member Author

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.

1 participant