Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
esp32_usb_console.h
Go to the documentation of this file.
1#pragma once
2
3#if defined(ARDUINO)
4
5#include "ersa/hal/console.h"
6
7namespace ersa::hal {
8
10class Esp32UsbConsole final : public IConsole {
11public:
12 void begin(uint32_t baudRate) override;
13 bool isAttached() const override;
14 size_t availableForWrite() const override;
15 size_t available() const override;
16 int read() override;
17 size_t write(const uint8_t* data, size_t length) override;
18 void flush() override;
19};
20
21} // namespace ersa::hal
22
23#endif // ARDUINO
void begin()
Definition app_agenda.cpp:27
void flush()
Definition debug_log.cpp:153
Definition battery.h:7
char data[MANIFEST_LIMIT]
Definition ota_service.cpp:33
size_t length
Definition ota_service.cpp:34