
This directory contains e2studio projects targeted at the Renesas RA 32-bit MCUs.\ The example projects include a wolfSSL TLS 1.2 client and server.\ They also include benchmark and cryptography tests for the wolfCrypt library.
The wolfssl project contains both the wolfSSL and wolfCrypt libraries.\ It is built as a Renesas RA C Library Project and contains the Renesas RA\ configuration.
The other projects (benchmark, client, server and test) are built as a\ Renesas RA C Project Using RA Library, where the RA library is the wolfssl project.\ The wolfssl Project Summary is listed below and is relevant for every project.
Board: EK-RA6M3G\ Device: R7FA6M3AH3CFC\ Toolchain: GCC ARM Embedded\ FSP Version: 0.8.0
Board Support Package Common Files v0.8.0\ Arm CMSIS Version 5 - Core (M) v5.5.1\ Amazon FreeRTOS v0.8.0\ RA6M3G-EK Board Support Files v0.8.0\ Board support package for R7FA6M3AH3CFC v0.8.0\ Board support package for RA6M3 v0.8.0\ Board support package for RA6M3 v0.8.0\ Amazon FreeRTOS - Memory Management - Heap 4 v0.8.0\ r_ether to FreeRTOS+TCP Wrapper v0.8.0\ Ethernet v0.8.0\ Ethernet PHY v0.8.0\ FreeRTOS+TCP v0.8.0\ Amazon FreeRTOS - Buffer Allocation 2 v0.8.0
The project directories are missing files necessary to build the project.\ These files can be generated when creating a new Renesas RA Project.\ The following steps explain how to generate the missing files and where to place them.
1.) Create a 'dummy' Renesas RA C Library Project.
RA C/C++ ProjectRenesas RA C Library Project. Click Nextdummy_library as the project name. Click Next.Board: Custom User Board, select EK-RA6M3G.RTOS: No RTOS, select Amazon FreeRTOS.Amazon FreeRTOS - Minimal - Static Allocation2.) Create a 'dummy' Renesas RA C Project Using RA Library.
RA C/C++ ProjectRenesas RA C Project Using RA Library. Click Nextdummy_app as the project name. Click Next.RA library project, select dummy_library.3.) Import all the wolfSSL Projects into e2studio workspace.
Open Projects from File SystemDirectory... to the right of Import sourceClick Finish.
4.) Copy files from dummy_library into wolfSSL_RA6M3G
ra/\ ra_gen/\ ra_cfg/\ script/\ R7FA6M3AH3CFC.pincfg\ RA6M3G-EK.pingcfgdummy_library project can now be deleted.Open RA Configuration in the top bar (Grey Settings Cog)Generate Project Content at top right (Green Icon)5.) Copy files from dummy_app into ./IDE/Renesas/e2studio/RA6M3G/common/ra6m3g/\ NOTE: This may need to be done outside of the e2studio environment (e.g. File Explorer).
src/\ script/./IDE/Renesas/e2studio/RA6M3G/common/ra6m3g/\ (The test, benchmark, client and server projects link to this folder.)dummy_app project can now be deleted.6.) Setup Network Environment
The client and server projects have defines inside their wolfssl_thread_entry.h.
These defines (ucIPAddress ... ucDNSServerAddress) may need to be changed
based on your internal network environment. The g_ether0_mac_address is the default
mac address found inside the RA configuration inside the wolfssl project.
The client wolfssl_thread_entry.h has defines (SERVER_IP and DEFAULT_PORT) that
will need to be changed based on the server you're trying to connect to over
the ethernet connection.
Right-Click each Project and select Build.
1.) Right-Click the Project name.\ 2.) Select Debug As -> Renesas GDB Hardware Debugging\ 3.) Select J-Link ARM. Click OK.\ 4.) Select R7Fa6M3AH. Click OK.
1.) Right-Click the Project name.\ 2.) Select Debug As -> Renesas GDB Hardware Debugging\ 3.) Select J-Link ARM. Click OK.\ 4.) Select R7Fa6M3AH. Click OK.\ 5.) Run the following wolfSSL example client command inside the base of the wolfssl directory.
NOTE: "ucIPAddress" is "192.168.1.241" by default. (See wolfssl_thread_entry.h)
1.) Run the following wolfSSL example server command inside the base of the wolfssl directory.
NOTE: The port 11111 is the DEFAULT_PORT inside wolfssl_thread_entry.h.\ If DEFAULT_PORT was changed then the above command will need to match it.
2.) Right-Click the Project name.\ 3.) Select Debug As -> Renesas GDB Hardware Debugging\ 4.) Select J-Link ARM. Click OK.\ 5.) Select R7Fa6M3AH. Click OK.
Support Email: support@wolfssl.com