Andras Fekete f4dae7cbaf Few more spelling mistakes | hace 1 mes | |
---|---|---|
.. | ||
wolfcrypt_test.X | hace 3 semanas | |
wolfssl.X | hace 3 semanas | |
README.md | hace 3 semanas | |
include.am | hace 9 meses | |
main.c | hace 9 meses | |
user_settings.h | hace 2 meses |
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 Classic 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