mirror of
https://github.com/thelsing/knx.git
synced 2025-01-02 00:06:43 +01:00
dce92403e5
* 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
28 lines
477 B
C++
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
|