Pathfindr / Mbed OS mbed-os-PF-UWBBEACON_v1_dev

Dependencies:   aconno_I2C Lis2dh12 WatchdogTimer

Committer:
pathfindr
Date:
Sat Dec 15 20:09:19 2018 +0000
Revision:
11:60eb0ff945f2
Child:
14:9a54b1b65bc8
3

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pathfindr 11:60eb0ff945f2 1 #ifndef FILESYSTEM_H
pathfindr 11:60eb0ff945f2 2 #define FILESYSTEM_H
pathfindr 11:60eb0ff945f2 3
pathfindr 11:60eb0ff945f2 4 #include "main.h"
pathfindr 11:60eb0ff945f2 5
pathfindr 11:60eb0ff945f2 6 #include "SDBlockDevice.h"
pathfindr 11:60eb0ff945f2 7
pathfindr 11:60eb0ff945f2 8 //#include "LittleFileSystem.h"
pathfindr 11:60eb0ff945f2 9 #include "FATFileSystem.h"
pathfindr 11:60eb0ff945f2 10
pathfindr 11:60eb0ff945f2 11 //#define SD_MOUNT_PATH "sd"
pathfindr 11:60eb0ff945f2 12
pathfindr 11:60eb0ff945f2 13 namespace mbed {
pathfindr 11:60eb0ff945f2 14
pathfindr 11:60eb0ff945f2 15 class Filesystem
pathfindr 11:60eb0ff945f2 16 {
pathfindr 11:60eb0ff945f2 17 public:
pathfindr 11:60eb0ff945f2 18 Filesystem(PinName mosi, PinName miso, PinName clk, PinName cs);
pathfindr 11:60eb0ff945f2 19 ~Filesystem();
pathfindr 11:60eb0ff945f2 20
pathfindr 11:60eb0ff945f2 21 //funcs
pathfindr 11:60eb0ff945f2 22 void addLogEntry_temperature(time_t timestamp, float temperature);
pathfindr 11:60eb0ff945f2 23
pathfindr 11:60eb0ff945f2 24 private:
pathfindr 11:60eb0ff945f2 25
pathfindr 11:60eb0ff945f2 26 protected:
pathfindr 11:60eb0ff945f2 27 SDBlockDevice bd;
pathfindr 11:60eb0ff945f2 28 //LittleFileSystem fs;
pathfindr 11:60eb0ff945f2 29 FATFileSystem fs;
pathfindr 11:60eb0ff945f2 30 };
pathfindr 11:60eb0ff945f2 31
pathfindr 11:60eb0ff945f2 32 } //Namespace
pathfindr 11:60eb0ff945f2 33 #endif