LibRTOSConsole-C-Library 1.0
Library Code documentation
Loading...
Searching...
No Matches
ConsoleConfig.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONSOLE_USERNAME   "STM32"
 
#define CONSOLE_USE_DYNAMIC_USERNAME   1
 
#define CONSOLE_LINE_HISTORY   8
 
#define CONSOLE_LINE_SIZE   120
 
#define CONSOLE_COMMAND_MAX_LENGTH   64
 
#define CONSOLE_HELP_MAX_LENGTH   512
 

Macro Definition Documentation

◆ CONSOLE_COMMAND_MAX_LENGTH

#define CONSOLE_COMMAND_MAX_LENGTH   64

Specifies the maximum number of chars per command

◆ CONSOLE_HELP_MAX_LENGTH

#define CONSOLE_HELP_MAX_LENGTH   512

Specifies the maximum number of chars per command help text

◆ CONSOLE_LINE_HISTORY

#define CONSOLE_LINE_HISTORY   8

specifies the maximum number of entries of the "last commands" buffer

◆ CONSOLE_LINE_SIZE

#define CONSOLE_LINE_SIZE   120

Specifies the number of chars per line. When exceeding this number without a newline, the console prints a buffer overflow and clears the input. All inputs are then invalidated within this line

◆ CONSOLE_USE_DYNAMIC_USERNAME

#define CONSOLE_USE_DYNAMIC_USERNAME   1

The username ^can be changed on runtime which is enabled with this DEFINE

◆ CONSOLE_USERNAME

#define CONSOLE_USERNAME   "STM32"

ATTENTION, this header is only a template, the user must provide its own implementation in the user project

The username in the console which is printed at least on power up before changing the username