Revision 5c9e9b9d core/src/aos_system.c

View differences:

core/src/aos_system.c
523 523
  chprintf(stream, "\tnumber of commands:      %u\n", aosShellCountCommands(&aos.shell));
524 524
  chprintf(stream, "\tmaximum line width:      %u characters\n", aos.shell.linesize);
525 525
  chprintf(stream, "\tmaximum #arguments:      %u\n", aos.shell.arglistsize);
526
#if (AMIROOS_CFG_DBG == true)
526 527
  chprintf(stream, "\tshell thread stack size: %u bytes\n", aosThdGetStacksize(aos.shell.thread));
527 528
#if (CH_DBG_FILL_THREADS == TRUE)
528 529
  chprintf(stream, "\tstack peak utilization:  %u bytes (%.2f%%)\n", aosThdGetStackPeakUtilization(aos.shell.thread), (float)aosThdGetStackPeakUtilization(aos.shell.thread) / (float)aosThdGetStacksize(aos.shell.thread) * 100.0f);
529 530
#endif /* CH_DBG_FILL_THREADS == TRUE */
531
#endif /* AMIROOS_CFG_DBG == true */
530 532
  _printSystemInfoSeparator(stream, '=', SYSTEM_INFO_WIDTH);
531 533
#endif /* AMIROOS_CFG_SHELL_ENABLE == true */
532 534

  

Also available in: Unified diff