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??