/hal_espressif-3.5.0/components/app_update/test/ |
D | test_switch_ota.c | 109 …ESP_LOGI(TAG, "Writing to partition subtype %d at offset 0x%x", update_partition->subtype, update_… in get_next_update_partition() 122 …ESP_LOGI(TAG, "Writing to partition subtype %d at offset 0x%x", next_app_partition->subtype, next_… in copy_current_app_to_next_part() 142 …ESP_LOGI(TAG, "Writing to partition subtype %d at offset 0x%x", next_app_partition->subtype, next_… in copy_current_app_to_next_part_with_offset() 200 running->type, running->subtype, running->address); in get_running_firmware() 202 configured->type, configured->subtype, configured->address); in get_running_firmware() 205 if (running->subtype != ESP_PARTITION_SUBTYPE_APP_TEST) { in get_running_firmware() 330 TEST_ASSERT_EQUAL(ESP_PARTITION_SUBTYPE_APP_FACTORY, cur_app->subtype); in test_flow1() 335 TEST_ASSERT_EQUAL(ESP_PARTITION_SUBTYPE_APP_OTA_0, cur_app->subtype); in test_flow1() 341 TEST_ASSERT_EQUAL(ESP_PARTITION_SUBTYPE_APP_OTA_1, cur_app->subtype); in test_flow1() 348 TEST_ASSERT_EQUAL(ESP_PARTITION_SUBTYPE_APP_OTA_0, cur_app->subtype); in test_flow1() [all …]
|
D | test_ota_ops.c | 74 TEST_ASSERT_EQUAL_HEX8(ESP_PARTITION_SUBTYPE_APP_OTA_0, p->subtype); 78 TEST_ASSERT_EQUAL_HEX8(ESP_PARTITION_SUBTYPE_APP_OTA_0, p->subtype); 84 TEST_ASSERT_EQUAL_HEX8(ESP_PARTITION_SUBTYPE_APP_OTA_1, p->subtype); 88 TEST_ASSERT_EQUAL_HEX8(ESP_PARTITION_SUBTYPE_APP_OTA_0, p->subtype);;
|
/hal_espressif-3.5.0/components/spi_flash/ |
D | partition.c | 48 esp_partition_subtype_t subtype; // requested subtype member 55 …ue_t* iterator_create(esp_partition_type_t type, esp_partition_subtype_t subtype, const char* labe… 85 esp_partition_subtype_t subtype, const char* label) in esp_partition_find() argument 92 if (type == ESP_PARTITION_TYPE_ANY && subtype != ESP_PARTITION_SUBTYPE_ANY) { in esp_partition_find() 97 esp_partition_iterator_t it = iterator_create(type, subtype, label); in esp_partition_find() 118 if (it->subtype != ESP_PARTITION_SUBTYPE_ANY && it->subtype != p->subtype) { in esp_partition_next() 138 esp_partition_subtype_t subtype, const char* label) in esp_partition_find_first() argument 140 esp_partition_iterator_t it = esp_partition_find(type, subtype, label); in esp_partition_find_first() 150 esp_partition_subtype_t subtype, const char* label) in iterator_create() argument 155 it->subtype = subtype; in iterator_create() [all …]
|
/hal_espressif-3.5.0/components/partition_table/ |
D | gen_esp32part.py | 84 def get_subtype_as_int(ptype, subtype): argument 87 return SUBTYPES[get_ptype_as_int(ptype)][subtype] 90 return int(subtype, 0) 92 return subtype 198 def find_by_type(self, ptype, subtype): argument 203 subtype = get_subtype_as_int(ptype, subtype) 206 if p.type == ptype and p.subtype == subtype: 243 …otadata_duplicates = [p for p in self if p.type == TYPES['data'] and p.subtype == SUBTYPES[DATA_TY… 316 self.subtype = None 331 res.subtype = res.parse_subtype(fields[2]) [all …]
|
D | check_sizes.py | 70 def check_partition(ptype, subtype, partition_table_file, bin_file): # type: (str, str, io.IOBase,… argument 76 if subtype is not None: 77 ptype_str += ' ({})'.format(subtype) 78 subtype = get_subtype_as_int(ptype, subtype) 79 partitions = [p for p in partitions if p.subtype == subtype] 144 check_partition(args.type, args.subtype, args.partition_table, args.binary)
|
D | parttool.py | 48 def __init__(self, name=None, p_type=None, subtype=None, part_list=None): argument 51 self.subtype = subtype 63 def __init__(self, p_type, subtype, part_list=None): argument 64 _PartitionId.__init__(self, p_type=p_type, subtype=subtype, part_list=part_list) 148 elif partition_id.type and partition_id.subtype: 149 … partition = list(self.partition_table.find_by_type(partition_id.type, partition_id.subtype)) 154 for subtype in search: 155 partition = next(self.partition_table.find_by_type('app', subtype), None) 220 'subtype': '{}'.format(p.subtype), 305 partition-type,--partition-subtype OR partition-boot-default')
|
D | Makefile.projbuild | 73 get_partition_info --partition-type data --partition-subtype phy --info offset)) 79 get_partition_info --partition-type data --partition-subtype ota --info offset)) 82 get_partition_info --partition-type data --partition-subtype ota --info size)) 85 get_partition_info --partition-type app --partition-subtype factory --info offset))
|
/hal_espressif-3.5.0/examples/storage/partition_api/partition_find/main/ |
D | main.c | 29 static const char* get_subtype_str(esp_partition_subtype_t subtype) in get_subtype_str() argument 31 switch(subtype) { in get_subtype_str() 46 static void find_partition(esp_partition_type_t type, esp_partition_subtype_t subtype, const char* … in find_partition() argument 48 …ind partition with type %s, subtype %s, label %s...", get_type_str(type), get_subtype_str(subtype), in find_partition() 51 const esp_partition_t * part = esp_partition_find_first(type, subtype, name); in find_partition()
|
/hal_espressif-3.5.0/examples/storage/partition_api/partition_find/ |
D | README.md | 5 properties that returned results should match - notably partition type, subtype and label/name. In … 11 using two constraints - type and subtype. However, the partition table contains partitions with sam… 31 I (350) example: Find partition with type ESP_PARTITION_TYPE_DATA, subtype ESP_PARTITION_SUBTYPE_DA… 33 I (370) example: Find partition with type ESP_PARTITION_TYPE_DATA, subtype ESP_PARTITION_SUBTYPE_DA… 35 I (390) example: Find partition with type ESP_PARTITION_TYPE_APP, subtype ESP_PARTITION_SUBTYPE_APP… 37 I (410) example: Find partition with type ESP_PARTITION_TYPE_DATA, subtype ESP_PARTITION_SUBTYPE_DA… 40 I (440) example: Find partition with type ESP_PARTITION_TYPE_DATA, subtype ESP_PARTITION_SUBTYPE_DA…
|
D | partition_find_example_test.py | 13 def expect_find_partition(_type, subtype, label, name, offset, size): argument 14 …dut.expect('Find partition with type {}, subtype {}, label {}'.format(_type, subtype, label), time…
|
/hal_espressif-3.5.0/components/spi_flash/include/ |
D | esp_partition.h | 119 esp_partition_subtype_t subtype; /*!< partition subtype */ member 142 …_t esp_partition_find(esp_partition_type_t type, esp_partition_subtype_t subtype, const char* labe… 158 …_partition_find_first(esp_partition_type_t type, esp_partition_subtype_t subtype, const char* labe… 421 … const char* label, esp_partition_type_t type, esp_partition_subtype_t subtype,
|
/hal_espressif-3.5.0/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_common.c | 172 wpa_s->subtype = 0; in register_action_frame() 176 wpa_s->subtype = 1 << WLAN_ACTION_RADIO_MEASUREMENT; in register_action_frame() 178 wpa_s->subtype |= 1 << WLAN_ACTION_WNM; in register_action_frame() 180 if (wpa_s->subtype) in register_action_frame() 183 esp_wifi_register_mgmt_frame_internal(wpa_s->type, wpa_s->subtype); in register_action_frame() 289 wpa_s->subtype = 0; in esp_supplicant_common_init() 291 esp_wifi_register_mgmt_frame_internal(wpa_s->type, wpa_s->subtype); in esp_supplicant_common_init() 565 req->subtype = WLAN_FC_STYPE_ACTION; in wpa_drv_send_action()
|
D | esp_scan.c | 33 esp_wifi_register_mgmt_frame_internal(wpa_s->type, wpa_s->subtype); in scan_done_event_handler() 219 esp_wifi_register_mgmt_frame_internal(wpa_s->type, wpa_s->subtype); in issue_scan()
|
/hal_espressif-3.5.0/components/app_update/ |
D | esp_ota_ops.c | 59 && p->subtype >= ESP_PARTITION_SUBTYPE_APP_OTA_0 in is_ota_partition() 60 && p->subtype < ESP_PARTITION_SUBTYPE_APP_OTA_MAX); in is_ota_partition() 384 static esp_err_t esp_rewrite_ota_data(esp_partition_subtype_t subtype) in esp_rewrite_ota_data() argument 393 if (SUB_TYPE_ID(subtype) >= ota_app_count) { in esp_rewrite_ota_data() 417 while (seq > (SUB_TYPE_ID(subtype) + 1) % ota_app_count + i * ota_app_count) { in esp_rewrite_ota_data() 422 …return rewrite_ota_seq(otadata, (SUB_TYPE_ID(subtype) + 1) % ota_app_count + i * ota_app_count, ne… in esp_rewrite_ota_data() 427 return rewrite_ota_seq(otadata, SUB_TYPE_ID(subtype) + 1, next_otadata, otadata_partition); in esp_rewrite_ota_data() 443 if (partition->subtype == ESP_PARTITION_SUBTYPE_APP_FACTORY) { in esp_ota_set_boot_partition() 467 return esp_rewrite_ota_data(partition->subtype); in esp_ota_set_boot_partition() 815 int req_ota_slot = partition->subtype - ESP_PARTITION_SUBTYPE_APP_OTA_MIN; in esp_ota_get_state_partition()
|
D | otatool.py | 104 …ota_partition = filter(lambda p: p.subtype == (gen.MIN_PARTITION_SUBTYPE_APP_OTA + i), partition_t… 111 ota_partitions = sorted(ota_partitions, key=lambda p: p.subtype) 121 …ota_partition_next = filter(lambda p: p.subtype - gen.MIN_PARTITION_SUBTYPE_APP_OTA == ota_id, ot… 152 target_seq = (ota_partition_next.subtype & 0x0F) + 1
|
D | CMakeLists.txt | 30 …partition_table_get_partition_info(otadata_offset "--partition-type data --partition-subtype ota" … 31 …partition_table_get_partition_info(otadata_size "--partition-type data --partition-subtype ota" "s…
|
/hal_espressif-3.5.0/components/partition_table/test_gen_esp32part_host/ |
D | gen_esp32part_tests.py | 71 self.assertEqual(table[0].subtype, 2) 110 self.assertEqual(nomagic['myapp'].subtype, 0) 113 self.assertEqual(nomagic['myota_0'].subtype, 0x10) 238 self.assertEqual(t[1].subtype, 0) 241 self.assertEqual(t[6].subtype, 0x06) 244 self.assertEqual(t[7].subtype, 0x06) 268 self.assertEqual(e.subtype, 0xEE)
|
/hal_espressif-3.5.0/docs/en/api-guides/ |
D | partition-tables.rst | 12 Each entry in the partition table has a name (label), type (app, data, or something else), subtype … 92 The 8-bit subtype field is specific to a given partition type. ESP-IDF currently only specifies the… 96 * When type is ``app``, the subtype field can be specified as ``factory`` (0x00), ``ota_0`` (0x10) … 104 …- ``test`` (0x20) is a reserved subtype for factory test procedures. It will be used as the fallba… 106 …subtype field can be specified as ``ota`` (0x00), ``phy`` (0x01), ``nvs`` (0x02), nvs_keys (0x04),… 129 * If the partition type is any application-defined value (range 0x40-0xFE), then ``subtype`` field … 131 …Note that when writing in C++, an application-defined subtype value requires casting to type :cpp:… 259 # Read partition with type 'data' and subtype 'spiffs' and save to file 'spiffs.bin' 269 …ies, these can be used to refer to partitions of a particular name, type-subtype combination, or t… 291 # Read partition with type 'data' and subtype 'spiffs' and save to file 'spiffs.bin' [all …]
|
/hal_espressif-3.5.0/components/bootloader_support/src/ |
D | bootloader_utility.c | 154 ESP_LOGD(TAG, "type=%x subtype=%x", partition->type, partition->subtype); in bootloader_utility_load_partition_table() 160 switch (partition->subtype) { in bootloader_utility_load_partition_table() 171 if ((partition->subtype & ~PART_SUBTYPE_OTA_MASK) == PART_SUBTYPE_OTA_FLAG) { in bootloader_utility_load_partition_table() 172 bs->ota[partition->subtype & PART_SUBTYPE_OTA_MASK] = partition->pos; in bootloader_utility_load_partition_table() 182 switch (partition->subtype) { in bootloader_utility_load_partition_table() 213 partition->type, partition->subtype, in bootloader_utility_load_partition_table()
|
/hal_espressif-3.5.0/components/fatfs/vfs/ |
D | vfs_fat_spiflash.c | 38 esp_partition_subtype_t subtype = partition_label ? in esp_vfs_fat_spiflash_mount() local 41 subtype, partition_label); in esp_vfs_fat_spiflash_mount()
|
/hal_espressif-3.5.0/components/esptool_py/ |
D | CMakeLists.txt | 16 …partition_table_get_partition_info(factory_offset "--partition-type app --partition-subtype factor… 17 …partition_table_get_partition_info(test_offset "--partition-type app --partition-subtype test" "of…
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/common/ |
D | mbo.c | 781 u8 subtype; in mbo_parse_rx_anqp_resp() local 786 subtype = *pos++; in mbo_parse_rx_anqp_resp() 789 switch (subtype) { in mbo_parse_rx_anqp_resp() 798 subtype); in mbo_parse_rx_anqp_resp()
|
/hal_espressif-3.5.0/components/bt/common/btc/profile/esp/blufi/include/ |
D | blufi_int.h | 97 #define BLUFI_BUILD_TYPE(type, subtype) (((type) & BLUFI_TYPE_MASK) | ((subtype)<<BLUFI_SUBTYPE_SHI… argument
|
/hal_espressif-3.5.0/components/spi_flash/sim/stubs/spi_flash/ |
D | esp_partition.h | 78 esp_partition_subtype_t subtype; /*!< partition subtype */ member
|
/hal_espressif-3.5.0/examples/system/ota/native_ota_example/main/ |
D | native_ota_example.c | 94 running->type, running->subtype, running->address); in ota_example_task() 137 update_partition->subtype, update_partition->address); in ota_example_task()
|