cancel
Showing results for 
Search instead for 
Did you mean: 

Can't build X-CUBE-CELLULAR on B-L462E-CELL1 correctly but why?

shige3106
Associate

Hello members,

Could you let me know how it can build correctly?

I build Nx_TCP_Echo_Client of X-CUBE-CeLLULAR on B-L462E-CELL1.

However, error happened below,

threadx/utility/rtos_compatibility_layers/FreeRTOS/tx_freertos.c:225:29: error: 'TX_THREAD' {aka 'struct TX_THREAD_STRUCT'} has no member named 'txfr_thread_ptr'; did you mean 'tx_thread_id'?

p_txfr_task = p_thread->txfr_thread_ptr;

I don't make clear why it occur because, the document in the package/comments in source code says - 

#ifdef TX_DISABLE_ERROR_CHECKING
#error "CMSIS RTOS ThreadX Wrapper : TX_DISABLE_ERROR_CHECKING must be undefined"
#endif

Another one,

## Thread Extension:
The adaptation layer requires a custom field within the `TX_THREAD` data structure to store a reference to the adaptation layer thread-related data. The following preprocessor definitions should be added to `tx_user.h`. Failure to add this configuration will result in a compilation error.

`#define TX_THREAD_USER_EXTENSION VOID *txfr_thread_ptr;`

I check both case and those are error.

Please let me know how to build ?

 

0 REPLIES 0