README 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. CyaSSL 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 cyassl.X project into your MPLAB X workspace before trying to
  7. build either the CTaoCrypt test or benchmark applications. This will
  8. correctly set up the respective project's Makefiles.
  9. Included Project Files
  10. -----------------------
  11. 1. CyaSSL library (cyassl.X)
  12. This project builds a static CyaSSL library. Prior to building this
  13. project, uncomment the MICROCHIP_PIC32 define located in:
  14. <cyassl_root>/cyassl/ctaocrypt/settings.h
  15. After this project has been built, the compiled library will be located
  16. at:
  17. <cyassl_root>/mplabx/cyassl.X/dist/default/production/cyassl.X.a
  18. 2. CTaoCrypt Test App (ctaocrypt_test.X)
  19. This project tests the CTaoCrypt cryptography modules. It is generally
  20. a good idea to run this first on an embedded system after compiling
  21. CyaSSL in order to verify all underlying crypto is working correctly.
  22. 3. CTaoCrypt Benchmark App (ctaocrypt_benchmark.X)
  23. This project builds the CTaoCrypt benchmark application.
  24. For the benchmark timer, adjust CLOCK value under
  25. "#elif defined MICROCHIP_PIC32" in ctaocrypt/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