Daniel Pouzzner a3fb5029f8 clean up trailing whitespace and misplaced CRLFs, add missing final newlines, remove stray UTF8 nonprintables (BOMs) and ASCIIfy stray homoglyphs (spaces and apostrophes), guided by expanded coverage in wolfssl-multi-test check-source-text. | 3 months ago | |
---|---|---|
.. | ||
wolfcrypt_test.X | 10 months ago | |
wolfssl.X | 10 months ago | |
README.md | 10 months ago | |
include.am | 10 months ago | |
main.c | 10 months ago | |
user_settings.h | 3 months ago |
This directory contains project files for the Microchip MPLAB X IDE. These projects have been set up to use the Microchip PIC24 Starter Kit and the Microchip XC16 compiler.
In order to generate the necessary auto-generated MPLAB X files, make sure to import the wolfssl.X project into your MPLAB X workspace before trying to build the wolfCrypt test. This will correctly set up the respective project's Makefiles.
This project builds a static wolfSSL library. The settings for this project are in user_settings.h
:
<wolfssl_root>/IDE/MPLABX16/user_settings.h
After this project has been built, the compiled library will be located at:
<wolfssl_root>/IDE/MPLABX16/wolfssl.X/dist/default/production/wolfssl.X.a
This project tests the wolfCrypt cryptography modules. It is generally a good idea to run this first on an embedded system after compiling wolfSSL in order to verify all underlying crypto is working correctly. This project depends on files generated by Microchip's MCC tool to view the UART output. Follow the steps below to generate that code.
Open the MPLAB Code Configurator application.
Set the Project path to the wolfSSL/IDE/MPLABX16 and enter your PIC device into the interface.
Select MCC Clasic as the content type and click Finish
.
Under the Device Resources section, find the UART entry and add the UART1 peripheral.
Note the UART settings and check the Enable UART Interrupts
and
Redirect Printf to UART
boxes.
Click the Generate
button.
Note : If using an older version of xc16
, you may have to add the
following to user_settings.h
.
#define WOLFSSL_HAVE_MIN
#define WOLFSSL_HAVE_MAX
Please send questions or comments to support@wolfssl.com