From adb9d27e9eb896e8842724b57f20d38b9cdb9e38 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 6 Oct 2015 16:11:28 -0700 Subject: [PATCH] Fixed release distribution of the Rowley IDE example. Added section in README for required library functions. --- IDE/ROWLEY-CROSSWORKS-ARM/README.md | 7 +++++++ IDE/ROWLEY-CROSSWORKS-ARM/include.am | 2 +- IDE/include.am | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/IDE/ROWLEY-CROSSWORKS-ARM/README.md b/IDE/ROWLEY-CROSSWORKS-ARM/README.md index 5209dc074..14bf47c3b 100644 --- a/IDE/ROWLEY-CROSSWORKS-ARM/README.md +++ b/IDE/ROWLEY-CROSSWORKS-ARM/README.md @@ -43,3 +43,10 @@ To enable Freescale MMCAU: * `test_main.c`: The main function entrypoint for test application. * `user_libc.c`: Defines stubs for functions required by libc. It also wraps hardware functions for UART, RTC and Random Number Generator (RNG). * `user_settings.h`: This is the custom user configuration file for WolfSSL. + +# Functions required by the WolfSSL Library + +If you are writting your own application, the following functions need to be implemented to support the WolfSSL library: + +* `double current_time(int reset)`: Returns a doulbe as seconds.milliseconds. +* `int custom_rand_generate(void)`: Returns a 32-bit randomly generated number. diff --git a/IDE/ROWLEY-CROSSWORKS-ARM/include.am b/IDE/ROWLEY-CROSSWORKS-ARM/include.am index 2ff200b42..d7b17a037 100644 --- a/IDE/ROWLEY-CROSSWORKS-ARM/include.am +++ b/IDE/ROWLEY-CROSSWORKS-ARM/include.am @@ -10,6 +10,6 @@ EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM/Kinetis_MemoryMap.xml EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM/Kinetis_FlashPlacement.xml EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM/README.md EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM/test_main.c -EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM/user_lib.c +EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM/user_libc.c EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM/user_settings.h EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM/wolfssl.hzp diff --git a/IDE/include.am b/IDE/include.am index f6caad332..008e6ddda 100644 --- a/IDE/include.am +++ b/IDE/include.am @@ -5,5 +5,6 @@ include IDE/iOS/include.am include IDE/WIN/include.am include IDE/WORKBENCH/include.am +include IDE/ROWLEY-CROSSWORKS-ARM/include.am EXTRA_DIST+= IDE/IAR-EWARM IDE/MDK-ARM IDE/MDK5-ARM IDE/MYSQL