]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/syscalls.c
Improve coverage of the MPU API in the new MPU demo, fixing typos in the MPU port...
[freertos] / FreeRTOS / Demo / CORTEX_MPU_LPC1768_GCC_RedSuite / src / syscalls.c
1 /* Don't need anything here. */
2
3 #include <stdlib.h>
4 #include <sys/stat.h>
5
6 int _read_r (struct _reent *r, int file, char * ptr, int len)
7 {
8         ( void ) r;
9         ( void ) file;
10         ( void ) ptr;
11         ( void ) len;
12         return -1;
13 }
14
15 /***************************************************************************/
16
17 int _lseek_r (struct _reent *r, int file, int ptr, int dir)
18 {
19         ( void ) r;
20         ( void ) file;
21         ( void ) ptr;
22         ( void ) dir;
23         
24         return 0;
25 }
26
27 /***************************************************************************/
28
29 int _write_r (struct _reent *r, int file, char * ptr, int len)
30 {  
31         ( void ) r;
32         ( void ) file;
33         ( void ) ptr;
34         ( void ) len;
35         
36         return 0;
37 }
38
39 /***************************************************************************/
40
41 int _close_r (struct _reent *r, int file)
42 {
43         ( void ) r;
44         ( void ) file;
45
46         return 0;
47 }
48
49 /***************************************************************************/
50
51 caddr_t _sbrk_r (struct _reent *r, int incr)
52 {
53         ( void ) r;
54         ( void ) incr;
55         
56         return 0;
57 }
58
59 /***************************************************************************/
60
61 int _fstat_r (struct _reent *r, int file, struct stat * st)
62 {
63         ( void ) r;
64         ( void ) file;
65         ( void ) st;
66         
67         return 0;
68 }
69
70 /***************************************************************************/
71
72 int _isatty_r(struct _reent *r, int fd)
73 {
74         ( void ) r;
75         ( void ) fd;
76         
77         return 0;
78 }
79
80
81
82