You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
789 B
55 lines
789 B
/*
|
|
* Authors : Kerem Yollu & Edwin Koch
|
|
* Date : 07.03.2021
|
|
*
|
|
* Description :
|
|
* TODO : Write description or doxygene
|
|
*
|
|
*/
|
|
|
|
#include <iostream>
|
|
#include <stdint.h>
|
|
#include <unistd.h>
|
|
#include <bitset>
|
|
#include <functional>
|
|
|
|
// Management
|
|
#include "./management/command/commandManager.h"
|
|
|
|
// Communication
|
|
#include "./systems/systemcall/systemCall.h"
|
|
|
|
// drivers
|
|
|
|
// Periferals
|
|
|
|
// Algorithms
|
|
|
|
CommandManager commander;
|
|
|
|
|
|
|
|
int initPlatform()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
void dummy()
|
|
{
|
|
std::cout << "Dummy" << std::endl;
|
|
}
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
// Init
|
|
initPlatform();
|
|
std::cout << "Main Begin" << std::endl;
|
|
commander.addNewCommand("dummy", "The test command for testing the test", dummy);
|
|
commander(argv[1]);
|
|
std::cout << "Main End" << std::endl;
|
|
|
|
return 1;
|
|
}
|