Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/hal_espressif-3.5.0/components/heap/test/
Dtest_heap_trace.c38 printf("a.address %p vs %p b.address %p vs %p\n", a, recs[0].address, b, recs[1].address);
47 printf("trace_a.address %p trace_bb.address %p\n", trace_a.address, trace_b.address);
49 TEST_ASSERT_EQUAL_PTR(a, trace_a.address);
50 TEST_ASSERT_EQUAL_PTR(b, trace_b.address);
52 TEST_ASSERT_EQUAL_PTR(recs[0].address, trace_a.address);
53 TEST_ASSERT_EQUAL_PTR(recs[1].address, trace_b.address);
60 TEST_ASSERT_EQUAL_PTR(b, trace_b.address);
64 TEST_ASSERT_EQUAL_PTR(recs[0].address, trace_b.address);
89 if (rec.address == ptrs[N-1]) {
113 TEST_ASSERT_NOT_EQUAL(ptrs[j], rec.address);
[all …]
/hal_espressif-3.5.0/examples/system/base_mac_address/
DREADME.md5address. Each interface's MAC address is [derived from a base MAC address](https://docs.espressif.…
9 1. How to retrieve a base MAC address from non-volatile memory
10 2. How to set the base MAC address
13 …tps://docs.espressif.com/projects/esp-idf/en/latest/api-reference/system/system.html#mac-address).
19 … an external source of non-volatile memory is used to store the base MAC address (e.g. an I2C Seri…
27 … the storage source of the base MAC address, go to `Example Configuration > Storage location of th…
28 … this example to read the base MAC address from eFuse Block 0 and is selected by default. The `eFu…
29 …* `eFuse BLK3` will cause this example to read the base MAC address from words 1 & 2 of eFuse Bloc…
30 …rnal_storage_mac_get()` which will merely retrieve an arbitrary base MAC address that is set in so…
32 …3 eFuse fails` option may also be selected. When retrieving the base MAC address from `eFuse BLK3`…
[all …]
/hal_espressif-3.5.0/examples/protocols/static_ip/main/
DKconfig.projbuild22 string "Static IP address"
25 Set static IP address.
28 string "Static netmask address"
31 Set static netmask address.
34 string "Static gateway address"
37 Set static gateway address.
43 Select auto to make gateway address as DNS server or manual to input your DNS server
45 bool "Use gateway address as DNS server"
47 Set DNS server the same as gateway address
56 string "Main DNS server address"
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/
Dble_mesh_commands_README.md17 * `-e`: `<element address>:element address`
26 * `-d`: `device address`
28 * `-a`: `address type`
29 * `-f`: `address flag`
42 * `-p`: `start address assigned by provisioner`
70 * `-u`: `<address>:unicast address`
77 * `-a`: `<address>:address`
85 * `-u`: `<address>:unicast address`
92 * `-a`: `<address>:address`
107 * `-a`: `<address>:unicast address`
[all …]
/hal_espressif-3.5.0/tools/unit-test-app/tools/
DCreateSectionTable.py85 address, _data = process_data_line(raw_data[0])
86 if address != -1:
87 start_address = address
91 address, _data = process_data_line(line)
92 if address == -1:
117 def get_unsigned_int(self, section, address, size=4, endian='LE'): argument
126 if address % 4 != 0 or size % 4 != 0:
128 key = {'address': address, 'section': section}
131 tmp = section[address:address + size]
146 def get_string(self, section, address): argument
[all …]
/hal_espressif-3.5.0/components/freemodbus/common/
Desp_modbus_slave.c232 new_descr->p_data = descr_data.address; in mbc_slave_set_descriptor()
258 par_info.address = par_address; in mbc_slave_send_param_info()
292 eMBErrorCode mbc_reg_input_slave_cb(UCHAR * reg_buffer, USHORT address, USHORT n_regs) in mbc_reg_input_slave_cb() argument
299 address--; // address of register is already +1 in mbc_reg_input_slave_cb()
300 mb_descr_entry_t* it = mbc_slave_find_reg_descriptor(MB_PARAM_INPUT, address, n_regs); in mbc_reg_input_slave_cb()
307 reg_index = (uint16_t)(address - input_reg_start); in mbc_reg_input_slave_cb()
319 (void)mbc_slave_send_param_info(MB_EVENT_INPUT_REG_RD, (uint16_t)address, in mbc_reg_input_slave_cb()
329 eMBErrorCode mbc_reg_holding_slave_cb(UCHAR * reg_buffer, USHORT address, USHORT n_regs, eMBRegiste… in mbc_reg_holding_slave_cb() argument
337 address--; // address of register is already +1 in mbc_reg_holding_slave_cb()
338 mb_descr_entry_t* it = mbc_slave_find_reg_descriptor(MB_PARAM_HOLDING, address, n_regs); in mbc_reg_holding_slave_cb()
[all …]
/hal_espressif-3.5.0/components/spi_flash/
Dspi_flash_chip_winbond.c30 …mmand_winbond_program_4B(esp_flash_t *chip, const void *buffer, uint32_t address, uint32_t length);
45 esp_err_t spi_flash_chip_winbond_read(esp_flash_t *chip, void *buffer, uint32_t address, uint32_t l… in spi_flash_chip_winbond_read() argument
54 if (REGION_32BIT(address, length)) { in spi_flash_chip_winbond_read()
66 …uint32_t read_len = chip->host->driver->read_data_slicer(chip->host, address, length, &align_addre… in spi_flash_chip_winbond_read()
67 uint32_t left_off = address - align_address; in spi_flash_chip_winbond_read()
68 uint32_t data_len = MIN(align_address + read_len, address + length) - address; in spi_flash_chip_winbond_read()
73 address += data_len; in spi_flash_chip_winbond_read()
81 …chip_winbond_page_program(esp_flash_t *chip, const void *buffer, uint32_t address, uint32_t length) in spi_flash_chip_winbond_page_program() argument
89 err = spi_flash_command_winbond_program_4B(chip, buffer, address, length); in spi_flash_chip_winbond_page_program()
203 …ommand_winbond_program_4B(esp_flash_t *chip, const void *buffer, uint32_t address, uint32_t length) in spi_flash_command_winbond_program_4B() argument
[all …]
Dmemspi_host_driver.c39 …flash_hal_gpspi_read(spi_flash_host_inst_t *host, void *buffer, uint32_t address, uint32_t read_le…
153 .address = start_address in memspi_host_erase_sector()
165 .address = start_address, in memspi_host_erase_block()
171 void memspi_host_program_page(spi_flash_host_inst_t *host, const void *buffer, uint32_t address, ui… in memspi_host_program_page() argument
173 assert(address + length <= 0x1000000); in memspi_host_program_page()
177 .address = address, in memspi_host_program_page()
184 esp_err_t memspi_host_read(spi_flash_host_inst_t *host, void *buffer, uint32_t address, uint32_t re… in memspi_host_read() argument
189 .address = address, in memspi_host_read()
208 int memspi_host_write_data_slicer(spi_flash_host_inst_t *host, uint32_t address, uint32_t len, uint… in memspi_host_write_data_slicer() argument
211 uint32_t align_addr = address; in memspi_host_write_data_slicer()
[all …]
Dpartition.c220 item->info.address = entry.pos.offset; in load_partitions()
334 item->info.address = offset; in esp_partition_register_external()
348 … it->info.address, it->info.address + it->info.size)) { in esp_partition_register_external()
399 && p->address == partition->address in esp_partition_verify()
424 return esp_flash_read(partition->flash_chip, dst, partition->address + src_offset, size); in esp_partition_read()
426 return spi_flash_read(partition->address + src_offset, dst, size); in esp_partition_read()
463 dst_offset = partition->address + dst_offset; in esp_partition_write()
498 return esp_flash_read(partition->flash_chip, dst, partition->address + src_offset, size); in esp_partition_read_raw()
500 return spi_flash_read(partition->address + src_offset, dst, size); in esp_partition_read_raw()
514 dst_offset = partition->address + dst_offset; in esp_partition_write_raw()
[all …]
Dspi_flash_chip_generic.c197 esp_err_t spi_flash_chip_generic_read(esp_flash_t *chip, void *buffer, uint32_t address, uint32_t l… in spi_flash_chip_generic_read() argument
215 …uint32_t read_len = chip->host->driver->read_data_slicer(chip->host, address, length, &align_addre… in spi_flash_chip_generic_read()
216 uint32_t left_off = address - align_address; in spi_flash_chip_generic_read()
217 uint32_t data_len = MIN(align_address + read_len, address + length) - address; in spi_flash_chip_generic_read()
222 address += data_len; in spi_flash_chip_generic_read()
230 …chip_generic_page_program(esp_flash_t *chip, const void *buffer, uint32_t address, uint32_t length) in spi_flash_chip_generic_page_program() argument
238 chip->host->driver->program_page(chip->host, buffer, address, length); in spi_flash_chip_generic_page_program()
250 esp_err_t spi_flash_chip_generic_write(esp_flash_t *chip, const void *buffer, uint32_t address, uin… in spi_flash_chip_generic_write() argument
259 …uint32_t page_len = chip->host->driver->write_data_slicer(chip->host, address, length, &align_addr… in spi_flash_chip_generic_write()
260 uint32_t left_off = address - align_address; in spi_flash_chip_generic_write()
[all …]
/hal_espressif-3.5.0/docs/en/api-reference/system/
Dsystem.rst37 …To fetch MAC address for a specific interface (e.g. Wi-Fi, Bluetooth, Ethernet), call the function…
41 …To fetch MAC address for a specific interface (e.g. Wi-Fi Station, Wi-Fi SoftAP), call the functio…
43 … addresses are calculated from a single *Base MAC address*. By default, the Espressif base MAC add…
48 …| Interface | MAC address | MAC address
71 …| Interface | MAC address | MAC address
92 …ernet MAC, but it's still possible to calculate an Ethernet MAC address. This MAC address can only…
97 …ces or calling the :cpp:func:`esp_read_mac` function. The customized MAC address can be stored in …
103 …ch documented here instead, to avoid the possibility of the original MAC address briefly appearing…
106 Custom MAC address in eFuse
109 …_mac_get_custom`. This loads the MAC address from eFuse BLK3. This function assumes that the custo…
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/esptool/
Dcmds.py183 print("0x%08x = 0x%08x" % (args.address, esp.read_reg(args.address)))
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))
194 d = esp.read_reg(args.address + (i * 4))
225 def _update_image_flash_params(esp, address, args, image): argument
234 if address != esp.BOOTLOADER_FLASH_OFFSET:
244 "so not changing any flash settings." % address
257 "so not changing any flash settings." % (address, esp.CHIP_NAME)
275 addr=hex(address), arg=arg_to_keep, arg_orig=arg_used
319 for address, _ in args.addr_filename:
[all …]
/hal_espressif-3.5.0/examples/protocols/sockets/non_blocking/main/
DKconfig.projbuild7 This example will setup a tcp server, binds it to the specified address
12 string "Server bind address"
15 Server listener's socket would be bound to this address. This address could be
16 either IPv4 or IPv6 address
30 This example will setup a tcp client, connects to the specified address
35 string "Client connection address or hostname"
38 Client's socket would connect to this address/host.
/hal_espressif-3.5.0/examples/system/base_mac_address/main/
DKconfig.projbuild4 prompt "Storage location of the base MAC address"
9 default base MAC address is written to words 1 and 2 of eFuse block
11 read retrieve the "eFuse BLK0" MAC address.
12 2. eFuse BLK3: A custom base MAC address is burned by the user into
14 the "eFuse BLK3" MAC address.
17 example to simply return a MAC address preset in software. Users
34 Select the behavior when reading base MAC address "eFuse BLK3" fails
37 - If "Use the default base MAC address from BLK0 of eFuse" is
43 bool "Use the default base MAC address eFuse BLK0"
/hal_espressif-3.5.0/components/esp_hw_support/port/esp32s2/
DKconfig.mac2 bool "Number of universally administered (by IEEE) MAC address"
7 single base MAC address.
9 …universally administered MAC address. They are generated sequentially by adding 0, and 1 (respecti…
10 to the final octet of the base MAC address. If the number of universal MAC addresses is one,
11 only WiFi station receives a universally administered MAC address.
12 It's generated by adding 0 to the base MAC address.
14 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
15 … a custom universal MAC address range, the correct setting will depend on the allocation of MAC
/hal_espressif-3.5.0/examples/protocols/modbus/serial/mb_slave/main/
Dslave.c120 reg_area.address = (void*)&holding_reg_params.holding_data0; // Set pointer to storage instance in app_main()
126 reg_area.address = (void*)&holding_reg_params.holding_data4; // Set pointer to storage instance in app_main()
133 reg_area.address = (void*)&input_reg_params.input_data0; in app_main()
138 reg_area.address = (void*)&input_reg_params.input_data4; in app_main()
145 reg_area.address = (void*)&coil_reg_params; in app_main()
152 reg_area.address = (void*)&discrete_reg_params; in app_main()
188 (uint32_t)reg_info.address, in app_main()
190 if (reg_info.address == (uint8_t*)&holding_reg_params.holding_data0) in app_main()
205 (uint32_t)reg_info.address, in app_main()
213 (uint32_t)reg_info.address, in app_main()
[all …]
/hal_espressif-3.5.0/components/esp_hw_support/port/esp32s3/
DKconfig.mac2 bool "Number of universally administered (by IEEE) MAC address"
7 single base MAC address.
9 Bluetooth and Ethernet) receive a universally administered MAC address. These are generated
10 … sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address.
12 receive a universally administered MAC address. These are generated sequentially by adding 0
13 …and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethern…
16 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
17 … a custom universal MAC address range, the correct setting will depend on the allocation of MAC
/hal_espressif-3.5.0/components/esp_hw_support/port/esp32/
DKconfig.mac2 bool "Number of universally administered (by IEEE) MAC address"
7 single base MAC address.
9 Bluetooth and Ethernet) receive a universally administered MAC address. These are generated
10 … sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address.
12 receive a universally administered MAC address. These are generated sequentially by adding 0
13 …and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethern…
16 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
17 … a custom universal MAC address range, the correct setting will depend on the allocation of MAC
/hal_espressif-3.5.0/components/hal/
Dspi_flash_encrypt_hal_iram.c35 void spi_flash_encryption_hal_prepare(uint32_t address, const uint32_t* buffer, uint32_t size) in spi_flash_encryption_hal_prepare() argument
40 spi_flash_encrypt_ll_address_save(address); in spi_flash_encryption_hal_prepare()
41 spi_flash_encrypt_ll_plaintext_save(address, buffer, size); in spi_flash_encryption_hal_prepare()
56 bool spi_flash_encryption_hal_check(uint32_t address, uint32_t length) in spi_flash_encryption_hal_check() argument
58 return spi_flash_encrypt_ll_check(address, length); in spi_flash_encryption_hal_check()
/hal_espressif-3.5.0/components/esp_hw_support/port/esp32c3/
DKconfig.mac2 bool "Number of universally administered (by IEEE) MAC address"
8 single base MAC address.
11 Bluetooth and Ethernet) receive a universally administered MAC address. These are generated
12 … sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address.
15 receive a universally administered MAC address. These are generated sequentially by adding 0
16 …and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethern…
20 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
21 … a custom universal MAC address range, the correct setting will depend on the allocation of MAC
/hal_espressif-3.5.0/examples/protocols/static_ip/
DREADME.md18 * Set `Static IP address` of your device static IP.
20 * Set `Static netmask address` of your device static netmask address.
22 * Set `Static gateway address` of your device static gateway address.
24 * Set `Choose DNS server` with `Set manual value as DNS server` or `Use gateway address as DNS serv…
26 …ver` to configure manual DNS server with `Main DNS server address` and `Backup DNS server address`.
49 I (573) system_api: Base MAC address is not set
50 I (573) system_api: read default base MAC address from EFUSE
91 I (5203) static_ip: Resolved IPv4 address: 119.9.92.99
/hal_espressif-3.5.0/components/hal/include/hal/
Dspi_flash_types.h31 uint32_t address; ///< Address to perform operation on member
113 void (*flash_encryption_data_prepare)(uint32_t address, const uint32_t* buffer, uint32_t size);
128 bool (*flash_encryption_check)(uint32_t address, uint32_t length);
182 …void (*program_page)(spi_flash_host_inst_t *host, const void *buffer, uint32_t address, uint32_t l…
195 …int (*write_data_slicer)(spi_flash_host_inst_t *host, uint32_t address, uint32_t len, uint32_t *al…
200 … esp_err_t (*read)(spi_flash_host_inst_t *host, void *buffer, uint32_t address, uint32_t read_len);
213 …int (*read_data_slicer)(spi_flash_host_inst_t *host, uint32_t address, uint32_t len, uint32_t *ali…
/hal_espressif-3.5.0/examples/protocols/sockets/udp_multicast/
DREADME.md11 …ll periodicially (after 2.5 seconds) send its own plaintext packet(s) to the multicast address(es).
28 …(https://tools.ietf.org/html/rfc4038) are used to bind it to the default address for both IPV4 & I…
30address, so it will also receive unicast packets. If you only want to receive multicast packets fo…
42 …`232.10.11.12:3333` with the IPV4 multicast address and port, and `(host_ip_addr)` with the host's…
50 …11.12` with the port and IPV4 multicast address, respectively. Replace `(host_ip_addr)` with the h…
60 Replace `[ff02::fc]:3333` with the IPV6 multicast address and port, respectively.
/hal_espressif-3.5.0/tools/test_apps/protocols/pppos/main/
DKconfig.projbuild4 string "IP address of PPP server"
7 IP address of PPP server. Note: this is also the address
11 string "IP address of PPP client"
14 IP address that PPP server assigns to PPP client.
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_server/tutorial/
DBLE_Mesh_Fast_Prov_Server_Example_Walkthrough.md41 uint16_t node_addr_cnt; /* Number of node address shall be received */
42 uint16_t unicast_min; /* Minimum unicast address can be send to other nodes */
43 uint16_t unicast_max; /* Maximum unicast address can be send to other nodes */
44 uint16_t unicast_cur; /* Current unicast address can be assigned */
45 uint16_t unicast_step; /* Unicast address change step */
49 uint16_t group_addr; /* Subscribed group address */
50 uint16_t prim_prov_addr; /* Unicast address of Primary Provisioner */
85address management is used to assign a unicast address to each node, so as to prevent address conf…
87 …s address range is 0 to 100 and the maximum number of nodes it can provisioned is 5. The provision…
89 The variables that are related to the address management are described in the following table:
[all …]

12345678910>>...20