rusEFI
The most advanced open source ECU
|
Console package entry point code.
This file is part of rusEfi - see http://rusefi.com
rusEfi is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
rusEfi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file eficonsole.cpp.
Functions | |
static void | printUid () |
PUBLIC_API_WEAK void | boardSayHello () |
static void | sayHello () |
int | CountFreeStackSpace (const void *wabase) |
static void | cmd_threads () |
static void | echo (int value) |
This is just a test function. | |
void | checkStackAndHandleConsoleLine (char *line) |
void | onCliCaseError (const char *token) |
void | onCliDuplicateError (const char *token) |
void | onCliOverflowError () |
void | initializeConsole () |
Variables | |
std::optional< setup_custom_board_overrides_type > | custom_board_boardSayHello |
PUBLIC_API_WEAK void boardSayHello | ( | ) |
Definition at line 53 of file eficonsole.cpp.
Referenced by sayHello().
void checkStackAndHandleConsoleLine | ( | char * | line | ) |
Definition at line 227 of file eficonsole.cpp.
|
static |
This methods prints all threads, their stack usage, and their total times
Definition at line 188 of file eficonsole.cpp.
Referenced by initializeConsole().
int CountFreeStackSpace | ( | const void * | wabase | ) |
Definition at line 171 of file eficonsole.cpp.
Referenced by cmd_threads().
|
static |
This is just a test function.
Definition at line 223 of file eficonsole.cpp.
Referenced by initializeConsole().
void initializeConsole | ( | ) |
Definition at line 244 of file eficonsole.cpp.
Referenced by runRusEfi().
void onCliCaseError | ( | const char * | token | ) |
Definition at line 232 of file eficonsole.cpp.
Referenced by doAddAction().
void onCliDuplicateError | ( | const char * | token | ) |
Definition at line 236 of file eficonsole.cpp.
Referenced by doAddAction().
void onCliOverflowError | ( | ) |
Definition at line 240 of file eficonsole.cpp.
Referenced by doAddAction().
|
static |
Definition at line 35 of file eficonsole.cpp.
Referenced by initializeConsole(), and sayHello().
|
static |
Time to finish output. This is needed to avoid mix-up of this methods output and console command confirmation this code here dates back to 2015. today in 2024 I have no idea what it does :(
Definition at line 56 of file eficonsole.cpp.
Referenced by initializeConsole().
std::optional<setup_custom_board_overrides_type> custom_board_boardSayHello |
Definition at line 32 of file eficonsole.cpp.
Referenced by sayHello().