1#ifndef HEATSHRINK_CONFIG_H
2#define HEATSHRINK_CONFIG_H
5#ifndef HEATSHRINK_DYNAMIC_ALLOC
6#define HEATSHRINK_DYNAMIC_ALLOC 1
9#if HEATSHRINK_DYNAMIC_ALLOC
21 void *ptr = pvPortMalloc(size);
34 #define HEATSHRINK_MALLOC(size) heatshrink_port_impl_malloc(size)
35 #define HEATSHRINK_FREE(ptr, size) heatshrink_port_impl_free(ptr)
39 #define HEATSHRINK_STATIC_INPUT_BUFFER_SIZE 32
40 #define HEATSHRINK_STATIC_WINDOW_BITS 8
41 #define HEATSHRINK_STATIC_LOOKAHEAD_BITS 4
45#define HEATSHRINK_DEBUGGING_LOGS 0
48#define HEATSHRINK_USE_INDEX 1
static void * heatshrink_port_impl_malloc(size_t size)
Definition heatshrink_config.h:17
static void heatshrink_port_impl_free(void *ptr)
Definition heatshrink_config.h:28