Merge pull request #1830 from dgarske/renesas

Fixes for Renesas example projects
This commit is contained in:
Chris Conlon 2018-09-11 15:40:00 -06:00 committed by GitHub
commit 66dc735454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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:
Build wolfssl_lib.lib
@ -10,4 +11,3 @@ test:
- set heap size in sbrk.h
- set stack size in stacksct.h
Build test wolfCrypt

View File

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

View File

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

View File

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

View File

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