initial commit

This commit is contained in:
Gwenhael Goavec-Merou
2019-09-26 18:29:20 +02:00
parent 62af4cd266
commit 4530942e17
22 changed files with 2836 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#include <iostream>
#include <stdexcept>
#include "device.hpp"
using namespace std;
Device::Device(FtdiJtag *jtag, enum prog_mode mode, string filename):
_filename(filename), _mode(mode)
{
_jtag = jtag;
}
int Device::idCode()
{
return 0;
}
void Device::program()
{
throw std::runtime_error("Not implemented");
}
void Device::reset()
{
throw std::runtime_error("Not implemented");
}