1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #195 from OlegHahm/msp430_types

Add Msp430 types
This commit is contained in:
Oleg Hahm 2013-09-16 15:32:36 -07:00
commit 09e406cda3
6 changed files with 14 additions and 1 deletions

View File

@ -26,6 +26,7 @@ License. See the file LICENSE in the top level directory for more details.
#include <sched.h>
#include <stdio.h>
#include <legacymsp430.h>
#include <msp430_types.h>
#include <cpu-conf.h>
#define WORDSIZE 16

View File

@ -4,6 +4,7 @@
#include "oneway_malloc.h"
#define malloc _malloc
#define calloc _calloc
#define realloc _realloc
#define free _free

View File

@ -0,0 +1,9 @@
#ifndef MSP430_TYPES_H
#define MSP430_TYPES_H
#include <sys/_types.h>
/** defining signed type for size_t */
typedef _ssize_t ssize_t;
#endif /* MSP430_TYPES_H */

View File

@ -5,7 +5,7 @@
#include <string.h>
#include <stdint.h>
#include <math.h>
#include "oneway_malloc.h"
#include "malloc.h"
#include "hashtable.h"
#include "hashtable_private.h"

View File

@ -25,6 +25,7 @@
#include "udp.h"
#include "in.h"
#include "ipv6.h"
#include "cpu.h"
/*
* POSIX compatibility

View File

@ -21,6 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "malloc.h"
#include "vtimer.h"
#include "mutex.h"
#include "sixlowpan/error.h"