summaryrefslogtreecommitdiff
path: root/cc3200
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-08-02 01:12:45 +1000
committerDamien George <damien.p.george@gmail.com>2016-08-02 01:12:45 +1000
commit8766bc02dcecc1176324b0b5e99aaf651ebe975b (patch)
tree263f43593346688a5a410dfaed5e4d7ab0613f60 /cc3200
parentb4564841b687051425924228acedcd6377ad1acf (diff)
cc3200, teensy: Remove broken malloc/free/realloc macro helpers.
These macros are broken and are anyway unused on these two ports. If they are ever needed in the future then their implementation can be taken from either stmhal (working macros in mpconfigport.h) or esp8266 (functions).
Diffstat (limited to 'cc3200')
-rw-r--r--cc3200/mpconfigport.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cc3200/mpconfigport.h b/cc3200/mpconfigport.h
index fbf227b86..331db8100 100644
--- a/cc3200/mpconfigport.h
+++ b/cc3200/mpconfigport.h
@@ -198,14 +198,6 @@ typedef long mp_off_t;
// disabling/enabling and sleep mode enter/exit
#include "cc3200_asm.h"
-// There is no classical C heap in bare-metal ports, only Python
-// garbage-collected heap. For completeness, emulate C heap via
-// GC heap. Note that MicroPython core never uses malloc() and friends,
-// so these defines are mostly to help extension module writers.
-#define malloc gc_alloc
-#define free gc_free
-#define realloc gc_realloc
-
// We need to provide a declaration/definition of alloca()
#include <alloca.h>