Skip to main content
antonius
Associate III
July 17, 2015
Question

Where can I find ''main.h''

  • July 17, 2015
  • 2 replies
  • 688 views
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
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    July 17, 2015
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    antonius
    antoniusAuthor
    Associate III
    July 17, 2015
    Posted on July 18, 2015 at 01:27

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