cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I find ''main.h''

antonius
Senior
Posted on July 17, 2015 at 05:54

Guys, where can I find ''main.h''....? I use Keil MDK...

Thanks

I read from :

''Developing applications on STM32Cube with LwIP TCP/IP stack '', page 39

How do I choose between static or dynamic (DHCP)

IP address allocation?

When the macro #define USE_DHCP located in main.h is commented, a static IP address is assigned to the STM32 microcontroller (by default 192.168.0.10, this value can be modified from “main.h� file).

If the macro #define USE_DHCP is uncommented, the DHCP protocol is enabled, and the STM32 will act as a DHCP clien
2 REPLIES 2
Posted on July 17, 2015 at 19:57

Perhaps you can use grep, or a file manager of your choice, to find USE_DHCP in a file.

If not ''main.h'' consider if it's one of the project specific include files.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
antonius
Senior
Posted on July 18, 2015 at 01:27

Grep in which directory ? I can't find a complete files on MDK project directory ??