Skip to content

Commit f374cce

Browse files
committed
Satisfy arduino registry library name requirements
1 parent 34a52f8 commit f374cce

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name=ArduinoYaml
1+
name=YamlArduino
22
version=1.2.0
33
author=tobozo <[email protected]>
44
maintainer=tobozo <[email protected]>
@@ -7,5 +7,5 @@ paragraph=ArduinoYaml is syntax friendly with ArduinoJson and cJSON, supports
77
category=Data Processing
88
url=https://github.com/tobozo/esp32-yaml
99
architectures=esp32,esp8266,samd,rp2040,mbed_rp2040,mbed_nano
10-
includes=ArduinoYaml.hpp
10+
includes=ArduinoYaml.h,YamlArduino.h
1111
license=MIT

src/YamlArduino.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#pragma once
2+
3+
#ifdef __cplusplus
4+
5+
#include "ArduinoYaml.hpp"
6+
7+
#else
8+
9+
#error ArduinoYaml requires a C++ compiler, please change file extension to .cc or .cpp
10+
11+
#endif

0 commit comments

Comments
 (0)