git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9907 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-11-15 10:18:14 +00:00
parent ff5235cad8
commit 5e2be6ab30
2 changed files with 9 additions and 0 deletions

View File

@ -67,6 +67,7 @@
/***************************************************************************/ /***************************************************************************/
__attribute__((used))
int _read_r(struct _reent *r, int file, char * ptr, int len) int _read_r(struct _reent *r, int file, char * ptr, int len)
{ {
(void)r; (void)r;
@ -88,6 +89,7 @@ int _read_r(struct _reent *r, int file, char * ptr, int len)
/***************************************************************************/ /***************************************************************************/
__attribute__((used))
int _lseek_r(struct _reent *r, int file, int ptr, int dir) int _lseek_r(struct _reent *r, int file, int ptr, int dir)
{ {
(void)r; (void)r;
@ -100,6 +102,7 @@ int _lseek_r(struct _reent *r, int file, int ptr, int dir)
/***************************************************************************/ /***************************************************************************/
__attribute__((used))
int _write_r(struct _reent *r, int file, char * ptr, int len) int _write_r(struct _reent *r, int file, char * ptr, int len)
{ {
(void)r; (void)r;
@ -117,6 +120,7 @@ int _write_r(struct _reent *r, int file, char * ptr, int len)
/***************************************************************************/ /***************************************************************************/
__attribute__((used))
int _close_r(struct _reent *r, int file) int _close_r(struct _reent *r, int file)
{ {
(void)r; (void)r;
@ -127,6 +131,7 @@ int _close_r(struct _reent *r, int file)
/***************************************************************************/ /***************************************************************************/
__attribute__((used))
caddr_t _sbrk_r(struct _reent *r, int incr) caddr_t _sbrk_r(struct _reent *r, int incr)
{ {
#if CH_CFG_USE_MEMCORE #if CH_CFG_USE_MEMCORE
@ -149,6 +154,7 @@ caddr_t _sbrk_r(struct _reent *r, int incr)
/***************************************************************************/ /***************************************************************************/
__attribute__((used))
int _fstat_r(struct _reent *r, int file, struct stat * st) int _fstat_r(struct _reent *r, int file, struct stat * st)
{ {
(void)r; (void)r;
@ -161,6 +167,7 @@ int _fstat_r(struct _reent *r, int file, struct stat * st)
/***************************************************************************/ /***************************************************************************/
__attribute__((used))
int _isatty_r(struct _reent *r, int fd) int _isatty_r(struct _reent *r, int fd)
{ {
(void)r; (void)r;

View File

@ -147,6 +147,8 @@
- RT: Merged RT4. - RT: Merged RT4.
- NIL: Merged NIL2. - NIL: Merged NIL2.
- NIL: Added STM32F7 demo. - NIL: Added STM32F7 demo.
- VAR: Fixed GCC garbage collector discards code in syscalls.c (bug #789)
(backported to 16.1.6, 3.0.6).
- HAL: Fixed Makefile dependencies not generated for .S files (bug #787) - HAL: Fixed Makefile dependencies not generated for .S files (bug #787)
(backported to 16.1.6, 3.0.6). (backported to 16.1.6, 3.0.6).
- HAL: Fixed OTGv1 driver not functional on STM32L4 (bug #786)(backported - HAL: Fixed OTGv1 driver not functional on STM32L4 (bug #786)(backported