Home
last modified time | relevance | path

Searched refs:kconf (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/scripts/kconfig/
Dkconfig.py46 kconf = Kconfig(args.kconfig_file, warn_to_stderr=False,
53 kconf.warn_assign_undef = True
57 kconf.warn_assign_override = False
58 kconf.warn_assign_redun = False
67 kconf.warn_assign_redun = False
70 print(kconf.load_config(args.configs_in[0]))
73 print(kconf.load_config(config, replace=False))
82 check_no_promptless_assign(kconf)
87 check_assigned_sym_values(kconf)
88 check_assigned_choice_values(kconf)
[all …]
Dkconfigfunctions.py37 def _warn(kconf, msg): argument
38 print("{}:{}: WARNING: {}".format(kconf.filename, kconf.linenr, msg))
58 def dt_chosen_label(kconf, _, chosen): argument
78 def dt_chosen_enabled(kconf, _, chosen): argument
90 def dt_chosen_path(kconf, _, chosen): argument
102 def dt_chosen_has_compat(kconf, _, chosen, compat): argument
120 def dt_node_enabled(kconf, name, node): argument
152 def dt_nodelabel_enabled(kconf, _, label): argument
280 def _dt_chosen_reg_addr(kconf, chosen, index=0, unit=None): argument
304 def _dt_chosen_reg_size(kconf, chosen, index=0, unit=None): argument
[all …]
Dhardenconfig.py12 def hardenconfig(kconf): argument
13 kconf.load_config()
18 options = compare_with_hardened_conf(kconf, hardened_kconf_filename)
39 def compare_with_hardened_conf(kconf, hardened_kconf_filename): argument
49 symbol = kconf.syms[name]
56 for node in kconf.node_iter():
58 if kconf.syms["EXPERIMENTAL"] in select or kconf.syms["DEPRECATED"] in select:
Dlint.py124 for sym in kconf.unique_defined_syms:
133 for sym in kconf.unique_defined_syms:
141 for node in kconf.node_iter():
149 for sym in kconf.unique_defined_syms:
173 syms = [sym for sym in kconf.unique_defined_syms
203 global kconf
215 kconf = kconfiglib.Kconfig(suppress_traceback=True)
239 for node in kconf.node_iter()
274 return sym.rev_dep is not kconf.n or sym.weak_rev_dep is not kconf.n
Dkconfiglib.py6280 def load_allconfig(kconf, filename): argument
6299 old_warn_assign_override = kconf.warn_assign_override
6300 old_warn_assign_redun = kconf.warn_assign_redun
6301 kconf.warn_assign_override = kconf.warn_assign_redun = False
6305 print(kconf.load_config(filename, False))
6308 print(kconf.load_config("all.config", False))
6315 print(kconf.load_config(allconfig, False))
6321 kconf.warn_assign_override = old_warn_assign_override
6322 kconf.warn_assign_redun = old_warn_assign_redun
6801 def _filename_fn(kconf, _): argument
[all …]
Dmenuconfig.py666 def menuconfig(kconf): argument
679 _kconf = kconf
692 if not _shown_nodes(kconf.top_node):
695 if not _shown_nodes(kconf.top_node):
704 kconf.warn = False
Dguiconfig.py164 def menuconfig(kconf): argument
177 _kconf = kconf
198 if not _shown_menu_nodes(kconf.top_node):
201 if not _shown_menu_nodes(kconf.top_node):
/Zephyr-latest/scripts/ci/
Dcheck_compliance.py377 kconf = self.parse_kconfig(filename=filename, hwm=hwm)
379 self.check_top_menu_not_too_long(kconf)
380 self.check_no_pointless_menuconfigs(kconf)
381 self.check_no_undef_within_kconfig(kconf)
382 self.check_no_redefined_in_defconfig(kconf)
383 self.check_no_enable_in_boolean_prompt(kconf)
384 self.check_soc_name_sync(kconf)
386 self.check_no_undef_outside_kconfig(kconf)
649 def get_logging_syms(self, kconf): argument
682 def get_defined_syms(self, kconf): argument
[all …]