mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-29 10:17:15 +02:00
Update ESP class
This commit is contained in:
@ -55,15 +55,12 @@ public:
|
||||
~EspClass() {}
|
||||
void restart();
|
||||
uint32_t getFreeHeap();
|
||||
|
||||
uint32_t getChipId();
|
||||
|
||||
uint8_t getCpuFreqMHz(){ return F_CPU; }
|
||||
uint32_t getCycleCount();
|
||||
const char * getSdkVersion();
|
||||
|
||||
void deepSleep(uint32_t time_us);
|
||||
|
||||
uint8_t getCpuFreqMHz();
|
||||
|
||||
uint32_t getFlashChipSize();
|
||||
uint32_t getFlashChipSpeed();
|
||||
FlashMode_t getFlashChipMode();
|
||||
@ -76,9 +73,6 @@ public:
|
||||
bool flashWrite(uint32_t offset, uint32_t *data, size_t size);
|
||||
bool flashRead(uint32_t offset, uint32_t *data, size_t size);
|
||||
|
||||
bool eraseConfig();
|
||||
|
||||
uint32_t getCycleCount();
|
||||
};
|
||||
|
||||
extern EspClass ESP;
|
||||
|
Reference in New Issue
Block a user