salut.
jais un problème récurrent sur la configuration de l'application note 'AN1264 MCHP and FreeRTOS Démo' jais pu configurer le lcd (graphic pictail plus board version 2 ) et qui fonctionne
jutilise MPLABX ,avec un pic32 eth starterkit monter sur une expansion board, avec un graphic pictail plus board version2,et un pictail MRF24J40MB sur le slot d'en haut
mon premier probleme est que la demo utilise le miwi en P2P, or moi je veut utiliser la version MIWI ,donc jais ajouter les fichiers nécessaires ,(miwi.h, configmiwi.h, miwi.c, etc...)selectionner miwi , a la place de p2p dans configapp , mais je me retrouve avec des erreures de compilation
principalement dans le fichier MIWI.hCode:C:\\Program\ Files\\Microchip\\MPLAB\ C32\ Suite\\bin\\pic32-gcc.exe -x c -c -mprocessor=32MX795F512L -DMPLAB_PIC32MX_PORT -I"../AN1264 MCHP and FreeRTOS Demo/include" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/include" -I"../AN1264 MCHP and FreeRTOS Demo/FreeRTOS/source/include" -I"../AN1264 MCHP and FreeRTOS Demo/FreeRTOS/Source/portable/MPLAB/PIC32MX" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/Include/WirelessProtocols/P2P" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/Include/WirelessProtocols" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/Include/TCPIP Stack" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/Include/Graphics" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/Include" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/Include/Transceivers/MRF24J40" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/Include/Transceivers" -I"../AN1264 MCHP and FreeRTOS Demo/Microchip/Include/Common" -I"../AN1264 MCHP and FreeRTOS Demo/FreeRTOS/Source/include" -MMD -MF build/default/production/_ext/416247360/Console.o.d -o build/default/production/_ext/416247360/Console.o ../AN1264\ MCHP\ and\ FreeRTOS\ Demo/src/Console.c In file included from ../AN1264 MCHP and FreeRTOS Demo/include/SystemProfile.h:53, from ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/.\Common\Console.h:54, from ../AN1264 MCHP and FreeRTOS Demo/src/Console.c:51: ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:191: error: syntax error before "MIWI_TICK" ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:191: warning: no semicolon at end of struct or union ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:192: warning: data definition has no type or storage class ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:202: error: syntax error before "MIWI_TICK" ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:202: warning: no semicolon at end of struct or union ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:226: error: syntax error before '}' token ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:226: warning: data definition has no type or storage class ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:239: error: syntax error before "openSocketInfo" ../AN1264 MCHP and FreeRTOS Demo/Microchip/include/WirelessProtocols\MiWi\MiWi.h:239: warning: data definition has no type or storage class make[2]: *** [build/default/production/_ext/416247360/Console.o] Error 1 make[1]: *** [.build-conf] Error 2make[2]: Leaving directory `/c/DataPic/DOMO/CENTRALE/centrale.X' make: *** [.build-impl] Error 2 make[1]: Leaving directory `/c/DataPic/DOMO/CENTRALE/centrale.X'
mon 2 eme probleme est que la demo utilise un ethernet picatail pour le tcp/ip, alor que moi j'aimerais bien utiliser celui present sur ma carte pic32 eth starter kitCode:typedef struct _OPEN_SOCKET { union _OPEN_SOCKET_STATUS { struct _OPEN_SOCKET_STATUS_bits { BYTE matchFound :1; BYTE requestIsOpen :1; BYTE itIsMe :1; } bits; BYTE Val; } status; BYTE socketHandle; WORD_VAL ShortAddress1; BYTE LongAddress1[MY_ADDRESS_LENGTH]; #if ADDITIONAL_NODE_ID_SIZE > 0 BYTE AdditionalNodeID1[ADDITIONAL_NODE_ID_SIZE]; #endif #ifdef NWK_ROLE_COORDINATOR WORD_VAL ShortAddress2; BYTE LongAddress2[MY_ADDRESS_LENGTH]; #endif MIWI_TICK socketStart; <<<<<<<<<<<<<<<<<<<<<<<<< } OPEN_SOCKET; /****************************************************************** * Overview: The structure to store indirect messages for devices turn off * radio when idle *****************************************************************/ typedef struct { MIWI_TICK TickStart; // start time of the indirect messag <<<<<<<<<<<<< <<< // indirect message time out #if defined(IEEE_802_15_4) WORD_VAL DestPANID; // the PAN identifier for the destination node #endif BYTE DestAddress[MY_ADDRESS_LENGTH]; // unicast destination long address union { BYTE Val; // value for the flags struct {
je vous remercie pour votre aide
a+
-----