cryptnox-sdk-cpp 1.0.0
Platform-independent C++ core SDK for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
platform_compat.h File Reference

Arduino compatibility shims for non-Arduino (plain C++) builds. More...

#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include <stdbool.h>
Include dependency graph for platform_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  __FlashStringHelper

Macros

#define DEC   10
#define HEX   16
#define OCT   8
#define BIN   2
#define F(string_literal)

Detailed Description

Arduino compatibility shims for non-Arduino (plain C++) builds.

Include this file instead of <Arduino.h> in platform-independent headers. When building for Arduino, ARDUINO is already defined by the toolchain and this file is a no-op — Arduino.h has already provided all these definitions. When building outside Arduino (desktop, ESP-IDF, CI) this file provides the minimum set of defines/types needed so the SDK headers compile cleanly.

Definition in file platform_compat.h.

Macro Definition Documentation

◆ BIN

#define BIN   2

Definition at line 37 of file platform_compat.h.

◆ DEC

◆ F

◆ HEX

◆ OCT

#define OCT   8

Definition at line 36 of file platform_compat.h.