From 605ca8eaf6ce3098bbd37aac0132a33ee07de1ab Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Wed, 18 Mar 2015 18:18:09 -0600 Subject: [PATCH] update Freescale CodeWarrior project files to wolfSSL --- Makefile.am | 8 +-- mqx/README | 20 +++--- mqx/cyassl_client/Sources/include.am | 22 ------ mqx/wolfcrypt_benchmark/.cproject | 18 ++--- mqx/wolfcrypt_benchmark/.project | 6 +- .../ReferencedRSESystems.xml | 26 +++---- mqx/wolfcrypt_benchmark/Sources/include.am | 28 ++++---- mqx/wolfcrypt_benchmark/Sources/main.c | 2 +- ...lash_DDRData_Debug_PnE_U-MultiLink.launch} | 0 ...sh_DDRData_Release_PnE_U-MultiLink.launch} | 0 ...ash_SramData_Debug_PnE_U-MultiLink.launch} | 0 ...h_SramData_Release_PnE_U-MultiLink.launch} | 0 mqx/wolfcrypt_test/.cproject | 18 ++--- mqx/wolfcrypt_test/.project | 6 +- mqx/wolfcrypt_test/ReferencedRSESystems.xml | 26 +++---- mqx/wolfcrypt_test/Sources/include.am | 8 +-- mqx/wolfcrypt_test/Sources/main.c | 4 +- mqx/wolfcrypt_test/Sources/main.h | 2 +- ...lash_DDRData_Debug_PnE_U-MultiLink.launch} | 0 ...sh_DDRData_Release_PnE_U-MultiLink.launch} | 0 ...ash_SramData_Debug_PnE_U-MultiLink.launch} | 0 ...h_SramData_Release_PnE_U-MultiLink.launch} | 0 mqx/{cyassl => wolfssl}/.cproject | 20 +++--- mqx/{cyassl => wolfssl}/.project | 10 +-- mqx/{cyassl => wolfssl}/include.am | 4 +- .../.cproject | 42 ++++++------ .../.project | 6 +- .../Debugger/K70FN1M0.mem | 0 .../Debugger/init_kinetis.tcl | 0 .../Debugger/mass_erase_kinetis.tcl | 0 .../ReferencedRSESystems.xml | 28 ++++---- mqx/wolfssl_client/Sources/include.am | 22 ++++++ .../Sources/main.c | 68 +++++++++---------- .../Sources/main.h | 4 +- ...lash_DDRData_Debug_PnE_U-MultiLink.launch} | 6 +- ...sh_DDRData_Release_PnE_U-MultiLink.launch} | 6 +- ...20m_Int_Flash_SramData_Debug_JTrace.jlink} | 0 ...0m_Int_Flash_SramData_Debug_JTrace.launch} | 6 +- ...ash_SramData_Debug_PnE_U-MultiLink.launch} | 6 +- ...h_SramData_Release_PnE_U-MultiLink.launch} | 6 +- 40 files changed, 215 insertions(+), 213 deletions(-) delete mode 100644 mqx/cyassl_client/Sources/include.am rename mqx/wolfcrypt_benchmark/{wolfcrypt_benchmark_twrk70f120m_Int_Flash_DDRData_Debug_PnE U-MultiLink.launch => wolfcrypt_benchmark_twrk70f120m_Int_Flash_DDRData_Debug_PnE_U-MultiLink.launch} (100%) rename mqx/wolfcrypt_benchmark/{wolfcrypt_benchmark_twrk70f120m_Int_Flash_DDRData_Release_PnE U-MultiLink.launch => wolfcrypt_benchmark_twrk70f120m_Int_Flash_DDRData_Release_PnE_U-MultiLink.launch} (100%) rename mqx/wolfcrypt_benchmark/{wolfcrypt_benchmark_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch => wolfcrypt_benchmark_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch} (100%) rename mqx/wolfcrypt_benchmark/{wolfcrypt_benchmark_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch => wolfcrypt_benchmark_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch} (100%) rename mqx/wolfcrypt_test/{wolfcrypt_test_twrk70f120m_Int_Flash_DDRData_Debug_PnE U-MultiLink.launch => wolfcrypt_test_twrk70f120m_Int_Flash_DDRData_Debug_PnE_U-MultiLink.launch} (100%) rename mqx/wolfcrypt_test/{wolfcrypt_test_twrk70f120m_Int_Flash_DDRData_Release_PnE U-MultiLink.launch => wolfcrypt_test_twrk70f120m_Int_Flash_DDRData_Release_PnE_U-MultiLink.launch} (100%) rename mqx/wolfcrypt_test/{wolfcrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch => wolfcrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch} (100%) rename mqx/wolfcrypt_test/{wolfcrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch => wolfcrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch} (100%) rename mqx/{cyassl => wolfssl}/.cproject (95%) rename mqx/{cyassl => wolfssl}/.project (74%) rename mqx/{cyassl => wolfssl}/include.am (66%) rename mqx/{cyassl_client => wolfssl_client}/.cproject (94%) rename mqx/{cyassl_client => wolfssl_client}/.project (89%) rename mqx/{cyassl_client => wolfssl_client}/Debugger/K70FN1M0.mem (100%) rename mqx/{cyassl_client => wolfssl_client}/Debugger/init_kinetis.tcl (100%) rename mqx/{cyassl_client => wolfssl_client}/Debugger/mass_erase_kinetis.tcl (100%) rename mqx/{cyassl_client => wolfssl_client}/ReferencedRSESystems.xml (92%) create mode 100644 mqx/wolfssl_client/Sources/include.am rename mqx/{cyassl_client => wolfssl_client}/Sources/main.c (81%) rename mqx/{cyassl_client => wolfssl_client}/Sources/main.h (94%) rename mqx/{cyassl_client/cyassl_client_twrk70f120m_Int_Flash_DDRData_Debug_PnE U-MultiLink.launch => wolfssl_client/wolfssl_client_twrk70f120m_Int_Flash_DDRData_Debug_PnE_U-MultiLink.launch} (99%) rename mqx/{cyassl_client/cyassl_client_twrk70f120m_Int_Flash_DDRData_Release_PnE U-MultiLink.launch => wolfssl_client/wolfssl_client_twrk70f120m_Int_Flash_DDRData_Release_PnE_U-MultiLink.launch} (98%) rename mqx/{cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_JTrace.jlink => wolfssl_client/wolfssl_client_twrk70f120m_Int_Flash_SramData_Debug_JTrace.jlink} (100%) rename mqx/{cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_JTrace.launch => wolfssl_client/wolfssl_client_twrk70f120m_Int_Flash_SramData_Debug_JTrace.launch} (99%) rename mqx/{cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch => wolfssl_client/wolfssl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch} (99%) rename mqx/{cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch => wolfssl_client/wolfssl_client_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch} (99%) diff --git a/Makefile.am b/Makefile.am index 5def2496f..2cbb27616 100644 --- a/Makefile.am +++ b/Makefile.am @@ -79,11 +79,11 @@ include testsuite/include.am include tests/include.am include sslSniffer/sslSnifferTest/include.am include rpm/include.am -# TODO: fix, this commented out mqx ones have spaces in file names -#include mqx/wolfcrypt_test/Sources/include.am -include mqx/cyassl/include.am -#include mqx/cyassl_client/Sources/include.am include mqx/util_lib/Sources/include.am +include mqx/wolfcrypt_benchmark/Sources/include.am +include mqx/wolfcrypt_test/Sources/include.am +include mqx/wolfssl/include.am +include mqx/wolfssl_client/Sources/include.am include mplabx/include.am include mplabx/wolfcrypt_benchmark.X/nbproject/include.am include mplabx/wolfcrypt_test.X/nbproject/include.am diff --git a/mqx/README b/mqx/README index d99785373..55c13c671 100644 --- a/mqx/README +++ b/mqx/README @@ -1,4 +1,4 @@ -CyaSSL Freescale CodeWarrior Project Files +wolfSSL Freescale CodeWarrior Project Files This directory contains project files for Freescale CodeWarrior 10.6 with the Freescale GCC compiler. These project have been created to use MQX, RTCS, @@ -7,20 +7,22 @@ and MFS on the Freescale Kinetis K70 Tower System (TWRK70F120M). Included Project Files ----------------------- -1. CyaSSL library (/cyassl) +1. wolfSSL library (/wolfssl) - Prior to building this project, uncomment the FREESCALE_MQX define + Prior to building this project, uncomment the FREESCALE_MQX define located in: - /cyassl/ctaocrypt/settings.h + /wolfssl/wolfcrypt/settings.h 2. wolfCrypt Test App (/wolfcrypt_test) -3. Example CyaSSL Client (/cyassl_client) +3. wolfCrypt Benchmark App (/wolfcrypt_benchmark) + +3. Example wolfSSL Client (/wolfssl_client) 4. Utility library (/util_lib) - This library is used by the CyaSSL example client project and wolfCrypt + This library is used by the wolfSSL example client project and wolfCrypt test app project for opening/closing the SD card, etc. Importing into CodeWarrior Workspace @@ -32,10 +34,10 @@ these steps: 1. File -> Import 2. General -> Existing Projects into Workspace -3. Select Root Directory (browse to this "/mqx" directory) +3. Select Root Directory (browse to this "/mqx" directory) 4. Select desired projects -> Finish -Keep in mind that the projects above reference CyaSSL source files and header +Keep in mind that the projects above reference wolfSSL source files and header files with relative paths to the projects' current location in the -/mqx directory. +/mqx directory. diff --git a/mqx/cyassl_client/Sources/include.am b/mqx/cyassl_client/Sources/include.am deleted file mode 100644 index de5221e49..000000000 --- a/mqx/cyassl_client/Sources/include.am +++ /dev/null @@ -1,22 +0,0 @@ -# vim:ft=automake -# All paths should be given relative to the root -# - -EXTRA_DIST += \ - mqx/cyassl_client/.cproject \ - mqx/cyassl_client/.project \ - mqx/cyassl_client/K70FN1M0.mem \ - mqx/cyassl_client/init_kinetis.tcl \ - mqx/cyassl_client/mass_erase_kinetis.tcl \ - mqx/cyassl_client/ReferencedRSESystems.xml \ - mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_DDRData_Debug_PnE U-MultiLink.launch \ - mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_DDRData_Release_PnE U-MultiLink.launch \ - mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_JTrace.jlink \ - mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_JTrace.launch \ - mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch \ - mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch - -EXTRA_DIST += \ - mqx/cyassl_client/Sources/main.c \ - mqx/cyassl_client/Sources/main.h - diff --git a/mqx/wolfcrypt_benchmark/.cproject b/mqx/wolfcrypt_benchmark/.cproject index 8c43e3c7e..d110e10ea 100755 --- a/mqx/wolfcrypt_benchmark/.cproject +++ b/mqx/wolfcrypt_benchmark/.cproject @@ -90,7 +90,7 @@ - +