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

ladislas/feature/ci functional system refactor #1469

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

ladislas
Copy link
Member

  • ✅ (functional): Rename erase_flash method
  • 🧑‍💻 (tools): Add flake8, pylintrc files
  • ♻️ (tests): Functional - refactor script w/ modern python

@ladislas ladislas self-assigned this Oct 29, 2024

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@ladislas ladislas force-pushed the ladislas/feature/ci-functional-system-refactor branch from 4dccd0e to 46981d6 Compare October 29, 2024 13:41

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@ladislas ladislas force-pushed the ladislas/feature/ci-functional-system-refactor branch from 5064f8c to 30c45f4 Compare October 29, 2024 15:24
Copy link

sonarcloud bot commented Oct 29, 2024

Copy link

📈 Changes Impact Analysis Report

📌 Info

  • toolchain: Arm GNU Toolchain 13.2.rel1 (Build arm-13.7) 13.2.1 20231009
  • enable_log_debug: ON
base head
branch develop ladislas/feature/ci-functional-system-refactor
sha c52d47c 30c45f4
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) Flash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 140408 (53%) ø 121736 (46%)
121736 (46%)
39760 (7%) ø
os 473004 (30%) ø 1091668 (69%)
1091668 (69%)
93976 (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 |

🔬 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 ✔️ 473004 (22%) ø 93976 (17%) ø
bootloader ✔️ 140408 (6%) ø 39760 (7%) ø
functional_ut_boost_ut ✔️ 275344 (13%) ø 29840 (5%) ø
functional_ut_core_imu ✔️ 264880 (12%) ø 29384 (5%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 249048 (11%) ø 29192 (5%) ø
functional_ut_deep_sleep_core_lcd ✔️ 278488 (13%) ø 61048 (11%) ø
functional_ut_deep_sleep_core_motor ✔️ 251320 (11%) ø 29200 (5%) ø
functional_ut_deep_sleep_core_pwm ✔️ 252360 (12%) ø 29264 (5%) ø
functional_ut_deep_sleep_imu ✔️ 264576 (12%) ø 30376 (5%) ø
functional_ut_deep_sleep_log_kit ✔️ 243432 (11%) ø 29384 (5%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 244952 (11%) ø 28920 (5%) ø
functional_ut_deep_sleep_rfid_kit ✔️ 253768 (12%) ø 30760 (5%) ø
functional_ut_file_manager ✔️ 261776 (12%) ø 29504 (5%) ø
functional_ut_firmware_kit ✔️ 255624 (12%) ø 29104 (5%) ø
functional_ut_imu_kit ✔️ 269024 (12%) ø 29512 (5%) ø
functional_ut_io_expander ✔️ 249416 (11%) ø 28808 (5%) ø
functional_ut_qdac ✔️ 250656 (11%) ø 28824 (5%) ø
spike_lk_activity_kit ✔️ 206068 (9%) ø 64656 (12%) ø
spike_lk_audio ✔️ 97016 (4%) ø 23040 (4%) ø
spike_lk_behavior_kit ✔️ 158196 (7%) ø 56544 (10%) ø
spike_lk_ble ✔️ 198336 (9%) ø 37784 (7%) ø
spike_lk_bluetooth ✔️ 50136 (2%) ø 20056 (3%) ø
spike_lk_cg_animations ✔️ 114296 (5%) ø 55072 (10%) ø
spike_lk_color_kit ✔️ 53112 (2%) ø 22216 (4%) ø
spike_lk_command_kit ✔️ 192100 (9%) ø 61640 (11%) ø
spike_lk_config_kit ✔️ 97948 (4%) ø 23048 (4%) ø
spike_lk_coreled ✔️ 52040 (2%) ø 22104 (4%) ø
spike_lk_core_touch_sensor ✔️ 57116 (2%) ø 20664 (3%) ø
spike_lk_event_queue ✔️ 48720 (2%) ø 20744 (3%) ø
spike_lk_file_manager_kit ✔️ 101916 (4%) ø 23392 (4%) ø
spike_lk_file_reception ✔️ 283124 (13%) ø 36296 (6%) ø
spike_lk_flash_memory ✔️ 51372 (2%) ø 20056 (3%) ø
spike_lk_fs ✔️ 133908 (6%) ø 55392 (10%) ø
spike_lk_imu_kit ✔️ 73864 (3%) ø 21592 (4%) ø
spike_lk_lcd ✔️ 133556 (6%) ø 55392 (10%) ø
spike_lk_led_kit ✔️ 80656 (3%) ø 22952 (4%) ø
spike_lk_log_kit ✔️ 49360 (2%) ø 21240 (4%) ø
spike_lk_motion_kit ✔️ 83208 (3%) ø 23856 (4%) ø
spike_lk_motors ✔️ 50868 (2%) ø 20088 (3%) ø
spike_lk_qdac ✔️ 55748 (2%) ø 20608 (3%) ø
spike_lk_reinforcer ✔️ 187332 (8%) ø 58304 (11%) ø
spike_lk_rfid ✔️ 49640 (2%) ø 20024 (3%) ø
spike_lk_sensors_battery ✔️ 52280 (2%) ø 21152 (4%) ø
spike_lk_sensors_imu ✔️ 65080 (3%) ø 21400 (4%) ø
spike_lk_sensors_imu_fusion_calibration ✔️ 72608 (3%) ø 20992 (4%) ø
spike_lk_sensors_light ✔️ 48712 (2%) ø 20056 (3%) ø
spike_lk_sensors_microphone ✔️ 49480 (2%) ø 20056 (3%) ø
spike_lk_sensors_temperature_humidity ✔️ 55304 (2%) ø 20032 (3%) ø
spike_lk_serial_number ✔️ 100568 (4%) ø 23112 (4%) ø
spike_lk_ticker_timeout ✔️ 47460 (2%) ø 20072 (3%) ø
spike_lk_touch_sensor_kit ✔️ 60640 (2%) ø 21224 (4%) ø
spike_lk_update_process_app_base ✔️ 115368 (5%) ø 24144 (4%) ø
spike_lk_update_process_app_update ✔️ 64128 (3%) ø 21072 (4%) ø
spike_lk_watchdog_isr ✔️ 52856 (2%) ø 22264 (4%) ø
spike_lk_wifi ✔️ 82004 (3%) ø 23360 (4%) ø
spike_mbed_blinky ✔️ 30972 (1%) ø 9392 (1%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 48856 (2%) ø 20920 (3%) ø
spike_stl_cxxsupport ✔️ 48080 (2%) ø 20144 (3%) ø

🗺️ Map files diff output

No differenes where found in map files.

Copy link

📈 Changes Impact Analysis Report

📌 Info

  • toolchain: Arm GNU Toolchain 13.2.rel1 (Build arm-13.7) 13.2.1 20231009
  • enable_log_debug: OFF
base head
branch develop ladislas/feature/ci-functional-system-refactor
sha c52d47c 30c45f4
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) Flash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 125988 (48%) ø 136156 (51%)
136156 (51%)
28808 (5%) ø
os 404332 (25%) ø 1160340 (74%)
1160340 (74%)
82616 (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 ✔️ 404332 (19%) ø 82616 (15%) ø
bootloader ✔️ 125988 (6%) ø 28808 (5%) ø
functional_ut_boost_ut ✔️ 259440 (12%) ø 19688 (3%) ø
functional_ut_core_imu ✔️ 256384 (12%) ø 19232 (3%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 240424 (11%) ø 19072 (3%) ø
functional_ut_deep_sleep_core_lcd ✔️ 266072 (12%) ø 50896 (9%) ø
functional_ut_deep_sleep_core_motor ✔️ 238920 (11%) ø 19048 (3%) ø
functional_ut_deep_sleep_core_pwm ✔️ 239952 (11%) ø 19112 (3%) ø
functional_ut_deep_sleep_imu ✔️ 255968 (12%) ø 20224 (3%) ø
functional_ut_deep_sleep_log_kit ✔️ 230232 (10%) ø 18816 (3%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 231944 (11%) ø 18768 (3%) ø
functional_ut_deep_sleep_rfid_kit ✔️ 248904 (11%) ø 20640 (3%) ø
functional_ut_file_manager ✔️ 249152 (11%) ø 19352 (3%) ø
functional_ut_firmware_kit ✔️ 242696 (11%) ø 18952 (3%) ø
functional_ut_imu_kit ✔️ 260488 (12%) ø 19360 (3%) ø
functional_ut_io_expander ✔️ 237008 (11%) ø 18656 (3%) ø
functional_ut_qdac ✔️ 238256 (11%) ø 18672 (3%) ø
spike_lk_activity_kit ✔️ 202204 (9%) ø 53992 (10%) ø
spike_lk_audio ✔️ 85420 (4%) ø 12456 (2%) ø
spike_lk_behavior_kit ✔️ 147912 (7%) ø 45960 (8%) ø
spike_lk_ble ✔️ 186836 (8%) ø 26696 (5%) ø
spike_lk_bluetooth ✔️ 37912 (1%) ø 9384 (1%) ø
spike_lk_cg_animations ✔️ 104536 (4%) ø 44376 (8%) ø
spike_lk_color_kit ✔️ 38180 (1%) ø 11640 (2%) ø
spike_lk_command_kit ✔️ 181728 (8%) ø 50560 (9%) ø
spike_lk_config_kit ✔️ 84528 (4%) ø 12216 (2%) ø
spike_lk_coreled ✔️ 37332 (1%) ø 11528 (2%) ø
spike_lk_core_touch_sensor ✔️ 41584 (1%) ø 10088 (1%) ø
spike_lk_event_queue ✔️ 36652 (1%) ø 9912 (1%) ø
spike_lk_file_manager_kit ✔️ 85840 (4%) ø 12304 (2%) ø
spike_lk_file_reception ✔️ 277920 (13%) ø 25640 (4%) ø
spike_lk_flash_memory ✔️ 36184 (1%) ø 9344 (1%) ø
spike_lk_fs ✔️ 130024 (6%) ø 45784 (8%) ø
spike_lk_imu_kit ✔️ 63372 (3%) ø 10896 (2%) ø
spike_lk_lcd ✔️ 122152 (5%) ø 44560 (8%) ø
spike_lk_led_kit ✔️ 65824 (3%) ø 12376 (2%) ø
spike_lk_log_kit ✔️ 35604 (1%) ø 10152 (1%) ø
spike_lk_motion_kit ✔️ 77204 (3%) ø 13328 (2%) ø
spike_lk_motors ✔️ 36048 (1%) ø 9384 (1%) ø
spike_lk_qdac ✔️ 39956 (1%) ø 9648 (1%) ø
spike_lk_reinforcer ✔️ 178464 (8%) ø 47736 (9%) ø
spike_lk_rfid ✔️ 42580 (2%) ø 9352 (1%) ø
spike_lk_sensors_battery ✔️ 41460 (1%) ø 10456 (1%) ø
spike_lk_sensors_imu ✔️ 54048 (2%) ø 10704 (2%) ø
spike_lk_sensors_imu_fusion_calibration ✔️ 62424 (2%) ø 10840 (2%) ø
spike_lk_sensors_light ✔️ 32456 (1%) ø 9336 (1%) ø
spike_lk_sensors_microphone ✔️ 34448 (1%) ø 9336 (1%) ø
spike_lk_sensors_temperature_humidity ✔️ 39716 (1%) ø 9320 (1%) ø
spike_lk_serial_number ✔️ 87684 (4%) ø 12160 (2%) ø
spike_lk_ticker_timeout ✔️ 31968 (1%) ø 9488 (1%) ø
spike_lk_touch_sensor_kit ✔️ 48688 (2%) ø 10656 (2%) ø
spike_lk_update_process_app_base ✔️ 102052 (4%) ø 13440 (2%) ø
spike_lk_update_process_app_update ✔️ 49052 (2%) ø 10240 (1%) ø
spike_lk_watchdog_isr ✔️ 43696 (2%) ø 11440 (2%) ø
spike_lk_wifi ✔️ 74492 (3%) ø 12696 (2%) ø
spike_mbed_blinky ✔️ 30404 (1%) ø 9296 (1%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 35780 (1%) ø 10344 (1%) ø
spike_stl_cxxsupport ✔️ 30860 (1%) ø 9296 (1%) ø

🗺️ Map files diff output

No differenes where found in map files.

Copy link

🔖 Version comparison

Version Same as filename Same as os_version
os 2.0.0+1730215900 ✔️ ✔️
firmware
(bootloader + os)
2.0.0+1730215900 ✔️ ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant