AnsweredAssumed Answered

use a hal function outside main

Question asked by sharifi.rasool on Oct 28, 2017
Latest reply on Oct 28, 2017 by Vangelis Fortounas

dear Community,

i should to use some HAL functions outside the main.c

i add #include "stm32f4xx_hal.h" to another c file but error appears for example for SPI:

 

regards, Ras

Outcomes