From a3caa03381c7976f05ca29acb65e4321ae17b58b Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Thu, 31 Jan 2013 10:20:29 -0700 Subject: [PATCH] tie MQX directory into automake, update docs --- Makefile.am | 4 ++ mplabx/README | 2 +- mqx/README | 37 +++++++++++++++++++ mqx/ctaocrypt_test/Sources/include.am | 15 ++++++++ ...ash_SramData_Debug_PnE_U-MultiLink.launch} | 0 ...h_SramData_Release_PnE_U-MultiLink.launch} | 0 mqx/cyassl/include.am | 8 ++++ mqx/cyassl_client/Sources/include.am | 15 ++++++++ ...ash_SramData_Debug_PnE_U-MultiLink.launch} | 0 ...h_SramData_Release_PnE_U-MultiLink.launch} | 0 mqx/util_lib/Sources/include.am | 12 ++++++ 11 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 mqx/README create mode 100644 mqx/ctaocrypt_test/Sources/include.am rename mqx/ctaocrypt_test/{ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch => ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch} (100%) rename mqx/ctaocrypt_test/{ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch => ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch} (100%) create mode 100644 mqx/cyassl/include.am create mode 100644 mqx/cyassl_client/Sources/include.am rename mqx/cyassl_client/{cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch => cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch} (100%) rename mqx/cyassl_client/{cyassl_client_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch => cyassl_client_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch} (100%) create mode 100644 mqx/util_lib/Sources/include.am diff --git a/Makefile.am b/Makefile.am index 69d390cf0..62a1de399 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,6 +55,10 @@ include testsuite/include.am include tests/include.am include sslSniffer/sslSnifferTest/include.am include rpm/include.am +include mqx/ctaocrypt_test/Sources/include.am +include mqx/cyassl/include.am +include mqx/cyassl_client/Sources/include.am +include mqx/util_lib/Sources/include.am include mplabx/ctaocrypt_benchmark.X/nbproject/include.am include mplabx/ctaocrypt_test.X/nbproject/include.am include mplabx/cyassl.X/nbproject/include.am diff --git a/mplabx/README b/mplabx/README index c0d10f3d0..3879a79c7 100644 --- a/mplabx/README +++ b/mplabx/README @@ -13,7 +13,7 @@ Included Project Files 1. CyaSSL library (cyassl.X) - This project build a static CyaSSL library. Prior to building this + This project builds a static CyaSSL library. Prior to building this project, uncomment the MICROCHIP_PIC32 define located in: /cyassl/ctaocrypt/settings.h diff --git a/mqx/README b/mqx/README new file mode 100644 index 000000000..3765ba57b --- /dev/null +++ b/mqx/README @@ -0,0 +1,37 @@ +CyaSSL Freescale CodeWarrior Project Files + +This directory contains project files for Freescale CodeWarrior 10.2. These +project have been created to use MQX, RTCS, and MFS on the Freescale +Kinetis K70 Tower System. + +Included Project Files +----------------------- + +1. CyaSSL library (/cyassl) + + Prior to building this project, uncomment the FREESCALE_MQX define + located in: + + /cyassl/ctaocrypt/settings.h + +2. CTaoCrypt Test App (/ctaocrypt_test) + +3. Example CyaSSL Client (/cyassl_client) + + +Importing into CodeWarrior Workspace +------------------------------------ + +These projects can be imported into a CodeWarrior workspace using the standard +"Import Project" feature. To import a project from CodeWarrior, follow +these steps: + +1. File -> Import +2. General -> Existing Projects into Workspace +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 +files with relative paths to the projects' current location in the +/mqx directory. + diff --git a/mqx/ctaocrypt_test/Sources/include.am b/mqx/ctaocrypt_test/Sources/include.am new file mode 100644 index 000000000..b167955e2 --- /dev/null +++ b/mqx/ctaocrypt_test/Sources/include.am @@ -0,0 +1,15 @@ +# vim:ft=automake +# All paths should be given relative to the root +# + +EXTRA_DIST += \ + mqx/ctaocrypt_test/.cproject \ + mqx/ctaocrypt_test/.project \ + mqx/ctaocrypt_test/ReferencedRSESystems.xml \ + mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch \ + mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch + +EXTRA_DIST += \ + mqx/ctaocrypt_test/Sources/main.c \ + mqx/ctaocrypt_test/Sources/main.h + diff --git a/mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch b/mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch similarity index 100% rename from mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch rename to mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch diff --git a/mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch b/mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch similarity index 100% rename from mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch rename to mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch diff --git a/mqx/cyassl/include.am b/mqx/cyassl/include.am new file mode 100644 index 000000000..5523620eb --- /dev/null +++ b/mqx/cyassl/include.am @@ -0,0 +1,8 @@ +# vim:ft=automake +# All paths should be given relative to the root +# + +EXTRA_DIST += \ + mqx/cyassl/.cproject \ + mqx/cyassl/.project + diff --git a/mqx/cyassl_client/Sources/include.am b/mqx/cyassl_client/Sources/include.am new file mode 100644 index 000000000..dd4b2ffd9 --- /dev/null +++ b/mqx/cyassl_client/Sources/include.am @@ -0,0 +1,15 @@ +# 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/ReferencedRSESystems.xml \ + 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/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch b/mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch similarity index 100% rename from mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.launch rename to mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch diff --git a/mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch b/mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch similarity index 100% rename from mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.launch rename to mqx/cyassl_client/cyassl_client_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch diff --git a/mqx/util_lib/Sources/include.am b/mqx/util_lib/Sources/include.am new file mode 100644 index 000000000..4b54a5a60 --- /dev/null +++ b/mqx/util_lib/Sources/include.am @@ -0,0 +1,12 @@ +# vim:ft=automake +# All paths should be given relative to the root +# + +EXTRA_DIST += \ + mqx/util_lib/.cproject \ + mqx/util_lib/.project + +EXTRA_DIST += \ + mqx/util_lib/Sources/util.c \ + mqx/util_lib/Sources/util.h +