Angus Gratton
6191429df5
confserver: Always store hex values in sdkconfig with 0x prefix
...
This is not necessary for correct behaviour or to have valid sdkconfig files
(previous commit adds tests for this), but it's useful for consistency with
sdkconfig files generated by menuconfig.
As reported in https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-18 17:02:15 +10:00
Roland Dobai
84d5cc1c17
Generate source files for kconfiglib from the build system
2019-11-15 15:25:09 +00:00
Roland Dobai
01887f71e7
Update kconfiglib to upstream version and replace mconf-idf
...
Special thanks to @ulfalizer for the helpful suggestions regarding
kconfiglib.
"rsource" option is available for relative path includes
Closes https://github.com/espressif/esp-idf/issues/4064
2019-10-29 10:40:04 +01:00
Roland Dobai
1dcdc56a7f
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:30:31 +02:00
Angus Gratton
423fb9573b
confserver: Fix NamedTemporaryFile use on Windows
...
Can't have the file open twice, so need to close and delete after reopening.
2019-08-16 19:24:37 +10:00
Roland Dobai
bd21960955
tools: Support sdkconfig.rename files from outside IDF in confgen.py
2019-07-16 20:18:19 +02:00
Angus Gratton
f1e07663c4
cmake: Use environment variables file for all config binaries
2019-07-01 15:54:27 +10:00
Kondal Kolipaka
9550176f83
Addressing PR comments
2019-06-26 00:42:13 +00:00
Kondal Kolipaka
bc48a9c92f
Stdoutflush: Flushing stdout to avoid issues with 64k char limits
2019-06-26 00:42:13 +00:00
Roland Dobai
23ee93ea76
Rename deprecated Kconfig options in a backward compatible way
2019-04-24 12:53:02 +02:00
Angus Gratton
a44f43c2ea
confserver: Send an error response if JSON request is malformatted
2019-03-15 14:31:45 +11:00
Angus Gratton
6897dab2de
confserver: In protocol V2, a "load" should only send back changes not all items
2019-03-15 14:31:45 +11:00
Angus Gratton
02802a5113
confserver: Add support for new V2 protocol
...
V2 adds:
* Independent result for visibility (showing/hiding menus)
* Includes adding IDs for all items (menus & symbols) in kconfig_menus.json
Still backwards compatible with V1, with some small changes (menu items now listed in results).
Also added some protocol docs, changed the "listening on stdin" message to come after any kconfiglib warnings
2019-03-15 14:31:45 +11:00
Roland Dobai
bfa9610f58
tools: Fix the Python coding style
2018-12-19 11:56:24 +01:00
Angus Gratton
6065d2fd08
kconfig: Add confserver.py to expose sdkconfig to clients
2018-06-07 14:23:08 +10:00