Can't add libraries: Error stm32f0xx_i2c_cpal.h: No such file or directory

Sysprogs forums Forums VisualGDB Can't add libraries: Error stm32f0xx_i2c_cpal.h: No such file or directory

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7116
    karlis77
    Participant

    Hello all.

    I just started using STM32f0Discovery. I wanted to learn how to use I2C, so i downloaded The STM32F0xx Standard Peripherals library STSW-STM32048.

    To use these libraries I made a new project and went to Project-> ProjectName  proerties->Vc++ Directories->Include Directories. Then pressed Edit-> New Line – > Used directory of map where stm32f0xx_i2c_cpal_hal.h and other header files are located .

    After this I still get errors:
    Error stm32f0xx_i2c_cpal.h: No such file or directory

    Error [Clang IntelliSense] Error: ‘stm32f0xx_i2c_cpal.h’ file not found

     

    I’m sorry if this have been asked before, but I’m new to this and confused.

    Thanks in advance.

    #7133
    support
    Keymaster

    Hi,

    Please add the include paths via VisualGDB Project Properties -> Makefile Settings -> Include Directories.

    This will configure both IntelliSense and your compiler correctly.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.