Skip to content

Device Monitor Core Architecture & Memory Statistics #35

@AmmarOkla12772

Description

@AmmarOkla12772

Implement the foundation of the NUCLEO_F401RE Device Monitor Demo. Introduce a Monitor/Reporter thread architecture and migrate thread stack allocation to a ThreadX byte pool to enable runtime memory diagnostics.

Goals:

  • Create a global TX_BYTE_POOL for dynamic allocations.
  • Allocate thread stacks from the byte pool.
  • Add a Monitor Thread to collect:
  • System uptime (tx_time_get)
  • Byte pool statistics (tx_byte_pool_info_get)
  • Add a Reporter Thread to periodically display diagnostics over USART2.
  • Retain heartbeat and worker threads for scheduler activity.

DoD:

  • Device boots successfully on hardware.
  • UART output updates every 2 seconds.
  • Uptime increments correctly.
  • Memory statistics remain stable during extended execution.
  • System runs continuously for at least 5 minutes without lockups.

Metadata

Metadata

Labels

GSoCGoogle Summer of Code participant tasks

Type

No type
No fields configured for issues without a type.

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions