Added a new console command: "system" (#14)

```
KTag> system
Usage:
  system chip-info      - Show chip and system information
  system coredump       - Check coredump status
  system factory-reset  - Clear NVS and restart
  system flash          - Show flash information
  system heap-caps      - Show heap by capability
  system hostname [name]- Show/set hostname
  system mac            - Show MAC addresses
  system partition      - List partition table
  system RAM            - Display heap memory usage
  system reboot         - Reboot the device
  system reset-reason   - Show last reset reason
  system stats          - Combined system statistics
  system tasks          - List FreeRTOS tasks
  system uptime         - Display system uptime
  system version        - Show firmware version
```

Co-authored-by: Joe Kearney <joe@clubk.club>
Reviewed-on: #14
This commit is contained in:
Joe Kearney 2026-01-17 16:33:41 +00:00
parent 3939941315
commit 2c81bdd052
7 changed files with 801 additions and 14 deletions

View file

@ -22,10 +22,12 @@
#include "esp_console.h"
#include <Log_Command.h>
#include <System_Command.h>
static void register_commands()
{
Register_Log_Command();
Register_System_Command();
esp_console_register_help_command();
}