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/upgrade python #1429

Merged
merged 3 commits into from
May 10, 2024
Merged

Conversation

ladislas
Copy link
Member

  • πŸ“Œ (cmake): Use python 3.10 and above
  • πŸ§‘β€πŸ’» (setup): Add pip requirements.txt file + update instructions

@ladislas ladislas self-assigned this Apr 26, 2024
Copy link

github-actions bot commented Apr 26, 2024

πŸ”– Version comparison

Version Same as filename Same as os_version
os 1.4.0+1714136906 βœ”οΈ βœ”οΈ
firmware
(bootloader + os)
1.4.0+1714136906 βœ”οΈ βœ”οΈ

Copy link

github-actions bot commented Apr 26, 2024

πŸ“ˆ Changes Impact Analysis Report

πŸ“Œ Info

  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: OFF
base head
branch develop ladislas/feature/upgrade-python
sha 9da3fb3 0fb8875
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 170904Β (65%) ΓΈ 91240Β (34%)
91240Β (34%)
30952Β (5%) ΓΈ
os 444280Β (28%) ΓΈ 1120392Β (71%)
1120392Β (71%)
83368Β (15%) ΓΈ
Click to show memory sections
| -          |      Hex |     Bytes |  KiB |
|------------|---------:|----------:|-----:|
| Flash      | 0x200000 | 2 097 152 | 2048 |
| SRAM       |  0x80000 |   524 288 |  512 |
| Bootloader |  0x40000 |   262 144 |  256 |
| Header     |   0x1000 |     4 096 |    4 |
| OS         | 0x17E000 | 1 564 672 | 1528 |
| Tail       |   0x1000 |     4 096 |    4 |
| Scratch    |  0x40000 |   262 144 |  256 |

