2
0

README 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. The settings for this project
  13. are in `user_settings.h`:
  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 PIC32MZ by default. For PIC32MX, comment out the
  29. `WOLFSSL_MICROCHIP_PIC32MZ` line in `user_settings.h`.
  30. You also need to adjust the microcontroller device in the project properties.
  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. Legacy Peripheral Libraries
  37. ___________________________
  38. If you get a linker error locating `ReadCoreTimer` and `WriteCoreTimer` you
  39. can enable wrappers in benchmark_main.c and test_main.c.
  40. Support
  41. -------
  42. Please send questions or comments to support@wolfssl.com