cancel
Showing results for 
Search instead for 
Did you mean: 

An error occured while generate NetXDuo Code

JongOk Baek
Associate III

 

I make a new product with NetXDuo for STM32H743.

But, it is included error code in RTE_Components.h

 

RTE_Components.h (A project)

/* USER CODE END Header */
  /* Define to prevent recursive inclusion -------------------------------------*/
#ifndef  __RTE_COMPONENTS_H__
#define  __RTE_COMPONENTS_H__

/* Defines ------------------------------------------------------------------*/
/* STMicroelectronics.X-CUBE-AZRTOS-H7.3.3.0 */
#define FILEX_ENABLED
#define FX_SD_INTERFACE
NX_ETH_INTERFACE_ENABLED
#define LAN8742
#define THREADX_ENABLED
#define TRACEX_SUPPORT_ENABLED
#define NETXDUO_ENABLED

#endif /* __RTE_COMPONENTS_H__ */

 

RTE_Components.h (B project)

  /* Define to prevent recursive inclusion -------------------------------------*/
#ifndef  __RTE_COMPONENTS_H__
#define  __RTE_COMPONENTS_H__

/* Defines ------------------------------------------------------------------*/
/* STMicroelectronics.X-CUBE-AZRTOS-H7.3.3.0 */
#define USBXDEVICE_ENABLED
#define UX_DEVICE_CONTROLLERS_ENABLED
#define UX_DEVICE_CDC_ACM
#define FILEX_ENABLED
#define FX_SD_INTERFACE
NX_ETH_INTERFACE_ENABLED
#define LAN8742
#define THREADX_ENABLED
#define TRACEX_SUPPORT_ENABLED
#define NETXDUO_ENABLED

#endif /* __RTE_COMPONENTS_H__ */

 

it is missing '#define' statement for 'NX_ETH_INTERFACE_ENABLED'.

 

Fortunately, the error does not occur becasue the RTE_Components.h file is not built.

 

0 REPLIES 0