πŸ”¬ 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 βœ”οΈ βœ… βœ… 444280Β (21%) ΓΈ 83368Β (15%) ΓΈ
bootloader βœ”οΈ βœ… βœ… 170904Β (8%) ΓΈ 30952Β (5%) ΓΈ
functional_ut_boost_ut βœ”οΈ βœ… βœ… 394140Β (18%) ΓΈ 20456Β (3%) ΓΈ
functional_ut_core_imu βœ”οΈ βœ… βœ… 377656Β (18%) ΓΈ 20968Β (3%) ΓΈ
functional_ut_deep_sleep_core_buffered_serial βœ”οΈ βœ… βœ… 362984Β (17%) ΓΈ 20440Β (3%) ΓΈ
functional_ut_deep_sleep_core_lcd βœ”οΈ βœ… βœ… 389572Β (18%) ΓΈ 52456Β (10%) ΓΈ
functional_ut_deep_sleep_core_motor βœ”οΈ βœ… βœ… 361532Β (17%) ΓΈ 20480Β (3%) ΓΈ
functional_ut_deep_sleep_core_pwm βœ”οΈ βœ… βœ… 362564Β (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 βœ”οΈ βœ… βœ… 381572Β (18%) ΓΈ 21144Β (4%) ΓΈ
functional_ut_io_expander βœ”οΈ βœ… βœ… 359576Β (17%) ΓΈ 20424Β (3%) ΓΈ
functional_ut_qdac βœ”οΈ βœ… βœ… 360744Β (17%) ΓΈ 20424Β (3%) ΓΈ
spike_lk_activity_kit βœ”οΈ βœ… βœ… 242208Β (11%) ΓΈ 55816Β (10%) ΓΈ
spike_lk_audio βœ”οΈ βœ… βœ… 127092Β (6%) ΓΈ 14592Β (2%) ΓΈ
spike_lk_behavior_kit βœ”οΈ βœ… βœ… 190096Β (9%) ΓΈ 48096Β (9%) ΓΈ
spike_lk_ble βœ”οΈ βœ… βœ… 229600Β (10%) ΓΈ 28472Β (5%) ΓΈ
spike_lk_bluetooth βœ”οΈ βœ… βœ… 82948Β (3%) ΓΈ 11544Β (2%) ΓΈ
spike_lk_cg_animations βœ”οΈ βœ… βœ… 146984Β (7%) ΓΈ 46536Β (8%) ΓΈ
spike_lk_color_kit βœ”οΈ βœ… βœ… 65840Β (3%) ΓΈ 13744Β (2%) ΓΈ
spike_lk_command_kit βœ”οΈ βœ… βœ… 221384Β (10%) ΓΈ 52640Β (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 βœ”οΈ βœ… βœ… 176676Β (8%) ΓΈ 47936Β (9%) ΓΈ
spike_lk_imu_kit βœ”οΈ βœ… βœ… 98860Β (4%) ΓΈ 13032Β (2%) ΓΈ
spike_lk_lcd βœ”οΈ βœ… βœ… 164376Β (7%) ΓΈ 46688Β (8%) ΓΈ
spike_lk_led_kit βœ”οΈ βœ… βœ… 103424Β (4%) ΓΈ 14528Β (2%) ΓΈ
spike_lk_log_kit βœ”οΈ βœ… βœ… 63288Β (3%) ΓΈ 12256Β (2%) ΓΈ
spike_lk_motion_kit βœ”οΈ βœ… βœ… 111316Β (5%) ΓΈ 15160Β (2%) ΓΈ
spike_lk_motors βœ”οΈ βœ… βœ… 62808Β (2%) ΓΈ 11488Β (2%) ΓΈ
spike_lk_qdac βœ”οΈ βœ… βœ… 78852Β (3%) ΓΈ 11808Β (2%) ΓΈ
spike_lk_reinforcer βœ”οΈ βœ… βœ… 218600Β (10%) ΓΈ 49824Β (9%) ΓΈ
spike_lk_rfid βœ”οΈ βœ… βœ… 79180Β (3%) ΓΈ 11504Β (2%) ΓΈ
spike_lk_sensors_battery βœ”οΈ βœ… βœ… 78500Β (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 βœ”οΈ βœ… βœ… 80356Β (3%) ΓΈ 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

No differenes where found in map files.

Copy link

github-actions bot commented Apr 26, 2024

πŸ“ˆ Changes Impact Analysis Report

πŸ“Œ Info

  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: ON
base head
branch develop ladislas/feature/upgrade-python
sha 9da3fb3 0fb8875
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 183708Β (70%) ΓΈ 78436Β (29%)
78436Β (29%)
41656Β (7%) ΓΈ
os 502380Β (32%) ΓΈ 1062292Β (67%)
1062292Β (67%)
94592Β (18%) ΓΈ
Click to show memory sections
| -          |      Hex |     Bytes |  KiB |
|------------|---------:|----------:|-----:|
| Flash      | 0x200000 | 2 097 152 | 2048 |
| SRAM       |  0x80000 |   524 288 |  512 |
| Bootloader |  0x40000 |   262 144 |  256 |
| Header     |   0x1000 |     4 096 |    4 |
| OS         | 0x17E000 | 1 564 672 | 1528 |
| Tail       |   0x1000 |     4 096 |    4 |
| Scratch    |  0x40000 |   262 144 |  256 |

πŸ”¬ 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 βœ”οΈ βœ… βœ… 502380Β (23%) ΓΈ 94592Β (18%) ΓΈ
bootloader βœ”οΈ βœ… βœ… 183708Β (8%) ΓΈ 41656Β (7%) ΓΈ
functional_ut_boost_ut βœ”οΈ βœ… βœ… 409276Β (19%) ΓΈ 30608Β (5%) ΓΈ
functional_ut_core_imu βœ”οΈ βœ… βœ… 385140Β (18%) ΓΈ 31120Β (5%) ΓΈ
functional_ut_deep_sleep_core_buffered_serial βœ”οΈ βœ… βœ… 370716Β (17%) ΓΈ 30560Β (5%) ΓΈ
functional_ut_deep_sleep_core_lcd βœ”οΈ βœ… βœ… 401172Β (19%) ΓΈ 62608Β (11%) ΓΈ
functional_ut_deep_sleep_core_motor βœ”οΈ βœ… βœ… 373196Β (17%) ΓΈ 30632Β (5%) ΓΈ
functional_ut_deep_sleep_core_pwm βœ”οΈ βœ… βœ… 374164Β (17%) ΓΈ 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 βœ”οΈ βœ… βœ… 389120Β (18%) ΓΈ 31296Β (5%) ΓΈ
functional_ut_io_expander βœ”οΈ βœ… βœ… 371176Β (17%) ΓΈ 30576Β (5%) ΓΈ
functional_ut_qdac βœ”οΈ βœ… βœ… 372344Β (17%) ΓΈ 30576Β (5%) ΓΈ
spike_lk_activity_kit βœ”οΈ βœ… βœ… 245028Β (11%) ΓΈ 66480Β (12%) ΓΈ
spike_lk_audio βœ”οΈ βœ… βœ… 137724Β (6%) ΓΈ 25168Β (4%) ΓΈ
spike_lk_behavior_kit βœ”οΈ βœ… βœ… 199236Β (9%) ΓΈ 58672Β (11%) ΓΈ
spike_lk_ble βœ”οΈ βœ… βœ… 237980Β (11%) ΓΈ 39416Β (7%) ΓΈ
spike_lk_bluetooth βœ”οΈ βœ… βœ… 92364Β (4%) ΓΈ 22224Β (4%) ΓΈ
spike_lk_cg_animations βœ”οΈ βœ… βœ… 154680Β (7%) ΓΈ 57232Β (10%) ΓΈ
spike_lk_color_kit βœ”οΈ βœ… βœ… 88544Β (4%) ΓΈ 24376Β (4%) ΓΈ
spike_lk_command_kit βœ”οΈ βœ… βœ… 230740Β (11%) ΓΈ 63728Β (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 βœ”οΈ βœ… βœ… 179316Β (8%) ΓΈ 57544Β (10%) ΓΈ
spike_lk_imu_kit βœ”οΈ βœ… βœ… 107504Β (5%) ΓΈ 23744Β (4%) ΓΈ
spike_lk_lcd βœ”οΈ βœ… βœ… 174572Β (8%) ΓΈ 57528Β (10%) ΓΈ
spike_lk_led_kit βœ”οΈ βœ… βœ… 115204Β (5%) ΓΈ 25104Β (4%) ΓΈ
spike_lk_log_kit βœ”οΈ βœ… βœ… 84776Β (4%) ΓΈ 23408Β (4%) ΓΈ
spike_lk_motion_kit βœ”οΈ βœ… βœ… 116288Β (5%) ΓΈ 25704Β (4%) ΓΈ
spike_lk_motors βœ”οΈ βœ… βœ… 86344Β (4%) ΓΈ 22248Β (4%) ΓΈ
spike_lk_qdac βœ”οΈ βœ… βœ… 91796Β (4%) ΓΈ 22768Β (4%) ΓΈ
spike_lk_reinforcer βœ”οΈ βœ… βœ… 226260Β (10%) ΓΈ 60400Β (11%) ΓΈ
spike_lk_rfid βœ”οΈ βœ… βœ… 84376Β (4%) ΓΈ 22184Β (4%) ΓΈ
spike_lk_sensors_battery βœ”οΈ βœ… βœ… 87480Β (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 βœ”οΈ βœ… βœ… 87616Β (4%) ΓΈ 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

No differenes where found in map files.

Copy link

codecov bot commented Apr 26, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 98.75%. Comparing base (9da3fb3) to head (0fb8875).

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

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@ladislas ladislas force-pushed the ladislas/feature/upgrade-python branch from 3cd2311 to 0fb8875 Compare April 26, 2024 13:06
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ladislas ladislas merged commit 030653c into develop May 10, 2024
27 of 28 checks passed
@ladislas ladislas deleted the ladislas/feature/upgrade-python branch May 23, 2024 10:22
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