cancel
Showing results for 
Search instead for 
Did you mean: 

Defines not changing grayed out statuses

st3ph3n
Associate II

Using STM32CubeIDE 1.15.1.  Running LwIP_Server_socket_RTOS on a Nucleo-H723ZG board.

When I change #define LWIP_DHCP to zero my DHCP stuff is not grayed out.  It definitely starts using static IP, I'm able to connect and see the web pages.  I'm used to IDE's responding to #define changes, should I not expect this with CubeIDE?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Do you have the option enabled?

Do you see shading elsewhere?

You may need to rebuild the editor's index:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/discrepancy-between-the-code-in-editor-and-the-build-process/m-p/681942/highlight/true#M19299

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

4 REPLIES 4

Do you have the option enabled?

Do you see shading elsewhere?

You may need to rebuild the editor's index:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/discrepancy-between-the-code-in-editor-and-the-build-process/m-p/681942/highlight/true#M19299

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes!  Exactly the solution... thank you very much.  I guess I'm used to this happening with each clean/build cycle.  Is this something that can be automated, or included in the clean/build?  Just curious why this stuff is not done automatically.  Thanks again for your help.

It should just happen "on-the-fly", but sometimes it gets "stuck" and needs a manual rebuild/refresh.

Hopefully, having done that, it will now work ... ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

No, it stays stuck... I've tried the clean/build and just build_all... the graying doesn't change until I do the index thing.