Skip to main content
cjaya.1
Associate III
October 11, 2022
Question

I am getting a error when I enable the I2C and try to use with HAL library for I2C on the STM32cube IDE. I am getting this error message: "fatal error:stm32f4xx_hal_i2c.h: No such file or directory" .

  • October 11, 2022
  • 1 reply
  • 1692 views

..

This topic has been closed for replies.

1 reply

ST Technical Moderator
October 11, 2022

Hello @cjaya.2kody​,

You'd want to review the defines, and paths used.

Probably, you are missing an include file. So, make sure that the Include Paths are set up coherently.

Imen 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks