blob: 9dac153b213c0820aca437773b7201ba876666e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef MCU_SPECIFICS_HPP
#define MCU_SPECIFICS_HPP 1
#include "SerialPort.hpp"
#include "McuSpecifics.hpp"
#include <cstdint>
#include <list>
using std::list;
class IMcuSpecifics {
public:
virtual ~IMcuSpecifics() {};
virtual string getName() = 0;
virtual uint8_t *getFirmware() = 0;
virtual int getFirmwareLength() = 0;
virtual const list<uint32_t> getBlockSizes() = 0;
virtual uint32_t getFlashSize() = 0;
virtual int getEraseTimeout() = 0;
virtual string getMessageForRetCode(uint16_t ret) = 0;
virtual const list<uint16_t> getConfigData(float mcuFrequency) = 0;
};
#endif
|