cryptnox-sdk-esp32 1.0.0
ESP32 SDK for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
ESP32Platform.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: LGPL-3.0-or-later
3 * Copyright (c) 2026 Cryptnox SA
4 */
5
16
17#ifndef ESP32_PLATFORM_H
18#define ESP32_PLATFORM_H
19
20#include "CW_Platform.h"
21
38class ESP32Platform : public CW_Platform {
39public:
49 void sleep_ms(uint32_t ms) override;
50
52 ~ESP32Platform() override {}
53};
54
55#endif /* ESP32_PLATFORM_H */
CW_Platform backed by FreeRTOS vTaskDelay.
~ESP32Platform() override
Default destructor.
void sleep_ms(uint32_t ms) override
Sleep for at least ms milliseconds.