README 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. wolfSSL MPLAB X Project Files
  2. This directory contains project files for the Microchip MPLAB X IDE. These
  3. projects have been set up to use the Microchip PIC32 Ethernet Starter Kit
  4. and the Microchip XC32 compiler.
  5. In order to generate the necessary auto-generated MPLAB X files, make sure
  6. to import the wolfssl.X project into your MPLAB X workspace before trying to
  7. build either the wolfCrypt test or benchmark applications. This will
  8. correctly set up the respective project's Makefiles.
  9. Included Project Files
  10. -----------------------
  11. 1. wolfSSL library (wolfssl.X)
  12. This project builds a static wolfSSL library. Prior to building this
  13. project, uncomment the MICROCHIP_PIC32 define located in:
  14. <wolfssl_root>/wolfssl/wolfcrypt/settings.h
  15. After this project has been built, the compiled library will be located
  16. at:
  17. <wolfssl_root>/mplabx/wolfssl.X/dist/default/production/wolfssl.X.a
  18. 2. wolfCrypt Test App (wolfcrypt_test.X)
  19. This project tests the wolfCrypt cryptography modules. It is generally
  20. a good idea to run this first on an embedded system after compiling
  21. wolfSSL in order to verify all underlying crypto is working correctly.
  22. 3. wolfCrypt Benchmark App (wolfcrypt_benchmark.X)
  23. This project builds the wolfCrypt benchmark application.
  24. For the benchmark timer, adjust CLOCK value under
  25. "#elif defined MICROCHIP_PIC32" in wolfcrypt/benchmark/benchmark.c
  26. PIC32MX/PIC32MZ
  27. ---------------
  28. The projects are set for PIC32MX by default. For PIC32MZ, change project
  29. properties->Devices and add "CYASSL_MICROCHIP_PIC32M" to
  30. XC32-gcc->Preprocessing and messages-> Preprocessor macros.
  31. MIPS16 and MIPS32 Support
  32. -------------------------
  33. These projects support both MIPS16 and MIPS32 instruction sets. Switching
  34. between these two instruction sets can be done in each project's properties
  35. settings by checking the "Generate 16-bit code" checkbox.
  36. Support
  37. -------
  38. Please send questions or comments to support@wolfssl.com