Is now time to give to our tool a new name: 'AurixDebugger'. The reason is that from now on, I will try to give it the same User Interactive Interface as the Microsoft did for the DOS debug application long time ago.
The above can be achieved by adding some line of codes to manage 'argv' / 'argc' from the DOS interface to the main function. Nothing complex. For the related code, just have a look at the GitHub sources.
In the specific, I like to add the following CLI:
###############################################################################
AurixDebugger Help - Command Line Interface:
-help: print this help.
-about: gives the GitHub location where to find the latest version.
-mcdapilib: permit to set the DAS API Library name (e.g.mcdxdas.dll).
-serverIP: permit to set the DAS server address for remote connection to
target (e.g. localhost).
-key: permit to set the device key in case it requeres one to permit the
debug access.
###############################################################################
Therefore, by invoking 'AurixDebugger.exe -help' we will get:
Code is available at: https://github.com/aurixinino/aurixocd/tree/main/AURIX_DEBUG_3
Commenti
Posta un commento