mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-02 12:24:07 -04:00
Add Red Suite project back in minus the workspace.
This commit is contained in:
parent
756a1bb4ec
commit
c36f76a062
43 changed files with 9942 additions and 0 deletions
82
Demo/CORTEX_LPC1766_GCC_RedSuite/syscalls.c
Normal file
82
Demo/CORTEX_LPC1766_GCC_RedSuite/syscalls.c
Normal file
|
@ -0,0 +1,82 @@
|
|||
/* Don't need anything here. */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
int _read_r (struct _reent *r, int file, char * ptr, int len)
|
||||
{
|
||||
( void ) r;
|
||||
( void ) file;
|
||||
( void ) ptr;
|
||||
( void ) len;
|
||||
return -1;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
int _lseek_r (struct _reent *r, int file, int ptr, int dir)
|
||||
{
|
||||
( void ) r;
|
||||
( void ) file;
|
||||
( void ) ptr;
|
||||
( void ) dir;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
int _write_r (struct _reent *r, int file, char * ptr, int len)
|
||||
{
|
||||
( void ) r;
|
||||
( void ) file;
|
||||
( void ) ptr;
|
||||
( void ) len;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
int _close_r (struct _reent *r, int file)
|
||||
{
|
||||
( void ) r;
|
||||
( void ) file;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
caddr_t _sbrk_r (struct _reent *r, int incr)
|
||||
{
|
||||
( void ) r;
|
||||
( void ) incr;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
int _fstat_r (struct _reent *r, int file, struct stat * st)
|
||||
{
|
||||
( void ) r;
|
||||
( void ) file;
|
||||
( void ) st;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
int _isatty_r(struct _reent *r, int fd)
|
||||
{
|
||||
( void ) r;
|
||||
( void ) fd;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue