/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_atomic.h | 37 static inline bt_mesh_atomic_val_t bt_mesh_atomic_inc(bt_mesh_atomic_t *target) in bt_mesh_atomic_inc() argument 39 return bt_mesh_atomic_add(target, 1); in bt_mesh_atomic_inc() 42 extern bt_mesh_atomic_val_t bt_mesh_atomic_inc(bt_mesh_atomic_t *target); 56 static inline bt_mesh_atomic_val_t bt_mesh_atomic_dec(bt_mesh_atomic_t *target) in bt_mesh_atomic_dec() argument 58 return bt_mesh_atomic_sub(target, 1); in bt_mesh_atomic_dec() 61 extern bt_mesh_atomic_val_t bt_mesh_atomic_dec(bt_mesh_atomic_t *target); 75 static inline bt_mesh_atomic_val_t bt_mesh_atomic_get(const bt_mesh_atomic_t *target) in bt_mesh_atomic_get() argument 77 return __atomic_load_n(target, __ATOMIC_SEQ_CST); in bt_mesh_atomic_get() 80 extern bt_mesh_atomic_val_t bt_mesh_atomic_get(const bt_mesh_atomic_t *target); 96 static inline bt_mesh_atomic_val_t bt_mesh_atomic_set(bt_mesh_atomic_t *target, bt_mesh_atomic_val_… in bt_mesh_atomic_set() argument [all …]
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/ |
D | mesh_atomic.c | 38 bt_mesh_atomic_val_t bt_mesh_atomic_get(const bt_mesh_atomic_t *target) in bt_mesh_atomic_get() argument 40 return *target; in bt_mesh_atomic_get() 55 bt_mesh_atomic_val_t bt_mesh_atomic_set(bt_mesh_atomic_t *target, bt_mesh_atomic_val_t value) in bt_mesh_atomic_set() argument 61 ret = *target; in bt_mesh_atomic_set() 62 *target = value; in bt_mesh_atomic_set() 82 bt_mesh_atomic_val_t bt_mesh_atomic_or(bt_mesh_atomic_t *target, bt_mesh_atomic_val_t value) in bt_mesh_atomic_or() argument 88 ret = *target; in bt_mesh_atomic_or() 89 *target |= value; in bt_mesh_atomic_or() 109 bt_mesh_atomic_val_t bt_mesh_atomic_and(bt_mesh_atomic_t *target, bt_mesh_atomic_val_t value) in bt_mesh_atomic_and() argument 115 ret = *target; in bt_mesh_atomic_and() [all …]
|
/hal_espressif-2.7.6/examples/system/ota/otatool/ |
D | otatool_example.py | 60 target = OtatoolTarget(args.port) 63 target.write_ota_partition(0, args.binary) 66 target.write_ota_partition('ota_1', args.binary) 70 target.read_ota_partition('ota_0', 'app0.bin') 71 target.read_ota_partition(1, 'app1.bin') 78 target.erase_otadata() 83 target.switch_ota_partition(0) 88 target.switch_ota_partition(1) 90 target.switch_ota_partition('ota_1') 95 target.switch_ota_partition(0) [all …]
|
/hal_espressif-2.7.6/tools/ci/python_packages/ttfw_idf/ |
D | CIScanTests.py | 58 def output_json(apps_dict_list, target, build_system, output_dir): argument 59 output_path = os.path.join(output_dir, 'scan_{}_{}.json'.format(target.lower(), build_system)) 100 for target in SUPPORTED_TARGETS: 101 output_json([], target, args.build_system, args.output_path) 133 for target in SUPPORTED_TARGETS: 137 scan_info_dict[target]['test_case_apps'] = set() 141 if app_target.lower() != target.lower(): 143 _apps = find_apps(build_system_class, app_dir, True, exclude_apps, target.lower()) 145 scan_info_dict[target]['test_case_apps'].update(_apps) 148 scan_info_dict[target]['test_case_apps'] = set() [all …]
|
D | __init__.py | 89 def get_dut_class(target, dut_class_dict, erase_nvs=None): argument 90 if target not in dut_class_dict: 93 dut = dut_class_dict[target.upper()] 102 target = upper_list_or_str(kwargs.get('target', [])) 104 if not set(ci_target).issubset(set(target)): 112 def test_func_generator(func, app, target, ci_target, module, execution_time, level, erase_nvs, **k… argument 113 target = upper_list_or_str(target) 114 test_target = local_test_check(target) 122 app=app, dut=dut, target=target, ci_target=upper_list_or_str(ci_target), 131 def idf_example_test(app=Example, target='ESP32', ci_target=None, module='examples', execution_time… argument [all …]
|
D | IDFApp.py | 106 def __init__(self, dest_root_path, artifact_index_file, app_path, config_name, target): argument 115 self.artifact_info = self._find_artifact(artifact_index, app_path, config_name, target) 118 def _find_artifact(artifact_index, app_path, config_name, target): argument 127 if target: 128 match_result = match_result and target == artifact_info['target'] 219 …def __init__(self, app_path, config_name=None, target=None, case_group=IDFCaseGroup, artifact_cls=… argument 223 self.target = target 250 if self.target: 251 parts.append('target<{}>'.format(self.target)) 300 self.app_path, self.config_name, self.target) [all …]
|
/hal_espressif-2.7.6/components/esp_rom/ |
D | CMakeLists.txt | 1 idf_build_get_property(target IDF_TARGET) 6 INCLUDE_DIRS include "${target}" 9 # Append a target linker script at the target-specific path, 12 target_linker_script(${COMPONENT_LIB} INTERFACE "${target}/ld/${target}.rom.${name}.ld") 15 target_linker_script(${COMPONENT_LIB} INTERFACE "${target}/ld/${target}.rom.ld") 20 if(target STREQUAL "esp32") 26 elseif(target STREQUAL "esp32s2") 30 elseif(target STREQUAL "esp32s3") 34 elseif(target STREQUAL "esp32c3") 39 if(target STREQUAL "esp32") [all …]
|
/hal_espressif-2.7.6/components/efuse/ |
D | CMakeLists.txt | 1 idf_build_get_property(target IDF_TARGET) 3 if(EXISTS "${COMPONENT_DIR}/${target}") 4 include(${COMPONENT_DIR}/${target}/sources.cmake) 6 set(include_dirs include ${target}/include) 7 add_prefix(srcs "${target}/" ${EFUSE_SOC_SRCS}) 8 list(APPEND srcs "src/${target}/esp_efuse_api.c" 9 "src/${target}/esp_efuse_fields.c" 10 "src/${target}/esp_efuse_utility.c") 11 if("esp32s2" STREQUAL "${target}") 12 list(APPEND srcs "src/${target}/esp_efuse_rtc_table.c") [all …]
|
/hal_espressif-2.7.6/tools/ldgen/ |
D | generation.py | 32 def __init__(self, target, exclusions, explicit=False): argument 33 self.target = target 68 self.sections[s] = RuleNode.Section(v.target, [], []) 77 def add_sections(self, sections, target): argument 81 _sections.target = target 84 if target != _sections.target: 87 self.sections[sections] = RuleNode.Section(target, [], True) 113 for (target, commands_list) in cmds.items(): 114 commands[target].extend(commands_list) 128 def add_node_child(self, entity, sections, target, sections_db): argument [all …]
|
D | linker_script.py | 42 target = Fragment.IDENTIFIER 43 … reference = Suppress('mapping') + Suppress('[') + target.setResultsName('target') + Suppress(']') 53 target = parsed.target 55 marker = LinkerScript.Marker(target, indent, []) 64 target = None 66 target = member.target 71 rules.extend(mapping_rules[target]) 73 message = GenerationException.UNDEFINED_REFERENCE + " to target '" + target + "'."
|
/hal_espressif-2.7.6/tools/idf_py_actions/ |
D | debug_ext.py | 39 def _check_openocd_errors(fail_if_openocd_failed, target, ctx): argument 60 …raise FatalError('Action "{}" failed due to errors in OpenOCD:\n{}'.format(target, _check_for_comm… 62 def _terminate_async_target(target): argument 63 if target in processes and processes[target] is not None: 65 if target + '_outfile' in processes: 66 processes[target + '_outfile'].close() 67 p = processes[target] 77 if target + '_outfile_name' in processes: 78 if target == 'openocd': 79 … print(_check_for_common_openocd_issues(processes[target + '_outfile_name'], print_all=False)) [all …]
|
/hal_espressif-2.7.6/components/esp_gdbstub/ |
D | CMakeLists.txt | 1 idf_build_get_property(target IDF_TARGET) 11 target_include_directories(${COMPONENT_LIB} PUBLIC "xtensa" "${target}") 12 … target_sources(${COMPONENT_LIB} PRIVATE "xtensa/gdbstub_xtensa.c" "${target}/gdbstub_${target}.c") 14 target_include_directories(${COMPONENT_LIB} PUBLIC "riscv" "${target}") 15 target_sources(${COMPONENT_LIB} PRIVATE "riscv/gdbstub_riscv.c" "${target}/gdbstub_${target}.c")
|
/hal_espressif-2.7.6/components/app_update/ |
D | otatool.py | 57 …self.target = ParttoolTarget(port, baud, partition_table_offset, partition_table_file, esptool_arg… 64 self.target.read_partition(OtatoolTarget.OTADATA_PARTITION, temp_file.name) 76 self.target.erase_partition(OtatoolTarget.OTADATA_PARTITION) 113 partition_table = self.target.partition_table 202 self.target.write_partition(OtatoolTarget.OTADATA_PARTITION, temp_file.name) 207 self.target.read_partition(self._get_partition_id_from_ota_id(ota_id), output) 210 self.target.write_partition(self._get_partition_id_from_ota_id(ota_id), input) 213 self.target.erase_partition(self._get_partition_id_from_ota_id(ota_id)) 216 def _read_otadata(target): argument 217 target._check_otadata_partition() [all …]
|
/hal_espressif-2.7.6/tools/cmake/ |
D | uf2.cmake | 1 # Add UF2 build target 4 idf_build_get_property(target IDF_TARGET) 5 if("${target}" STREQUAL "esp32") 7 elseif("${target}" STREQUAL "esp32s2") 9 elseif("${target}" STREQUAL "esp32c3") 11 elseif("${target}" STREQUAL "esp32s3") 13 elseif("${target}" STREQUAL "linux") 16 message(FATAL_ERROR "UF2 family identificator is unknown for ${target}")
|
D | dfu.cmake | 5 idf_build_get_property(target IDF_TARGET) 6 if("${target}" STREQUAL "esp32") 8 elseif("${target}" STREQUAL "esp32s2") 10 elseif("${target}" STREQUAL "esp32s3") 12 elseif("${target}" STREQUAL "esp32c3") 14 elseif("${target}" STREQUAL "linux") 17 message(FATAL_ERROR "DFU PID unknown for ${target}")
|
/hal_espressif-2.7.6/docs/ |
D | build_docs.py | 118 if args.target is None: 122 targets = [args.target] 164 for target in targets: 166 build_dir = os.path.realpath(os.path.join(args.build_dir, language, target)) 169 …entries.append((language, target, build_dir, source_dir, args.sphinx_parallel_jobs, args.builders,… 191 def sphinx_call(language, target, build_dir, src_dir, sphinx_parallel_jobs, buildername, input_docs… argument 198 prefix = '%s/%s: ' % (language, target) 215 '-t', target, 216 '-D', 'idf_target={}'.format(target), 265 (language, target, build_dir, src_dir, sphinx_parallel_jobs, builders, input_docs) = entry [all …]
|
/hal_espressif-2.7.6/examples/storage/parttool/ |
D | parttool_example.py | 56 target = ParttoolTarget(args.port) 62 target.read_partition(factory, 'app.bin') 67 storage_info = target.get_partition_info(storage) 77 target.write_partition(storage, 'write.bin') 81 target.read_partition(storage, 'read.bin') 87 target.erase_partition(storage) 91 target.read_partition(storage, 'read.bin')
|
/hal_espressif-2.7.6/components/xtensa/trax/test/ |
D | gdb_log_expected.txt | 10 0001: Indirect branch message, 2 packets, PC range 0x40080400 - 0x4008040a, target PC 0x40080411, i… 18 0002: Indirect branch message, 2 packets, PC range 0x40080411 - 0x40080418, target PC 0x40080400, i… 25 0003: Indirect branch message, 2 packets, PC range 0x40080400 - 0x4008040a, target PC 0x40080411, i… 33 0004: Indirect branch message, 2 packets, PC range 0x40080411 - 0x40080418, target PC 0x40080400, i… 40 0005: Indirect branch message, 2 packets, PC range 0x40080400 - 0x4008040f, target PC 0x4008042a, i… 50 0006: Indirect branch message, 2 packets, PC range 0x4008042a - 0x4008042b, target PC 0x4008041a, i… 54 0007: Indirect branch message, 2 packets, PC range 0x4008041a - 0x40080424, target PC 0x40080400, i… 62 0008: Indirect branch message, 2 packets, PC range 0x40080400 - 0x4008040f, target PC 0x4008042a, i… 72 0009: Indirect branch message, 2 packets, PC range 0x4008042a - 0x4008042b, target PC 0x40080426, i… 76 0010: Indirect branch message, 2 packets, PC range 0x40080426 - 0x4008042b, target PC 0x4008041a, i… [all …]
|
/hal_espressif-2.7.6/components/xtensa/ |
D | CMakeLists.txt | 1 idf_build_get_property(target IDF_TARGET) 2 if(${target} STREQUAL "esp32c3") 18 "${target}/trax_init.c" 27 INCLUDE_DIRS include ${target}/include 32 … target_link_libraries(${COMPONENT_LIB} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/${target}/libxt_hal.a")
|
/hal_espressif-2.7.6/tools/test_apps/system/gdb_loadable_elf/ |
D | app_test.py | 25 self.t = threading.Thread(target=self.run, args=(log_path, self.exit_event,)) 42 target = 'esp32' 43 app = ttfw_idf.LoadableElfTestApp(rel_project_path, app_files, target=target) 52 gdb_init = os.path.join(proj_path, 'gdbinit_' + target) 55 with ttfw_idf.OCDBackend(openocd_log, app.target): 56 with ttfw_idf.GDBBackend(gdb_log, elf_path, app.target, gdb_init, gdb_dir) as p:
|
/hal_espressif-2.7.6/components/esp_adc_cal/ |
D | CMakeLists.txt | 1 idf_build_get_property(target IDF_TARGET) 3 if(${target} STREQUAL "esp32") 8 elseif(${target} STREQUAL "esp32s2") 13 elseif(${target} STREQUAL "esp32c3")
|
/hal_espressif-2.7.6/components/esp_hw_support/ |
D | CMakeLists.txt | 1 idf_build_get_property(target IDF_TARGET) 4 if(${target} STREQUAL "esp32") 19 idf_build_get_property(target IDF_TARGET) 20 add_subdirectory(port/${target})
|
/hal_espressif-2.7.6/components/partition_table/ |
D | parttool.py | 186 def _write_partition(target, partition_id, input): argument 187 target.write_partition(partition_id, input) 188 partition = target.get_partition_info(partition_id) 192 def _read_partition(target, partition_id, output): argument 193 target.read_partition(partition_id, output) 194 partition = target.get_partition_info(partition_id) 199 def _erase_partition(target, partition_id): argument 200 target.erase_partition(partition_id) 201 partition = target.get_partition_info(partition_id) 205 def _get_partition_info(target, partition_id, info): argument [all …]
|
/hal_espressif-2.7.6/components/hal/ |
D | CMakeLists.txt | 1 idf_build_get_property(target IDF_TARGET) 5 set(includes "${target}/include" "include") 36 if(${target} STREQUAL "esp32") 53 if(${target} STREQUAL "esp32s2") 71 if(${target} STREQUAL "esp32s3") 85 if(${target} STREQUAL "esp32c3")
|
/hal_espressif-2.7.6/tools/ |
D | find_apps.py | 123 def find_apps(build_system_class, path, recursive, exclude_list, target): argument 161 if supported_targets and (target in supported_targets): 253 conflict_args = [args.recursive, args.build_system, args.target, args.exclude, args.paths] 261 if not args.target: 265 args.target = env_target 268 args.target = DEFAULT_TARGET 272 required_args = [args.build_system, args.target, args.paths] 285 … app_dirs += find_apps(build_system_class, path, args.recursive, args.exclude or [], args.target) 304 args.target or app['target'],
|