Improved build system

Added new entries to .gitignore
Moved away from source directory as central spot for all source code
This commit is contained in:
2023-02-20 00:29:06 +01:00
parent 2bcc79216e
commit dea8ab7d71
105 changed files with 140 additions and 156 deletions

View File

@ -0,0 +1,19 @@
#include "serial.h"
Serial Serial::init() {
// No clue what to setup yet!
return Serial();
}
void Serial::print(){
// Do nothing!
}
Serial::Serial(){
// Do nothing!
}
Serial::~Serial(){
// Do nothing!
}

View File

@ -0,0 +1,19 @@
#pragma once
class Serial {
public:
static Serial init();
void print();
private:
const int COM1 = 0x3F8;
const int COM2 = 0x2F8;
const int COM3 = 0x3E8;
const int COM4 = 0x2E8;
Serial();
~Serial();
};