473 views
in System Integration by
I create the .h and .c to control de ESP8266 module. I tried to add this file to your deviceDriver file but when i do the make it said something about undefined reference.

 

What i do:

 

Include the ESP8266.h to the DeviceDriver.c

Inside the method DeviceDriver_SetLedStatus, i call a method of my lib(send data through UART),

 

In the ew_bsp_system i add this --->

  PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_USART6;

 

  PeriphClkInitStruct.Usart6ClockSelection = RCC_USART6CLKSOURCE_PCLK2;

 

Inside  the method  DeviceDriver_Initialize() i add the init config of my Usart module.

 

I copy the ESP8266.h and ESP8266.c to the template folder.

 

Do i have to do anything else??

1 Answer

+1 vote
by
Hi Antonio,

Can you please provide us with the console of the make process? Which references are missing? What's the compiler's output?

Best regards,
Manuel
by
I had a wrong initialization of uart module, the problem was solved. Thanks

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...