forked from wolfSSL/wolfssl
add plib.h to mcapi test, optimize MPLAB ctaocrypt_test project
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
#ifdef MICROCHIP_PIC32
|
#ifdef MICROCHIP_PIC32
|
||||||
#define PIC32_STARTER_KIT
|
#define PIC32_STARTER_KIT
|
||||||
#include <p32xxxx.h>
|
#include <p32xxxx.h>
|
||||||
|
#include <plib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define OUR_DATA_SIZE 1024
|
#define OUR_DATA_SIZE 1024
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <p32xxxx.h>
|
#include <p32xxxx.h>
|
||||||
|
#include <plib.h>
|
||||||
#include <sys/appio.h>
|
#include <sys/appio.h>
|
||||||
|
|
||||||
/* func_args from test.h, so don't have to pull in other junk */
|
/* 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) {
|
int main(int argc, char** argv) {
|
||||||
|
|
||||||
|
SYSTEMConfigPerformance(80000000);
|
||||||
|
|
||||||
DBINIT();
|
DBINIT();
|
||||||
printf("CTaoCrypt Test:\n");
|
printf("CTaoCrypt Test:\n");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user