Newer
Older
Tardis / include / MyUSBMSD.h
/*
SPDX-License-Identifier: MIT
Copyright (c) 2023 Casey Reeves and the LuminaSensum contributors
*/

#ifndef MYUSBMSD_H
#define MYUSBMSD_H

#include "USBMSD.h"
#include "mbed.h"

class MyUSBMSD : public USBMSD {
      public:
	MyUSBMSD(mbed::BlockDevice *bd, bool connect_blocking = true,
		uint16_t vendor_id = 0x0703, uint16_t product_id = 0x0104,
		uint16_t product_release = 0x0001);

      private:
	virtual const uint8_t *string_iproduct_desc();
};

void doUSBMSD(mbed::BlockDevice &bd, LittleFileSystem2 &fs);
#endif