SD Card, Scratch Buffer and README updates #52

Merged
meierj merged 41 commits from mueller/first-sd-tests into develop 2021-07-09 22:02:31 +02:00
Showing only changes of commit ec32b828c7 - Show all commits

View File

@ -39,28 +39,6 @@ void Q7STestTask::sdCardTests() {
idx++; idx++;
} }
std::remove("/tmp/sd_status.txt"); std::remove("/tmp/sd_status.txt");
//TaskFactory::delayTask(3000);
//int result = system();
//std::fstream fs(testFile);
// Read contents from file
// char* line = nullptr;
// size_t len = 0;
// ssize_t read = getline(&line, &len, testFile);
// if(read != -1 and line != nullptr) {
// cout << line << endl;
// }
// c = fgetc(testFile);
// while (c != EOF)
// {
// printf ("%c", c);
// c = fgetc(testFile);
// }
// cout << "Info result " << result << endl;
// stopwatch.stop(true);
// system("q7hw sd set 0 on > /tmp/sd_set.txt");
// stopwatch.stop(true);
// system("q7hw sd set 0 off > /tmp/sd_set.txt");
// stopwatch.stop(true);
} }
void Q7STestTask::fileTests() { void Q7STestTask::fileTests() {