mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-25 01:37:22 +00:00
cmake: Add component dependency support
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their requirements.
This commit is contained in:

committed by
Angus Gratton

parent
4a2f1f0354
commit
1cb5712463
@@ -1,5 +1,7 @@
|
||||
set(partition_table_offset 0x8000)
|
||||
|
||||
register_config_only_component()
|
||||
|
||||
# Set partition_csv to the configured partition source file
|
||||
#
|
||||
if(CONFIG_PARTITION_TABLE_CUSTOM)
|
||||
@@ -56,4 +58,3 @@ set_property(GLOBAL APPEND_STRING PROPERTY
|
||||
ESPTOOL_WRITE_FLASH_ARGS
|
||||
"${partition_table_offset} ${final_partition_bin} ")
|
||||
|
||||
register_config_only_component()
|
||||
|
Reference in New Issue
Block a user