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

Feature: enable detailed stack/heap tracing on a per-thread basis #9

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

aentinger
Copy link
Collaborator

No description provided.

…libmbed.a was compiled with the correct flags:

Edit variants/OPTA/conf/mbed_app.json
       target.macros_add: [
@@ -16,7 +16,10 @@
         VIRTIO_DRIVER_ONLY,
         NO_ATOMIC_64_SUPPORT,
         METAL_MAX_DEVICE_REGIONS=2,
-        RPMSG_BUFFER_SIZE=512
+        RPMSG_BUFFER_SIZE=512,
+        MBED_HEAP_STATS_ENABLED=1,
+        MBED_STACK_STATS_ENABLED=1,
+        MBED_MEM_TRACING_ENABLED=1
       ]
@aentinger aentinger added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jul 16, 2024
@aentinger aentinger self-assigned this Jul 16, 2024
@aentinger aentinger merged commit ac8091d into main Jul 16, 2024
5 checks passed
@aentinger aentinger deleted the feature/detailed-heap-stack-tracing branch July 16, 2024 07:24
Copy link

Memory usage change @ 64de814

Board flash % RAM for global variables %
arduino:mbed_opta:opta 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/opcua_server
flash
% examples/opcua_server
RAM for global variables
%
arduino:mbed_opta:opta 0 0.0 0 0.0
Click for full report CSV
Board,examples/opcua_server<br>flash,%,examples/opcua_server<br>RAM for global variables,%
arduino:mbed_opta:opta,0,0.0,0,0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant