Skip to main content
idrissmc
Associate III
Jul 8, 2019 6:50 PM UTC
Solved

Using a copy of the STM32F413H-Disco

Hi everyone,

I tried to copy the folder STM32Cube/cubeF4... so when i change something it doesn’t make any changes in the original folder, so then I compiled , the error was in main.c (#include “main.h�?) (no such file or directory).

thanks

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jul 9, 2019 2:55 PM UTC

Should be under the project options tabs for whatever tools you are using, perhaps review docs related to "Include Paths", it is a standard C compiler concept.

0690X000009YaNKQA0.jpg

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

7 replies

Tesla DeLorean
Guru
Jul 8, 2019 7:01 PM UTC

So either you haven't copied all files the project consists of, or you don't have your Include Paths set up correctly.

Paths can be relative in certain tools, so a directory copy needs to maintain the same depth.

For Keil you can simple duplicate/clone a would directory, and sub-directories, at the same level

ie

...\STM32Cube\Repository\STM32Cube_FW_F4_V1.24.1\Projects\STM32F413H-Discovery\Examples\GPIO\GPIO_EXTI

to

...\STM32Cube\Repository\STM32Cube_FW_F4_V1.24.1\Projects\STM32F413H-Discovery\Examples\GPIO\GPIO_******_WINGNUT

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
idrissmc
idrissmcAuthor
Associate III
Jul 8, 2019 7:06 PM UTC

I can’t understand what you meant..

Tesla DeLorean
Guru
Jul 8, 2019 7:53 PM UTC

Which part?

The part about copying complete directories properly, and at the same level/depth?

Or the part about configuring your tools so they can search the appropriate file paths to find the files making up the project?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Cvega.11
Associate II
Sep 7, 2020 1:46 AM UTC

Hello my friend

When I connect the development board stm32h7b3i-dk to the pc through the usb to tera to use the wifi module (ISM43340-M4G-L44-10 CF), what baud rates are I have to put or what is the configuration, nothing appears in the serial communication?

Do you know how to use the wifi module (ISM43340-M4G-L44-10 CF) of the stm32h7b3i-dk board?

Any example of a WIFI http server with stm32h7b3i-dk ???