Lines Matching refs:shield
9 # If a shield implementation is not found for one of the specified shields, an
14 # - shield_conf_files: List of shield-specific Kconfig fragments
15 # - shield_dts_files : List of shield-specific devicetree files
17 # - SHIELD_DIRS : A CMake list of directories which contain shield definitions
51 # Match the Kconfig.shield files in the shield directories to make sure we are
52 # finding shields, e.g. x_nucleo_iks01a1/Kconfig.shield
53 file(GLOB_RECURSE shields_refs_list ${shield_dir}/*/Kconfig.shield)
55 # The above gives a list of Kconfig.shield files, like this:
57 # x_nucleo_iks01a1/Kconfig.shield;x_nucleo_iks01a2/Kconfig.shield
59 # we construct a list of shield names by extracting the directories
60 # from each file and looking for <shield>.overlay files in there.
61 # Each overlay corresponds to a shield. We obtain the shield name by
63 # We also create a SHIELD_DIR_${name} variable for each shield's directory.
68 get_filename_component(shield ${overlay} NAME_WE)
69 list(APPEND SHIELD_LIST ${shield})
70 set(SHIELD_DIR_${shield} ${shield_path})
84 # Add <shield>.overlay to the shield_dts_files output variable.
90 # Add the shield's directory to the SHIELD_DIRS output variable.
96 # Search for shield/shield.conf file
117 # Prepare shield usage command printing.
128 message("No shield named '${s}' found")
137 # Prepend each shield with COMMAND <cmake> -E echo <shield>" for printing.
138 # Each shield is printed as new command because build files are not fond of newlines.