quatoria wrote on Saturday, August 31, 2013:
Progressing and trying to at least compile the FreeRTOS + UDP with mplabX and latest version of FreeRtos :
1) Concerning __pack it does nor work on XC16 latest version it can not compile also if flag "use CCI syntax " is checked so the only things ok is
__attribute__((__packed__)) and semicolon at the end of struct definition.
Except this point I still have strange error on all these lines :
xNetworkBufferDescriptor_t *pxNetworkBufferGet( size_t xRequestedSizeBytes, portTickType xBlockTimeTicks );
xNetworkBufferDescriptor_t *pxNetworkBufferGetFromISR( size_t xRequestedSizeBytes );
void vNetworkBufferRelease( xNetworkBufferDescriptor_t * const pxNetworkBuffer );
portBASE_TYPE vNetworkBufferReleaseFromISR( xNetworkBufferDescriptor_t * const pxNetworkBuffer );
Error is :
FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/NetworkBufferManagement.h:45:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
and after few time of searching I can not solve them.