Changeset 1003

Show
Ignore:
Timestamp:
11/18/08 10:39:36 (7 weeks ago)
Author:
liamMT
Message:

- redefine standard malloc and free instead of creating separate functions for them
- stub out RTOS c++ stuff

Location:
firmware/branches/cpp
Files:
2 added
2 modified

Legend:

Unmodified
Added
Removed
  • firmware/branches/cpp/core/startup/extras.c

    r456 r1003  
    22 
    33#include <reent.h> 
     4#include <stdlib.h> 
     5 
     6#include "projdefs.h" 
     7#include "portable.h" 
    48 
    59void *_sbrk_r (struct _reent *r, ptrdiff_t t ) 
     
    5660} 
    5761 
     62void* malloc( size_t size ) 
     63{ 
     64  return pvPortMalloc( size ); 
     65} 
    5866 
     67void free( void* memory ) 
     68{ 
     69  vPortFree( memory ); 
     70} 
     71 
     72 
  • firmware/branches/cpp/projects/heavy/Makefile

    r970 r1003  
    8585  ../../core/makingthings/tcpserver.cpp \ 
    8686  ../../core/makingthings/osc_cpp.cpp \ 
     87  ../../core/makingthings/rtos_.cpp \ 
    8788  ../../libraries/appled/appled_.cpp \ 
    8889  make_.cpp \