mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
f880114da5
* Fix Stm32 Eeprom handler Fix missing parenthesis Fix some type consistencies * Fix #73 Add ability to override config.h with define NO_KNX_CONFIG * change tabs to space * coding style Co-authored-by: etrinh <etrinh@zdionline.net>
23 lines
409 B
C++
23 lines
409 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 = nullptr;
|
|
uint16_t _eepromSize = 0;
|
|
};
|
|
|
|
#endif
|