Issue with USART library
I'm using Harmony to build a new project (using Harmony v2.06, Mplab X v5.05, XC32 v2.10 on PC). I try to use the USART library but I still face an issue when trying to use commands DRV_USART_Write / DRV_USART_Read.
I can initialize and open ports, but can't send or receive data. Build always fails with error message "undefined reference to `DRV_USART_Write'"
My file includes "app.h", which includes "system_definitions.h". In this file, "driver/usart/drv_usart.h" is included and when pushing Ctrl + clic, I'm able to see the file.
I also tried to build the harmony project as standalone (all lib files are in the project directory), but the issue is still there.
If I use the same function in another file (like app.c), it still doesn't work. But when I use another function from the same file (DRV_USART_ReadByte), it works... I don't get it ;-)
What am I missing? Or is there any new known bug in the last MHC / Mplab / compiler?
Issue happens in file BLE.c.
Thank you in advance for your very appreciate support!
post edited by jrebetez - 2018/08/29 01:17:13