summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/ArduinoJson/Configuration.hpp1
-rw-r--r--include/lib/mpack/mpack.h4
-rw-r--r--include/lib/mpmalloc.h16
3 files changed, 19 insertions, 2 deletions
diff --git a/include/lib/ArduinoJson/Configuration.hpp b/include/lib/ArduinoJson/Configuration.hpp
index cba885c..0e1a4de 100644
--- a/include/lib/ArduinoJson/Configuration.hpp
+++ b/include/lib/ArduinoJson/Configuration.hpp
@@ -8,6 +8,7 @@
#ifndef ARDUINOJSON_EMBEDDED_MODE
#if defined(ARDUINO) || defined(__IAR_SYSTEMS_ICC__) || defined(__XC) || \
defined(__ARMCC_VERSION) || defined(MULTIPASS_ARCH_msp430fr5969lp) || \
+ defined(MULTIPASS_ARCH_msp430fr5994lp) || \
defined(MULTIPASS_ARCH_arduino_nano) || defined(MULTIPASS_ARCH_blinkenrocket) || \
defined(MULTIPASS_ARCH_esp8266)
#define ARDUINOJSON_EMBEDDED_MODE 1
diff --git a/include/lib/mpack/mpack.h b/include/lib/mpack/mpack.h
index cfadf78..b4404f3 100644
--- a/include/lib/mpack/mpack.h
+++ b/include/lib/mpack/mpack.h
@@ -144,7 +144,7 @@
* for debugging and in allocation helpers.
*/
#ifndef MPACK_STDLIB
-#if defined(MULTIPASS_ARCH_msp430fr5969lp) || \
+#if defined(MULTIPASS_ARCH_msp430fr5969lp) || defined(MULTIPASS_ARCH_msp430fr5994lp) || \
defined(MULTIPASS_ARCH_arduino_nano) || defined(MULTIPASS_ARCH_blinkenrocket) || \
defined(MULTIPASS_ARCH_esp8266)
#define MPACK_STDLIB 0
@@ -160,7 +160,7 @@
* reading/writing C files and makes debugging easier.
*/
#ifndef MPACK_STDIO
-#if defined(MULTIPASS_ARCH_msp430fr5969lp) || \
+#if defined(MULTIPASS_ARCH_msp430fr5969lp) || defined(MULTIPASS_ARCH_msp430fr5994lp) || \
defined(MULTIPASS_ARCH_arduino_nano) || defined(MULTIPASS_ARCH_blinkenrocket) || \
defined(MULTIPASS_ARCH_esp8266)
#define MPACK_STDIO 0
diff --git a/include/lib/mpmalloc.h b/include/lib/mpmalloc.h
new file mode 100644
index 0000000..0699042
--- /dev/null
+++ b/include/lib/mpmalloc.h
@@ -0,0 +1,16 @@
+#ifndef MPMALLOC_H
+#define MPMALLOC_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void* mpcalloc(size_t nmemb, size_t size);
+void* mpmalloc(size_t size);
+void mpfree(void* addr);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif