Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/ccn-lite: remove dependency on tlsf-malloc. #12043

Merged
merged 1 commit into from
Aug 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions examples/ccn-lite-relay/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include <stdio.h>

#include "tlsf-malloc.h"
#include "msg.h"
#include "shell.h"
#include "ccn-lite-riot.h"
Expand All @@ -31,13 +30,8 @@
#define MAIN_QUEUE_SIZE (8)
static msg_t _main_msg_queue[MAIN_QUEUE_SIZE];

/* 10kB buffer for the heap should be enough for everyone */
#define TLSF_BUFFER (10240 / sizeof(uint32_t))
static uint32_t _tlsf_heap[TLSF_BUFFER];

int main(void)
{
tlsf_add_global_pool(_tlsf_heap, sizeof(_tlsf_heap));
msg_init_queue(_main_msg_queue, MAIN_QUEUE_SIZE);

puts("Basic CCN-Lite example");
Expand Down
1 change: 0 additions & 1 deletion pkg/ccn-lite/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ ifneq (,$(filter ccn-lite,$(USEPKG)))
USEMODULE += evtimer
USEMODULE += random
USEMODULE += timex
USEMODULE += tlsf-malloc
USEMODULE += posix_headers
endif