mirror of
https://github.com/thelsing/knx.git
synced 2025-01-07 00:05:47 +01:00
23 lines
387 B
C
23 lines
387 B
C
|
#ifdef ARDUINO_ARCH_STM32
|
||
|
#include "arduino_platform.h"
|
||
|
|
||
|
class Stm32Platform : public ArduinoPlatform
|
||
|
{
|
||
|
public:
|
||
|
Stm32Platform();
|
||
|
Stm32Platform( HardwareSerial* s);
|
||
|
~Stm32Platform();
|
||
|
|
||
|
// basic stuff
|
||
|
void restart();
|
||
|
|
||
|
//memory
|
||
|
uint8_t* getEepromBuffer(uint16_t size);
|
||
|
void commitToEeprom();
|
||
|
private:
|
||
|
uint8_t *eepromPtr;
|
||
|
uint16_t eepromSize;
|
||
|
};
|
||
|
|
||
|
#endif
|