add plib.h to mcapi test, optimize MPLAB ctaocrypt_test project

This commit is contained in:
Chris Conlon 2013-03-22 10:45:19 -06:00
parent ace69d1c77
commit 7522550cbf
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,7 @@
#ifdef MICROCHIP_PIC32
#define PIC32_STARTER_KIT
#include <p32xxxx.h>
#include <plib.h>
#endif
#define OUR_DATA_SIZE 1024

View File

@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <p32xxxx.h>
#include <plib.h>
#include <sys/appio.h>
/* func_args from test.h, so don't have to pull in other junk */
@ -38,6 +39,8 @@ typedef struct func_args {
*/
int main(int argc, char** argv) {
SYSTEMConfigPerformance(80000000);
DBINIT();
printf("CTaoCrypt Test:\n");