Skip to content

Conversation

portasynthinca3
Copy link
Member

@portasynthinca3 portasynthinca3 commented Feb 19, 2025

What's new

  • Updated heap4 implementation to the one in FreeRTOS Kernel V11.1.0 (the latest version)
  • Removed support for HEAP_PRINT_DEBUG feature that was marked as "broken" in the code
  • Enabled heap corruption detection
  • crash_test options to test heap corruption detection

Verification

  • Run unit tests
  • Verify heap trace feature
  • Flash firmware with DEBUG=1 and run crash_test app options "Heap underflow" and "Heap overflow". Both must crash with an "FreeRTOS Assert" error, otherwise this test must be deemed as unsuccessful.

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

Copy link

github-actions bot commented Feb 19, 2025

Compiled f7 firmware for commit 768f3a3e:

Copy link

github-actions bot commented Feb 19, 2025

PVS-Studio report for commit 768f3a3e:

@portasynthinca3 portasynthinca3 marked this pull request as ready for review February 19, 2025 18:43
@hedger hedger added the Core+Services HAL, furi & core system services label Feb 19, 2025
skotopes
skotopes previously approved these changes Feb 21, 2025
@skotopes skotopes merged commit 16d18a7 into dev Feb 21, 2025
11 checks passed
@skotopes skotopes deleted the portasynthinca3/3900-update-heap branch February 21, 2025 01:04
hedger pushed a commit to RebornedBrain/flipperzero-firmware that referenced this pull request Apr 5, 2025
* furi: update heap4 to latest
* debug: heap under/overflow testing app
* fix formatting
* silence pvs warnings
* Linker: symbols without type
* Infrared: fix crash in universal remotes on long back press
* Infrared: properly fix incorrect input handling behavior and crash in universal remote. Fix same issue in hid_app.
* FreeRTOSConfig: explicit cast to uint in configTOTAL_HEAP_SIZE
* Format sources
* C and C++ compatible version of stm32wb55_linker.h

Co-authored-by: あく <alleteam@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core+Services HAL, furi & core system services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants