Fixes for Renesas example projects.

This commit is contained in:
David Garske
2018-09-11 09:38:24 -07:00
parent f90b7d6c37
commit a63da76e07
8 changed files with 28 additions and 28 deletions

View File

@ -1,3 +1,4 @@
This is procedure how to build wolfssl and test project on Renesas cs+.
wolfssl_lib: wolfssl_lib:
Build wolfssl_lib.lib Build wolfssl_lib.lib
@ -10,4 +11,3 @@ test:
- set heap size in sbrk.h - set heap size in sbrk.h
- set stack size in stacksct.h - set stack size in stacksct.h
Build test wolfCrypt Build test wolfCrypt

View File

@ -19,4 +19,4 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/ */
/* DUMMY Header */ /* DUMMY Header */

View File

@ -1,6 +1,6 @@
/* wolfssl_dummy.c /* wolfssl_dummy.c
* *
* Copyright (C) 2006-2017 wolfSSL Inc. * Copyright (C) 2006-2018 wolfSSL Inc.
* *
* This file is part of wolfSSL. * This file is part of wolfSSL.
* *
@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/ */
typedef unsigned long time_t; typedef unsigned long time_t;
#define YEAR 2018 #define YEAR 2018
@ -37,5 +37,5 @@ int strncasecmp(const char *s1, const char * s2, unsigned int sz)
for( ; sz>0; sz--) for( ; sz>0; sz--)
if(toupper(s1++) != toupper(s2++)) if(toupper(s1++) != toupper(s2++))
return 1; return 1;
return 0; return 0;
} }

View File

@ -2,11 +2,11 @@
# included from Top Level Makefile.am # included from Top Level Makefile.am
# All paths should be given relative to the root # All paths should be given relative to the root
EXTRA_DIST+= IDE/Renesas/cs+/README EXTRA_DIST+= IDE/Renesas/cs+/Projects/README
EXTRA_DIST+= IDE/Renesas/cs+/wolfssl_lib/wolfssl_lib.mtpj EXTRA_DIST+= IDE/Renesas/cs+/Projects/wolfssl_lib/wolfssl_lib.mtpj
EXTRA_DIST+= IDE/Renesas/cs+/test/test.mtpj EXTRA_DIST+= IDE/Renesas/cs+/Projects/test/test.mtpj
EXTRA_DIST+= IDE/Renesas/cs+/test/test_main.c EXTRA_DIST+= IDE/Renesas/cs+/Projects/test/test_main.c
EXTRA_DIST+= IDE/Renesas/cs+/common/wolfssl_dummy.c EXTRA_DIST+= IDE/Renesas/cs+/Projects/common/wolfssl_dummy.c
EXTRA_DIST+= IDE/Renesas/cs+/common/strings.h EXTRA_DIST+= IDE/Renesas/cs+/Projects/common/strings.h
EXTRA_DIST+= IDE/Renesas/cs+/common/unistd.h EXTRA_DIST+= IDE/Renesas/cs+/Projects/common/unistd.h
EXTRA_DIST+= IDE/Renesas/cs+/common/user_settings.h EXTRA_DIST+= IDE/Renesas/cs+/Projects/common/user_settings.h

View File

@ -14,4 +14,4 @@ test:
https://www.renesas.com/jp/ja/software/D3012028.html https://www.renesas.com/jp/ja/software/D3012028.html
Build test wolfCrypt Build test wolfCrypt
Setting MPU: R5F565MLCxFC Setting MPU: R5F565MLCxFC

View File

@ -19,4 +19,4 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/ */
/* DUMMY Header */ /* DUMMY Header */

View File

@ -1,6 +1,6 @@
/* wolfssl_dummy.c /* wolfssl_dummy.c
* *
* Copyright (C) 2006-2017 wolfSSL Inc. * Copyright (C) 2006-2018 wolfSSL Inc.
* *
* This file is part of wolfSSL. * This file is part of wolfSSL.
* *
@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/ */
typedef unsigned long time_t; typedef unsigned long time_t;
#define YEAR 2018 #define YEAR 2018
@ -37,5 +37,5 @@ int strncasecmp(const char *s1, const char * s2, unsigned int sz)
for( ; sz>0; sz--) for( ; sz>0; sz--)
if(toupper(s1++) != toupper(s2++)) if(toupper(s1++) != toupper(s2++))
return 1; return 1;
return 0; return 0;
} }

View File

@ -2,13 +2,13 @@
# included from Top Level Makefile.am # included from Top Level Makefile.am
# All paths should be given relative to the root # All paths should be given relative to the root
EXTRA_DIST+= IDE/Renesas/e2studio/README EXTRA_DIST+= IDE/Renesas/e2studio/Projects/README
EXTRA_DIST+= IDE/Renesas/e2studio/wolfssl/.cproject EXTRA_DIST+= IDE/Renesas/e2studio/Projects/wolfssl/.cproject
EXTRA_DIST+= IDE/Renesas/e2studio/wolfssl/.project EXTRA_DIST+= IDE/Renesas/e2studio/Projects/wolfssl/.project
EXTRA_DIST+= IDE/Renesas/e2studio/test/.cproject EXTRA_DIST+= IDE/Renesas/e2studio/Projects/test/.cproject
EXTRA_DIST+= IDE/Renesas/e2studio/test/.project EXTRA_DIST+= IDE/Renesas/e2studio/Projects/test/.project
EXTRA_DIST+= IDE/Renesas/e2studio/test/src/test_main.c EXTRA_DIST+= IDE/Renesas/e2studio/Projects/test/src/test_main.c
EXTRA_DIST+= IDE/Renesas/e2studio/common/wolfssl_dummy.c EXTRA_DIST+= IDE/Renesas/e2studio/Projects/common/wolfssl_dummy.c
EXTRA_DIST+= IDE/Renesas/e2studio/common/strings.h EXTRA_DIST+= IDE/Renesas/e2studio/Projects/common/strings.h
EXTRA_DIST+= IDE/Renesas/e2studio/common/uninstd.h EXTRA_DIST+= IDE/Renesas/e2studio/Projects/common/unistd.h
EXTRA_DIST+= IDE/Renesas/e2studio/common/user_settings.h EXTRA_DIST+= IDE/Renesas/e2studio/Projects/common/user_settings.h