kopia lustrzana https://github.com/espressif/esp-idf
cmake: Post-merge fixups
rodzic
b355854d4d
commit
0bc5dcc2c2
|
@ -15,6 +15,6 @@
|
||||||
"file" : "partition_table/partition-table.bin" },
|
"file" : "partition_table/partition-table.bin" },
|
||||||
"otadata" : { "offset" : "${OTADATA_PARTITION_OFFSET}",
|
"otadata" : { "offset" : "${OTADATA_PARTITION_OFFSET}",
|
||||||
"file" : "${BLANK_OTADATA_FILE}" },
|
"file" : "${BLANK_OTADATA_FILE}" },
|
||||||
"app" : { "offset" : "${APP_PARTITION.py_OFFSET}",
|
"app" : { "offset" : "${APP_PARTITION_OFFSET}",
|
||||||
"file" : "${PROJECT_NAME}.bin" }
|
"file" : "${PROJECT_NAME}.bin" }
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,14 +53,16 @@ kconfig_inc_path = '{}/inc/kconfig.inc'.format(builddir)
|
||||||
temp_sdkconfig_path = '{}/sdkconfig.tmp'.format(builddir)
|
temp_sdkconfig_path = '{}/sdkconfig.tmp'.format(builddir)
|
||||||
kconfigs = subprocess.check_output(["find", "../../components", "-name", "Kconfig"]).decode()
|
kconfigs = subprocess.check_output(["find", "../../components", "-name", "Kconfig"]).decode()
|
||||||
kconfig_projbuilds = subprocess.check_output(["find", "../../components", "-name", "Kconfig.projbuild"]).decode()
|
kconfig_projbuilds = subprocess.check_output(["find", "../../components", "-name", "Kconfig.projbuild"]).decode()
|
||||||
call_with_python(" ".join(
|
confgen_args = [sys.executable,
|
||||||
"../../tools/kconfig_new/confgen.py",
|
"../../tools/kconfig_new/confgen.py",
|
||||||
"--kconfig", "../../Kconfig",
|
"--kconfig", "../../Kconfig",
|
||||||
"--config", temp_sdkconfig_path,
|
"--config", temp_sdkconfig_path,
|
||||||
"--create-config-if-missing",
|
"--create-config-if-missing",
|
||||||
"--env", "COMPONENT_KCONFIGS={}".format(kconfigs),
|
"--env", "COMPONENT_KCONFIGS={}".format(kconfigs),
|
||||||
"--env", "COMPONENT_KCONFIGS_PROJBUILD={}".format(kconfig_projbuilds),
|
"--env", "COMPONENT_KCONFIGS_PROJBUILD={}".format(kconfig_projbuilds),
|
||||||
"--output", "docs", kconfig_inc_path + '.in'))
|
"--output", "docs", kconfig_inc_path + '.in'
|
||||||
|
]
|
||||||
|
subprocess.check_call(confgen_args)
|
||||||
copy_if_modified(kconfig_inc_path + '.in', kconfig_inc_path)
|
copy_if_modified(kconfig_inc_path + '.in', kconfig_inc_path)
|
||||||
|
|
||||||
# Generate 'esp_err_defs.inc' file with ESP_ERR_ error code definitions
|
# Generate 'esp_err_defs.inc' file with ESP_ERR_ error code definitions
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
|
|
||||||
nvs, data, nvs, , 0x6000,
|
|
||||||
phy_init, data, phy, , 0x1000,
|
|
||||||
factory, app, factory, , 1M,
|
|
|
Ładowanie…
Reference in New Issue