diff --git a/wolfcrypt/src/port/Renesas/README_TSIP.md b/wolfcrypt/src/port/Renesas/README.md similarity index 89% rename from wolfcrypt/src/port/Renesas/README_TSIP.md rename to wolfcrypt/src/port/Renesas/README.md index 3bf8ae017..a9cb19e0d 100644 --- a/wolfcrypt/src/port/Renesas/README_TSIP.md +++ b/wolfcrypt/src/port/Renesas/README.md @@ -25,7 +25,8 @@ Note : The included example program is tested with [GR-ROSE](http://gadget.renes ## Setup and Build wolfSSL library 1. Uncomment out #define WOLFSSL_RENESAS_TSIP in /path/to/wolfssl/wolfssl/wolfcrypt/settings.h Uncomment out #define WOLFSSL_RENESAS_RX65N in /path/to/wolfssl/wolfssl/wolfcrypt/settings.h - 2. Open a project file at /path/to/wolfssl/IDE/Renesas/e2studio/Projects/wolfssl/ by e2studio and build to create wolfssl library + 2. Open a project file at /path/to/wolfssl/IDE/Renesas/e2studio/Projects/wolfssl/ by e2studio and build to create wolfssl library +Note : Generating FIT module source files in advance are required to compile wolfSSL when enabling WOLFSSL_RENESAS_TSIP and WOLFSSL_RENESAS_RX65N. Please see for creating FIT module files at "Setup and Build and example program" in this readme below. To disable portions of the hardware acceleration you can optionally define: @@ -99,7 +100,23 @@ These needed source files can be generated by creating a dummy project including Change IP ADDRESS and PORT NUMBER in r_t4_rx_config.h `#define T4_CFG_FIXED_IP_ADDRESS_CH0 192,168,1,33` `#define T4_CFG_TCP_REPID1_PORT_NUMBER 11111` - Note: It would need to modify other configuration base on evaluation board. + Note: It would need to modify other configuration base on evaluation board. + + When using GR-ROSE, you can choose "GR-ROSE" from "board" tab and "board" drop-down list and then is able to follow settings below: + + Go to component tab and open r_ether_rx properties: + Ethernet interface : RMII + The register bus of PHY0 for ETHER0/1: Use ETHER0 + Resource, ETHERC: Check ETHERC0_RMII + + Go to component tab and open r_t4_rx properties: + Enable/Disable DHCP function : 0 + IP address for ch0, when DHCP disable : 192,168,1,33 + TCP REPID1 prot number : 11111 + + Go to pins tab and select ethernet controller + Check to use pins + 3. Generate source code Now, it is able to copy these FIT modules into an example project. 4. Make "smc_gen" folder under /path/to/wolfssl/IDE/Renesas/e2studio/Projects/test/src/