diff --git a/inc/assert.h b/inc/assert.h index 01777fe..ffc8150 100644 --- a/inc/assert.h +++ b/inc/assert.h @@ -1,7 +1,7 @@ #ifndef _ASSERT_H #define _ASSERT_H -#include + #include diff --git a/inc/ctype.h b/inc/ctype.h index 2c6e5b7..c973e7b 100644 --- a/inc/ctype.h +++ b/inc/ctype.h @@ -1,7 +1,7 @@ #ifndef _RTCTYPE_H #define _RTCTYPE_H -#include + #include diff --git a/inc/math.h b/inc/math.h index 5bf3478..eeb5e8a 100644 --- a/inc/math.h +++ b/inc/math.h @@ -2,7 +2,6 @@ #define _RTLIBC_MATH_H -#include #include diff --git a/inc/printf.h b/inc/printf.h index afb6a3f..033b911 100644 --- a/inc/printf.h +++ b/inc/printf.h @@ -2,7 +2,6 @@ #define _RTPRINTF_H -#include #include diff --git a/inc/stdio.h b/inc/stdio.h index 4e5ab16..743ee42 100644 --- a/inc/stdio.h +++ b/inc/stdio.h @@ -1,7 +1,6 @@ #ifndef _RTSTDIO_H #define _RTSTDIO_H -#include #include #include diff --git a/inc/stdlib.h b/inc/stdlib.h index 71d324d..511e4a5 100644 --- a/inc/stdlib.h +++ b/inc/stdlib.h @@ -1,7 +1,6 @@ #ifndef _RTSTDLIB_H #define _RTSTDLIB_H -#include #include #include diff --git a/inc/string.h b/inc/string.h index 4e5c877..bbdc908 100644 --- a/inc/string.h +++ b/inc/string.h @@ -1,7 +1,6 @@ #ifndef _RTSTRING_H #define _RTSTRING_H -#include #include #include diff --git a/inc/types.h b/inc/types.h index b62b174..21529a3 100644 --- a/inc/types.h +++ b/inc/types.h @@ -1,7 +1,6 @@ #ifndef _RTTYPES_H #define _RTTYPES_H -#include #include #endif diff --git a/rtlibc.mk b/rtlibc.mk index ae60fd4..ca44ee1 100644 --- a/rtlibc.mk +++ b/rtlibc.mk @@ -1,3 +1,5 @@ +RTLIBC_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) + CSRCS += \ $(RTLIBC_PATH)/src/iprintf.c \ $(RTLIBC_PATH)/src/printf.c \ diff --git a/template/rtlibc_conf.h b/template/rtlibc_conf.h deleted file mode 100644 index ec99291..0000000 --- a/template/rtlibc_conf.h +++ /dev/null @@ -1,40 +0,0 @@ -/****************************************************************************** -* File: rtlibc_conf.h -* -* Description: RTLIBC configuration include file -* Must be copied in the application directory -* and customized. -* -* (C) 2016 Thornwave Labs LLC. -* -* This unpublished material is property of Thornwave Labs LLC. -* All rights reserved. The methods and techniques described herein -* are considered trade secrets and/or confidential. -* Reproduction or distribution, in whole or in part, is forbidden -* except by express written permission of Thornwave Labs LLC. -* -******************************************************************************* -* Current version: 1.0 -* -* Change log -* ********** -* -* 1.0 Razvan Turiac 3/9/2016 Initial version -* -******************************************************************************/ -#ifndef _RTLIBC_CONF_H -#define _RTLIBC_CONF_H - - -//define this if the assert() code is needed -//if defined it will require the following hookups to be provided by the application -//void assert_failed_handler(const char *message, const char *file_name, uint32_t line_no); -#define _RTLIBC_ASSERT_ - - -//if defined it will use FreeRTOS allocator to provide malloc(), realloc() and free() -//#define _RTLIBC_MALLOC_FREERTOS_ - - -#endif -