Skip to content

Commit 860f9f8

Browse files
committed
Added missing MsgPack lib
1 parent 9f4a058 commit 860f9f8

File tree

27 files changed

+7725
-0
lines changed

27 files changed

+7725
-0
lines changed

extras/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ include_directories(../../src)
1414
include_directories(ArduinoCore-api)
1515
include_directories(include)
1616
include_directories(external/catch/v2.13.9/include)
17+
include_directories(external/MsgPack)
1718
include_directories(external/DebugLog)
1819
include_directories(external/ArxTypeTraits)
1920
include_directories(external/ArxContainer)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Hideaki Tai
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#pragma once
2+
#ifndef HT_SERIAL_MSGPACK_H
3+
#define HT_SERIAL_MSGPACK_H
4+
5+
#include <DebugLog.h>
6+
#ifdef MSGPACK_DEBUGLOG_ENABLE
7+
#include <DebugLogEnable.h>
8+
#else
9+
#include <DebugLogDisable.h>
10+
#endif
11+
12+
#include "MsgPack/Types.h"
13+
#include "MsgPack/Packer.h"
14+
#include "MsgPack/Unpacker.h"
15+
#include "MsgPack/Utility.h"
16+
17+
namespace MsgPack = arduino::msgpack;
18+
19+
#include <DebugLogRestoreState.h>
20+
21+
#endif // ARDUINOMSGPACK_H

0 commit comments

Comments
 (0)