Home
last modified time | relevance | path

Searched full:args (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/hal_espressif-3.5.0/components/bt/host/bluedroid/common/include/common/
Dbt_trace.h220 …ERROR(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_ERROR && BT_LOG_LEVEL_CHECK(BT… argument
221 …NING(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_WARNING && BT_LOG_LEVEL_CHECK(BTM… argument
222 …CE_API(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_API && BT_LOG_LEVEL_CHECK(B… argument
223 …EVENT(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_EVENT && BT_LOG_LEVEL_CHECK(BT… argument
224 …DEBUG(fmt, args...) {if (btm_cb.trace_level >= BT_TRACE_LEVEL_DEBUG && BT_LOG_LEVEL_CHECK(BT… argument
228 …OR(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_ERROR && BT_LOG_LEVEL_CHECK(L2C… argument
229 …G(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_WARNING && BT_LOG_LEVEL_CHECK(L2CA… argument
230 …API(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_API && BT_LOG_LEVEL_CHECK(L2… argument
231 …NT(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_EVENT && BT_LOG_LEVEL_CHECK(L2C… argument
232 …UG(fmt, args...) {if (l2cb.l2cap_trace_level >= BT_TRACE_LEVEL_DEBUG && BT_LOG_LEVEL_CHECK(L2C… argument
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/esptool/
Dcmds.py155 # Each function takes either two args (<ESPLoader instance>, <args>) or a single <args>
159 def load_ram(esp, args): argument
160 image = LoadFirmwareImage(esp.CHIP_NAME, args.filename)
182 def read_mem(esp, args): argument
183 print("0x%08x = 0x%08x" % (args.address, esp.read_reg(args.address)))
186 def write_mem(esp, args): argument
187 esp.write_reg(args.address, args.value, args.mask, 0)
188 print("Wrote %08x, mask %08x to %08x" % (args.value, args.mask, args.address))
191 def dump_mem(esp, args): argument
192 with open(args.filename, "wb") as f:
[all …]
/hal_espressif-3.5.0/components/bt/common/include/
Dbt_common.h113 …ROR(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_ERROR && BT_LOG_LEVEL_CHECK(… argument
114 …NG(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_WARNING && BT_LOG_LEVEL_CHECK(B… argument
115 …_API(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_API && BT_LOG_LEVEL_CHECK… argument
116 …ENT(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_EVENT && BT_LOG_LEVEL_CHECK(… argument
117 …BUG(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_DEBUG && BT_LOG_LEVEL_CHECK(… argument
118 …SE(fmt, args...) {if (BTC_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_VERBOSE && BT_LOG_LEVEL_CHECK(B… argument
121 …ROR(fmt, args...) {if (OSI_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_ERROR && BT_LOG_LEVEL_CHECK(… argument
122 …NG(fmt, args...) {if (OSI_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_WARNING && BT_LOG_LEVEL_CHECK(O… argument
123 …_API(fmt, args...) {if (OSI_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_API && BT_LOG_LEVEL_CHECK… argument
124 …ENT(fmt, args...) {if (OSI_INITIAL_TRACE_LEVEL >= BT_TRACE_LEVEL_EVENT && BT_LOG_LEVEL_CHECK(… argument
[all …]
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_trace.h84args...) do {if ((BLE_MESH_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_ERROR) && BLE_MESH_LOG_LEVEL_CHECK(B… argument
85args...) do {if ((BLE_MESH_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_WARN) && BLE_MESH_LOG_LEVEL_CHECK(BL… argument
86args...) do {if ((BLE_MESH_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_INFO) && BLE_MESH_LOG_LEVEL_CHECK(BL… argument
87args...) do {if ((BLE_MESH_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_DEBUG) && BLE_MESH_LOG_LEVEL_CHECK(B… argument
89 #define BT_ERR(fmt, args...)
90 #define BT_WARN(fmt, args...)
91 #define BT_INFO(fmt, args...)
92 #define BT_DBG(fmt, args...)
96args...) do {if ((BLE_MESH_NET_BUF_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_ERROR) && BLE_MESH_LOG_LEVEL_… argument
97args...) do {if ((BLE_MESH_NET_BUF_LOG_LEVEL >= BLE_MESH_LOG_LEVEL_WARN) && BLE_MESH_LOG_LEVEL_C… argument
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espsecure/
D__init__.py89 def digest_secure_bootloader(args): argument
93 _check_output_is_not_input(args.keyfile, args.output)
94 _check_output_is_not_input(args.image, args.output)
95 _check_output_is_not_input(args.iv, args.output)
96 if args.iv is not None:
98 iv = args.iv.read(128)
101 plaintext_image = args.image.read()
102 args.image.seek(0)
106 fw_image = esptool.bin_image.ESP32FirmwareImage(args.image)
126 key = _load_hardware_key(args.keyfile)
[all …]
/hal_espressif-3.5.0/components/esp_system/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-3.5.0/components/app_trace/
Dhost_file_io.c76 …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
90 prep_args(ptr + sizeof(hdr->cmd), args); in esp_apptrace_file_cmd_send()
128 esp_apptrace_fopen_args_t *args = priv; in esp_apptrace_fopen_args_prepare() local
130 memcpy(buf, args->path, args->path_len); in esp_apptrace_fopen_args_prepare()
131 memcpy(buf + args->path_len, args->mode, args->mode_len); in esp_apptrace_fopen_args_prepare()
168 esp_apptrace_fclose_args_t *args = priv; in esp_apptrace_fclose_args_prepare() local
170 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fclose_args_prepare()
198 esp_apptrace_fwrite_args_t *args = priv; in esp_apptrace_fwrite_args_prepare() local
200 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fwrite_args_prepare()
201 memcpy(buf + sizeof(args->file), args->buf, args->size); in esp_apptrace_fwrite_args_prepare()
[all …]
/hal_espressif-3.5.0/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)
40 # read args num and format str addr
55 # read args
60 raise ESPLogTraceParserError('Failed to read log record args (%s)!' % e)
64 print('Unprocessed %d bytes of log record args!' % len(trc_buf))
70 raise ESPLogTraceParserError('Failed to unpack log record args (%s)!' % e)
89 while i < len(lrec.args):
96 arg_str = apptrace.get_str_from_elf(felf, lrec.args[i])
98 lrec.args[i] = arg_str
[all …]
/hal_espressif-3.5.0/components/bt/host/bluedroid/api/
Desp_hidd_api.c69 btc_hidd_args_t args; in esp_bt_hid_device_register_app() local
70 memset(&args, 0, sizeof(btc_hidd_args_t)); in esp_bt_hid_device_register_app()
71 args.register_app.app_param = app_param; in esp_bt_hid_device_register_app()
72 args.register_app.in_qos = in_qos; in esp_bt_hid_device_register_app()
73 args.register_app.out_qos = out_qos; in esp_bt_hid_device_register_app()
79 bt_status_t stat = btc_transfer_context(&msg, &args, sizeof(btc_hidd_args_t), NULL); in esp_bt_hid_device_register_app()
101 btc_hidd_args_t args; in esp_bt_hid_device_connect() local
102 memset(&args, 0, sizeof(btc_hidd_args_t)); in esp_bt_hid_device_connect()
103 memcpy(args.connect.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_device_connect()
109 bt_status_t stat = btc_transfer_context(&msg, &args, sizeof(btc_hidd_args_t), NULL); in esp_bt_hid_device_connect()
[all …]
/hal_espressif-3.5.0/tools/idf_py_actions/
Dcore_ext.py21 def build_target(target_name, ctx, args): argument
28 ensure_build_directory(args, ctx.info_name)
29 run_target(target_name, args)
31 def size_target(target_name, ctx, args): argument
42 ensure_build_directory(args, ctx.info_name)
43 run_target('all', args, custom_error_handler=tool_error_handler)
44 run_target(target_name, args)
46 def list_build_system_targets(target_name, ctx, args): argument
48 build_target('help', ctx, args)
50 def menuconfig(target_name, ctx, args, style): argument
[all …]
Dtools.py13 def executable_exists(args): argument
15 subprocess.check_output(args)
74 def run_tool(tool_name, args, cwd, env=dict(), custom_error_handler=None): argument
81 args = [str(arg) for arg in args]
82 display_args = ' '.join(quote_arg(arg) for arg in args)
98 subprocess.check_call(args, env=env_copy, cwd=cwd)
106 def run_target(target_name, args, env=dict(), custom_error_handler=None): argument
107 generator_cmd = GENERATORS[args.generator]['command']
109 if args.verbose:
110 generator_cmd += [GENERATORS[args.generator]['verbose_flag']]
[all …]
Dserial_ext.py18 def _get_project_desc(ctx, args): argument
19 desc_path = os.path.join(args.build_dir, 'project_description.json')
21 ensure_build_directory(args, ctx.info_name)
26 def _get_default_serial_port(args): argument
50 def _get_esptool_args(args): argument
53 if args.port is None:
54 args.port = _get_default_serial_port(args)
59 result += ['-p', args.port]
60 result += ['-b', str(args.baud)]
62 with open(os.path.join(args.build_dir, 'flasher_args.json')) as f:
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32c2/
Doperations.py132 def burn_custom_mac(esp, efuses, args): argument
133 efuses["CUSTOM_MAC"].save(args.mac)
137 get_custom_mac(esp, efuses, args)
141 def get_custom_mac(esp, efuses, args): argument
145 def set_flash_voltage(esp, efuses, args): argument
149 def adc_info(esp, efuses, args): argument
170 def burn_key(esp, efuses, args, digest=None): argument
172 datafile_list = args.keyfile[
173 0 : len([name for name in args.keyfile if name is not None]) :
177 efuses.force_write_always = args.force_write_always
[all …]
/hal_espressif-3.5.0/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-3.5.0/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 …]
Didf_monitor.py174 def serial_write(self, *args, **kwargs): # type: ignore argument
236 def serial_write(self, *args, **kwargs): # type: ignore argument
239 self.serial.write(*args, **kwargs)
267 def serial_write(self, *args, **kwargs): # type: ignore argument
268 self.serial.stdin.write(*args, **kwargs)
276 args = parser.parse_args()
280 if os.name == 'nt' and args.port.startswith('COM'):
281 args.port = args.port.replace('COM', r'\\.\COM')
283 yellow_print('--- Using %s instead...' % args.port)
284 elif args.port.startswith('/dev/tty.') and sys.platform == 'darwin':
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32/
Doperations.py116 def burn_custom_mac(esp, efuses, args): argument
121 efuses["CUSTOM_MAC"].save(args.mac)
124 get_custom_mac(esp, efuses, args)
128 def get_custom_mac(esp, efuses, args): argument
140 def set_flash_voltage(esp, efuses, args): argument
146 if args.voltage == "OFF" and sdio_reg.get() != 0:
151 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
156 if args.voltage == "OFF":
164 elif args.voltage == "1.8V":
169 elif args.voltage == "3.3V":
[all …]
/hal_espressif-3.5.0/components/partition_table/
Dparttool.py125 def _call_esptool(self, args, out=None): argument
134 esptool_args += args
239 parser.add_argument('--esptool-args', help='additional main arguments for esptool', nargs='+')
240 …parser.add_argument('--esptool-write-args', help='additional subcommand arguments when writing to …
241 …parser.add_argument('--esptool-read-args', help='additional subcommand arguments when reading flas…
242 …parser.add_argument('--esptool-erase-args', help='additional subcommand arguments when erasing reg…
285 args = parser.parse_args()
286 quiet = args.quiet
289 if args.operation is None:
295 if args.partition_name:
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/
Dbase_operations.py223 def summary(esp, efuses, args): argument
226 human_output = args.format == "summary"
228 if args.file != sys.stdout:
229 print("Saving efuse values to " + args.file.name)
241 file=args.file,
243 print("-" * 88, file=args.file)
246 print("%s fuses:" % category.title(), file=args.file)
276 file=args.file,
284 file=args.file,
286 if args.format == "json":
[all …]
/hal_espressif-3.5.0/tools/ci/python_packages/ttfw_idf/
DCIScanTests.py104 args = parser.parse_args()
105 … build_test_case_apps, build_standalone_apps = _judge_build_or_not(args.test_type, args.build_all)
107 if not os.path.exists(args.output_path):
109 os.makedirs(args.output_path)
118 output_json([], target, args.build_system, args.output_path)
122 …paths = set([os.path.join(idf_path, path) if not os.path.isabs(path) else path for path in args.pa…
126 if args.test_type == 'example_test':
127 assign = _ExampleAssignTest(path, args.ci_config_file)
128 elif args.test_type in ['test_apps', 'component_ut']:
129 assign = _TestAppsAssignTest(path, args.ci_config_file)
[all …]
/hal_espressif-3.5.0/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-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s2/
Doperations.py176 def burn_custom_mac(esp, efuses, args): argument
177 efuses["CUSTOM_MAC"].save(args.mac)
180 get_custom_mac(esp, efuses, args)
184 def get_custom_mac(esp, efuses, args): argument
188 def set_flash_voltage(esp, efuses, args): argument
194 if args.voltage == "OFF" and sdio_reg.get() != 0:
199 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
204 if args.voltage == "OFF":
212 elif args.voltage == "1.8V":
217 elif args.voltage == "3.3V":
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s3/
Doperations.py176 def burn_custom_mac(esp, efuses, args): argument
177 efuses["CUSTOM_MAC"].save(args.mac)
180 get_custom_mac(esp, efuses, args)
184 def get_custom_mac(esp, efuses, args): argument
188 def set_flash_voltage(esp, efuses, args): argument
194 if args.voltage == "OFF" and sdio_reg.get() != 0:
199 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
204 if args.voltage == "OFF":
212 elif args.voltage == "1.8V":
217 elif args.voltage == "3.3V":
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s3beta2/
Doperations.py176 def burn_custom_mac(esp, efuses, args): argument
177 efuses["CUSTOM_MAC"].save(args.mac)
180 get_custom_mac(esp, efuses, args)
184 def get_custom_mac(esp, efuses, args): argument
188 def set_flash_voltage(esp, efuses, args): argument
194 if args.voltage == "OFF" and sdio_reg.get() != 0:
199 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
204 if args.voltage == "OFF":
212 elif args.voltage == "1.8V":
217 elif args.voltage == "3.3V":
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32c3/
Doperations.py175 def burn_custom_mac(esp, efuses, args): argument
176 efuses["CUSTOM_MAC"].save(args.mac)
179 get_custom_mac(esp, efuses, args)
183 def get_custom_mac(esp, efuses, args): argument
187 def set_flash_voltage(esp, efuses, args): argument
191 def adc_info(esp, efuses, args): argument
229 def burn_key(esp, efuses, args, digest=None): argument
231 datafile_list = args.keyfile[
232 0 : len([name for name in args.keyfile if name is not None]) :
236 efuses.force_write_always = args.force_write_always
[all …]

12345678910>>...13