File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
name =Husarnet ESP32
2
- version =2.0.0-beta3
2
+ version =2.0.0-beta4
3
3
author =Husarnet
4
4
maintainer =Milosz Lagan, milosz.lagan@husarion.com
5
5
sentence =Connect your devices using secure P2P network layer for robots and IoT.
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
+ #if defined(ARDUINO )
4
+ #if !defined(ARDUINO_ARCH_ESP32 )
5
+ #error "This library only supports boards from the ESP32 family."
6
+ #elif ESP_ARDUINO_VERSION < ESP_ARDUINO_VERSION_VAL (3 , 0 , 3 )
7
+ #error "This library requires ESP32 Arduino Core version 3.0.3 or newer. Please upgrade your board/platform."
8
+ #endif
9
+ #endif
10
+
3
11
// User-facing API is defined in the
4
12
// "husarnet/port/esp32/user_interface.h" header
5
13
// in the included Husarnet submodule.
6
14
#include "husarnet/ports/esp32/user_interface.h"
7
-
8
- #if defined(ARDUINO ) && !defined(ARDUINO_ARCH_ESP32 )
9
- #error "This library only supports boards from the ESP32 family."
10
- #endif
You can’t perform that action at this time.
0 commit comments