JacobBarthelmeh 31a6a2bf59 update copyright to 2024 | 4 tháng trước cách đây | |
---|---|---|
.. | ||
lib_wolfssl | 4 tháng trước cách đây | |
wolf_example | 4 tháng trước cách đây | |
README.md | 5 năm trước cách đây |
To use, install the NXP LPCXpresso IDE and import the projects in a new workspace.
LPCExpresso.project
and LPCExpresso.cproject
files to .project
and .cproject
To setup this example to work with different baords/chips you will need to locate the LPCOpen sources for LPCXpresso on the NXP website and import the board and chip projects. Then you will need to update the "wolfssl_example" project properties to reference these projects (C/C++ General -> Paths and Symbols -> References). See the LPCOpen v2.xx LPCXpresso quickstart guide for all platforms for additional information.
wolf_example
. It has console options to run the Wolf tests and benchmarks ('t' for the WolfSSL Tests and 'b' for the WolfSSL Benchmarks).wolfssl
for WolfSSL. The WolfSSL port for the LPC18XX platform is located in IDE/LPCXPRESSO/lpc_18xx_port.c
. This has platform specific functions for current_time
and rand_gen
. The WOLF_USER_SETTINGS
define is set which allows all WolfSSL settings to exist in the user_settings.h
file (see this file for all customizations used).IDE/LPCXPRESSO/user_settings.h
. This provides a reference for library settings used to optimize for this embedded platform.
IDE/LPCXPRESSO/lpc_18xx_port.c
. This defines the required time and random number functions for the WolfSSL library.
IDE/LPCXPRESSO/wolf_example/wolf_example.c
. This shows use of the WolfSSL tests and benchmarks.