Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 208) sorted by relevance

123456789

/hal_espressif-2.7.6/components/bt/host/bluedroid/common/include/common/
Dbt_trace.h219 …ERROR(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_ERROR && BT_LOG_LEVEL_CHECK(BT… argument
220 …NING(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_WARNING && BT_LOG_LEVEL_CHECK(BTM… argument
221 …CE_API(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_API && BT_LOG_LEVEL_CHECK(B… argument
222 …EVENT(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_EVENT && BT_LOG_LEVEL_CHECK(BT… argument
223 …DEBUG(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_DEBUG && BT_LOG_LEVEL_CHECK(BT… argument
227 …OR(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_ERROR && BT_LOG_LEVEL_CHECK(L2C… argument
228 …G(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_WARNING && BT_LOG_LEVEL_CHECK(L2CA… argument
229 …API(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_API && BT_LOG_LEVEL_CHECK(L2… argument
230 …NT(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_EVENT && BT_LOG_LEVEL_CHECK(L2C… argument
231 …UG(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_DEBUG && BT_LOG_LEVEL_CHECK(L2C… argument
[all …]
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_trace.h93args...) do {if ((BLE_MESH_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_ERROR) && BLE_MESH_LOG_LEVEL_CHECK(B… argument
94args...) do {if ((BLE_MESH_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_WARN) && BLE_MESH_LOG_LEVEL_CHECK(BL… argument
95args...) do {if ((BLE_MESH_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_INFO) && BLE_MESH_LOG_LEVEL_CHECK(BL… argument
96args...) do {if ((BLE_MESH_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_DEBUG) && BLE_MESH_LOG_LEVEL_CHECK(B… argument
98 #define BT_ERR(fmt, args...)
99 #define BT_WARN(fmt, args...)
100 #define BT_INFO(fmt, args...)
101 #define BT_DBG(fmt, args...)
105args...) do {if ((BLE_MESH_NET_BUF_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_ERROR) && BLE_MESH_LOG_LEVEL_… argument
106args...) do {if ((BLE_MESH_NET_BUF_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_WARN) && BLE_MESH_LOG_LEVEL_C… argument
[all …]
/hal_espressif-2.7.6/components/bt/common/include/
Dbt_common.h97 …ROR(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_ERROR && BT_LOG_LEVEL_CHECK(… argument
98 …NG(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_WARNING && BT_LOG_LEVEL_CHECK(B… argument
99 …_API(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_API && BT_LOG_LEVEL_CHECK… argument
100 …ENT(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_EVENT && BT_LOG_LEVEL_CHECK(… argument
101 …BUG(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_DEBUG && BT_LOG_LEVEL_CHECK(… argument
102 …SE(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_VERBOSE && BT_LOG_LEVEL_CHECK(B… argument
105 …ROR(fmt, args...) {if (OSI_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_ERROR && BT_LOG_LEVEL_CHECK(… argument
106 …NG(fmt, args...) {if (OSI_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_WARNING && BT_LOG_LEVEL_CHECK(O… argument
107 …_API(fmt, args...) {if (OSI_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_API && BT_LOG_LEVEL_CHECK… argument
108 …ENT(fmt, args...) {if (OSI_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_EVENT && BT_LOG_LEVEL_CHECK(… argument
[all …]
/hal_espressif-2.7.6/tools/idf_py_actions/
Dcore_ext.py16 def build_target(target_name, ctx, args): argument
23 ensure_build_directory(args, ctx.info_name)
24 run_target(target_name, args)
26 def list_build_system_targets(target_name, ctx, args): argument
28 build_target('help', ctx, args)
30 def menuconfig(target_name, ctx, args, style): argument
40 build_target(target_name, ctx, args)
42 def fallback_target(target_name, ctx, args): argument
46 ensure_build_directory(args, ctx.info_name)
49 … subprocess.check_output(GENERATORS[args.generator]['dry_run'] + [target_name], cwd=args.build_dir)
[all …]
Dserial_ext.py14 def _get_default_serial_port(args): argument
38 def _get_esptool_args(args): argument
40 if args.port is None:
41 args.port = _get_default_serial_port(args)
43 result += ['-p', args.port]
44 result += ['-b', str(args.baud)]
46 with open(os.path.join(args.build_dir, 'flasher_args.json')) as f:
70 def monitor(action, ctx, args, print_filter, monitor_baud, encrypted): argument
75 desc_path = os.path.join(args.build_dir, 'project_description.json')
77 ensure_build_directory(args, ctx.info_name)
[all …]
Dtools.py13 def executable_exists(args): argument
15 subprocess.check_output(args)
68 def run_tool(tool_name, args, cwd, env=dict()): argument
75 args = [str(arg) for arg in args]
76 display_args = ' '.join(quote_arg(arg) for arg in args)
92 subprocess.check_call(args, env=env_copy, cwd=cwd)
97 def run_target(target_name, args, env=dict()): argument
98 generator_cmd = GENERATORS[args.generator]['command']
100 if args.verbose:
101 generator_cmd += [GENERATORS[args.generator]['verbose_flag']]
[all …]
Ddebug_ext.py119 def post_debug(action, ctx, args, **kwargs): argument
146 def get_project_desc(args, ctx): argument
147 desc_path = os.path.join(args.build_dir, 'project_description.json')
149 ensure_build_directory(args, ctx.info_name)
154 def openocd(action, ctx, args, openocd_scripts, openocd_commands): argument
165 project_desc = get_project_desc(args, ctx)
177 args = ['openocd'] + shlex.split(openocd_arguments)
181 … process = subprocess.Popen(args, stdout=openocd_out, stderr=subprocess.STDOUT, bufsize=1)
191 def gdbui(action, ctx, args, gdbgui_port, gdbinit, require_openocd): argument
195 project_desc = get_project_desc(args, ctx)
[all …]
/hal_espressif-2.7.6/components/esp_common/test/
Dtest_delay.c44 const delay_test_arg_t args = { variable
50 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void *)&args, 3, NULL, 0);
51 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
52 TEST_ASSERT_INT32_WITHIN(1000, args.delay_us, args.result);
55 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void *)&args, 3, NULL, 1);
56 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
57 TEST_ASSERT_INT32_WITHIN(1000, args.delay_us, args.result);
61 vSemaphoreDelete(args.done);
67 const delay_test_arg_t args = { variable
73 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void *)&args, 3, NULL, 0);
[all …]
/hal_espressif-2.7.6/tools/
Dfind_apps.py248 args = parser.parse_args()
249 setup_logging(args)
252 if args.app_list:
253 conflict_args = [args.recursive, args.build_system, args.target, args.exclude, args.paths]
257 if not os.path.exists(args.app_list):
258 raise OSError('File not found {}'.format(args.app_list))
261 if not args.target:
265 args.target = env_target
268 args.target = DEFAULT_TARGET
269 if not args.build_system:
[all …]
Dbuild_apps.py80 args = parser.parse_args()
82 setup_logging(args)
84 build_items = [BuildItem.from_json(line) for line in args.build_list]
90 num_jobs = args.parallel_count
91 job_index = args.parallel_index - 1 # convert to 0-based index
107 build_info.dry_run = args.dry_run
108 build_info.verbose = args.build_verbose
109 build_info.keep_going = args.keep_going
111 if args.output_build_list:
112 args.output_build_list.write(build_info.to_json_expanded() + '\n')
[all …]
Dmkuf2.py103 def action_write(args): argument
104 with UF2Writer(args['chip_id'], args['output_file'], args['chunk_size']) as writer:
105 for addr, f in args['files']:
108 print('"{}" has been written.'.format(args['output_file']))
155 args = parser.parse_args()
169 if args.files:
170 …= [(parse_addr(addr), check_file(f_name)) for addr, f_name in zip(args.files[::2], args.files[1::2…
172 if args.json:
173 json_dir = os.path.dirname(os.path.abspath(args.json))
182 with open(args.json) as f:
[all …]
/hal_espressif-2.7.6/docs/
Dbuild_docs.py108 args = parser.parse_args()
111 if args.language is None:
115 languages = [args.language]
118 if args.target is None:
122 targets = [args.target]
124 if args.action == 'build' or args.action is None:
125 if args.action is None:
126 args.check_warnings_only = False
127 sys.exit(action_build(args))
129 if args.action == 'linkcheck':
[all …]
/hal_espressif-2.7.6/components/app_trace/
Dhost_file_io.c85 …race_dest_t dest, uint8_t cmd, void (*prep_args)(uint8_t *, void *), void *args, uint32_t args_len) in esp_apptrace_file_cmd_send() argument
99 prep_args(ptr + sizeof(hdr->cmd), args); in esp_apptrace_file_cmd_send()
137 esp_apptrace_fopen_args_t *args = priv; in esp_apptrace_fopen_args_prepare() local
139 memcpy(buf, args->path, args->path_len); in esp_apptrace_fopen_args_prepare()
140 memcpy(buf + args->path_len, args->mode, args->mode_len); in esp_apptrace_fopen_args_prepare()
177 esp_apptrace_fclose_args_t *args = priv; in esp_apptrace_fclose_args_prepare() local
179 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fclose_args_prepare()
207 esp_apptrace_fwrite_args_t *args = priv; in esp_apptrace_fwrite_args_prepare() local
209 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fwrite_args_prepare()
210 memcpy(buf + sizeof(args->file), args->buf, args->size); in esp_apptrace_fwrite_args_prepare()
[all …]
/hal_espressif-2.7.6/examples/protocols/mqtt/ssl_ds/
Dconfigure_ds.py160 def efuse_summary(args, idf_target): argument
161 …mponents/esptool_py/esptool/espefuse.py --chip {0} -p {1} summary'.format(idf_target, (args.port)))
166 def efuse_burn_key(args, idf_target): argument
170 if args.production is True:
177 ….format((idf_target), (args.port), ('BLOCK_KEY' + str(args.efuse_key_id)), (hmac_key_file), (key_b…
219 def get_efuse_summary_json(args, idf_target): argument
223 … '--chip {0} -p {1} summary --format json'.format(idf_target, (args.port))), shell=True)
246 def configure_efuse_key_block(args, idf_target): argument
247 efuse_summary_json = get_efuse_summary_json(args, idf_target)
248 key_blk = 'BLOCK_KEY' + str(args.efuse_key_id)
[all …]
/hal_espressif-2.7.6/tools/mass_mfg/
Dmfg_gen.py308 def create_intermediate_csv(args, keys_in_config_file, keys_in_values_file, keys_repeat, is_encr=Fa… argument
316 config_data_to_write = add_config_data_per_namespace(args.conf)
319 with open(args.values, 'r', newline=None) as csv_values_file:
326 filename, file_ext = os.path.splitext(args.values)
329 target_values_file = set_repeat_value(keys_repeat, keys, args.values, target_filename)
331 target_values_file = args.values
339 output_csv_target_dir = create_dir(csv_str, args.outdir)
341 output_bin_target_dir = create_dir(bin_str, args.outdir)
342 if args.keygen:
354 file_identifier_value = get_fileid_val(args.fileid, keys_in_config_file,
[all …]
/hal_espressif-2.7.6/tools/ci/python_packages/ttfw_idf/
DCIScanTests.py87 args = parser.parse_args()
88 … build_test_case_apps, build_standalone_apps = _judge_build_or_not(args.test_type, args.build_all)
90 if not os.path.exists(args.output_path):
92 os.makedirs(args.output_path)
101 output_json([], target, args.build_system, args.output_path)
104 …ath.join(os.getenv('IDF_PATH'), path) if not os.path.isabs(path) else path for path in args.paths])
108 if args.test_type == 'example_test':
109 assign = ExampleAssignTest(path, args.ci_config_file)
110 elif args.test_type in ['test_apps', 'component_ut']:
111 assign = TestAppsAssignTest(path, args.ci_config_file)
[all …]
/hal_espressif-2.7.6/tools/esp_prov/
Desp_prov.py306 def desc_format(*args): argument
308 for arg in args:
386 args = parser.parse_args() variable
388 obj_transport = get_transport(args.mode.lower(), args.name)
394 if args.secver is None:
402 args.secver = int(not has_capability(obj_transport, 'no_sec'))
403 print('Security scheme determined to be :', args.secver)
405 if (args.secver != 0) and not has_capability(obj_transport, 'no_pop'):
406 if len(args.pop) == 0:
409 elif len(args.pop) != 0:
[all …]
/hal_espressif-2.7.6/tools/ldgen/
Dldgen.py44 def _update_environment(args): argument
45 env = [(name, value) for (name,value) in (e.split('=',1) for e in args.env)]
50 if args.env_file is not None:
51 env = json.load(args.env_file)
113 args = argparser.parse_args()
115 input_file = args.input
116 fragment_files = [] if not args.fragments else args.fragments
117 libraries_file = args.libraries_file
118 config_file = args.config
119 output_path = args.output
[all …]
/hal_espressif-2.7.6/components/partition_table/
Dparttool.py125 def _call_esptool(self, args, out=None): argument
134 esptool_args += args
285 args = parser.parse_args()
286 quiet = args.quiet
289 if args.operation is None:
295 if args.partition_name:
296 partition_id = PartitionName(args.partition_name)
297 elif args.partition_type:
298 if not args.partition_subtype:
300 …partition_id = PartitionType(args.partition_type, args.partition_subtype, getattr(args, 'part_list…
[all …]
/hal_espressif-2.7.6/components/espcoredump/
Despcoredump.py54 if not args.core:
56 loader = ESPCoreDumpFlashLoader(args.off, port=args.port, baud=args.baud)
57 elif args.core_format != 'elf':
59 loader = ESPCoreDumpFileLoader(args.core, args.core_format == 'b64')
62 core_filename = args.core
66 loader.create_corefile(exe_name=args.prog)
68 if args.save_core:
70 copyfile(loader.core_elf_file.name, args.save_core)
79 rom_elf, rom_sym_cmd = load_aux_elf(args.rom_elf)
83 args=[args.gdb,
[all …]
/hal_espressif-2.7.6/components/esp_pm/test/
Dtest_pm.c255 delay_test_arg_t args = { variable
264 args.delay_us = delay_ms * 1000;
266 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void*) &args, 3, NULL, 0);
267 TEST_ASSERT( xSemaphoreTake(args.done, delay_ms * 10 / portTICK_PERIOD_MS) );
268 printf("CPU0: %d %d\n", args.delay_us, args.result);
269 TEST_ASSERT_INT32_WITHIN(1000 * portTICK_PERIOD_MS * 2, args.delay_us, args.result);
272 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void*) &args, 3, NULL, 1);
273 TEST_ASSERT( xSemaphoreTake(args.done, delay_ms * 10 / portTICK_PERIOD_MS) );
274 printf("CPU1: %d %d\n", args.delay_us, args.result);
275 TEST_ASSERT_INT32_WITHIN(1000 * portTICK_PERIOD_MS * 2, args.delay_us, args.result);
[all …]
/hal_espressif-2.7.6/tools/ci/python_packages/
Dgitlab_api.py84 def wrapper(self, *args, **kwargs): argument
88 res = func(self, *args, **kwargs)
197 args = parser.parse_args() variable
199 gitlab_inst = Gitlab(args.project_id)
200 if args.action == 'download_artifacts':
201 gitlab_inst.download_artifacts(args.job_id, args.destination)
202 if args.action == 'download_artifact':
203 gitlab_inst.download_artifact(args.job_id, args.artifact_path, args.destination)
204 elif args.action == 'find_job_id':
205 job_ids = gitlab_inst.find_job_id(args.job_name, args.pipeline_id)
[all …]
/hal_espressif-2.7.6/tools/esp_app_trace/
Dlogtrace_proc.py23 self.args = log_args
26 return 'fmt_addr = 0x%x, args = %d/%s' % (self.fmt_addr, len(self.args), self.args)
89 while i < len(lrec.args):
96 arg_str = apptrace.get_str_from_elf(felf, lrec.args[i])
98 lrec.args[i] = arg_str
104 print(fmt_str % tuple(lrec.args), end='')
110 print('\nFmt = {%s}, args = %d/%s' % (fmt_str, len(lrec.args), lrec.args))
122 args = parser.parse_args()
126 print("Parse trace file '%s'..." % args.trace_file)
127 lrecs = logtrace_parse(args.trace_file)
[all …]
Dsysviewtrace_proc.py56 args = parser.parse_args()
64 if args.include_events == 'all':
67 elif args.include_events == 'heap':
69 elif args.include_events == 'log':
72 logging.basicConfig(level=verbosity_levels[args.verbose], format='[%(levelname)s] %(message)s')
76 for i, trace_source in enumerate(args.trace_sources):
90 reader = apptrace.reader_create(trace_source, args.tmo)
97 sysview.parse_trace(reader, parser, args.events_map)
111 …treamTraceDataProcessor(traces=parsers, print_events=args.dump_events, keep_all_events=True if arg…
114 …sysview.SysViewHeapTraceDataProcessor(args.toolchain, args.elf_file, root_proc=proc, print_heap_ev…
[all …]
/hal_espressif-2.7.6/tools/test_idf_monitor/
Didf_monitor_wrapper.py53 args = parser.parse_args()
55 serial_instance = serial.serial_for_url(args.port, 115200, do_not_open=True)
56 monitor = idf_monitor.Monitor(serial_instance, args.elf_file, args.print_filter, 'make',
57 toolchain_prefix=args.toolchain_prefix, eol='CR',
58 decode_panic=args.decode_panic, target=args.target)
61 args=(monitor.serial_reader, args.serial_alive_file))

123456789