Post-merge cleanup of extras/cpp_support
This commit is contained in:
parent
fbb01c81ad
commit
6416fe7329
4 changed files with 2 additions and 30 deletions
|
@ -1,25 +0,0 @@
|
||||||
/* Part of esp-open-rtos
|
|
||||||
* BSD Licensed as described in the file LICENSE
|
|
||||||
*/
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
void *operator new(size_t size)
|
|
||||||
{
|
|
||||||
return malloc(size);
|
|
||||||
}
|
|
||||||
|
|
||||||
void *operator new[](size_t size)
|
|
||||||
{
|
|
||||||
return malloc(size);
|
|
||||||
}
|
|
||||||
|
|
||||||
void operator delete(void * ptr)
|
|
||||||
{
|
|
||||||
free(ptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
void operator delete[](void * ptr)
|
|
||||||
{
|
|
||||||
free(ptr);
|
|
||||||
}
|
|
|
@ -26,7 +26,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "cplusplus.hpp"
|
#include "cpp_operators.hpp"
|
||||||
#include "task.hpp"
|
#include "task.hpp"
|
||||||
#include "queue.hpp"
|
#include "queue.hpp"
|
||||||
|
|
||||||
|
@ -104,4 +104,4 @@ extern "C" void user_init(void)
|
||||||
|
|
||||||
task_1.task_create("tsk1");
|
task_1.task_create("tsk1");
|
||||||
task_2.task_create("tsk2");
|
task_2.task_create("tsk2");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Component makefile for extras/cplusplus
|
|
||||||
|
|
||||||
INC_DIRS += $(ROOT)extras
|
|
Loading…
Reference in a new issue