2023-05-18 03:03 PM
I have a project using ThreadX, NetX, and FileX. The NetX and FileX code generation is initializing at least one instance but nothing in ThreadX. I can create it but it is a little concerning that in the init there is only:
UINT App_ThreadX_Init(VOID *memory_ptr)
{
UINT ret = TX_SUCCESS;
/* USER CODE BEGIN App_ThreadX_MEM_POOL */
/* USER CODE END App_ThreadX_MEM_POOL */
/* USER CODE BEGIN App_ThreadX_Init */
/* USER CODE END App_ThreadX_Init */
return ret;
}
where in the other filex and netx sections there is significant initialization. My fear is that I have not checked off something correctly in cubeMX, and later on it may decide to create code that duplicates my efforts.
Did I miss something?
Using:
STM32CubeIDEVersion: 1.12.1Build: 16088_20230420_1057 (UTC)
with embedded STM32CubeMX 6.8.1.202304191431
OS: Linux (LMint 21 - Cinnamon)
Solved! Go to Solution.
2023-05-18 03:09 PM
Oh Wow. Forest for the trees and I am going blind. The check box for Generate Init code was unchecked. Unexpected.
2023-05-18 03:09 PM
Oh Wow. Forest for the trees and I am going blind. The check box for Generate Init code was unchecked. Unexpected.