knx/src/cc1310_platform.h
Dom dce92403e5
32bit eeprom size (#230)
* add commitNonVolatileMemory overload to batch write chars n times to flash

* changed uint8_t getEepromBuffer(uint16_t size) to uint8_t getEepromBuffer(uint32_t size) to allow eeprom > 65k

* reworked PR #230
2023-02-13 21:39:30 +01:00

28 lines
477 B
C++

#pragma once
#ifdef DeviceFamily_CC13X0
#include <ti/drivers/NVS.h>
#include <ti/drivers/UART.h>
#include <ti/drivers/dpl/ClockP.h>
#include "knx/platform.h"
class CC1310Platform : public Platform
{
public:
CC1310Platform();
virtual ~CC1310Platform();
void init();
// basic stuff
void restart() final;
void fatalError() final;
uint8_t* getEepromBuffer(uint32_t size) final;
void commitToEeprom() final;
};
#endif //DeviceFamily_CC13X0