How to use develop tools to add macro defination in sdkconfig.h?

I'm using Ardunio IDE 1.8.16 on Windows 10.
esp32 version: 2.0.1
How to use develop tools to add a macro defination in sdkconfig.h?
e.g. #define CONFIG_DISABLE_HAL_LOCKS 1
Is there a solution?

This addresses the file:

https://community.platformio.org/t/how-to-properly-modify-sdkconfig-change-some-values-save-it-and-thats-it/8951/4

1 Like

Here developers use Platformio IDE, and IDF , but actually I use Arduino IDE.

Same concept ...
A library or core is downloaded and a zillion files get installed. A configuration file, once located, can almost always be edited with notepad or notepad++ or whatever you normally use for flatfiles.

You are right. As a developer it's easy. But I want common user to config it easily.
So I want to know if there is a tool to config it rather than modify the .h file directly.

No.
But you could write one. If on Windows, a little VBA is all that is required. There is a VBA compiler.
For Linux, there are editors and scripting.
You could even do it in Excel or Word.
I suspect PowerShell could be used. Google it.

Also, FreeBASIC

1 Like

Also QB64
http://qb64.org/wiki/WINDOW

Compile QB4.5 syntax to Windows 10/11 32-bit/6-bit

1 Like

Thanks a lot!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.