Home
last modified time | relevance | path

Searched refs:init_data_store (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/esp_phy/src/
Dphy_init.c591 uint8_t* init_data_store = (uint8_t*) k_malloc(init_data_store_length); in esp_phy_get_init_data() local
592 if (init_data_store == NULL) { in esp_phy_get_init_data()
596 memcpy(init_data_store, multi_phy_init_data_bin_start, init_data_store_length); in esp_phy_get_init_data()
608 uint8_t* init_data_store = (uint8_t*) k_malloc(init_data_store_length); in esp_phy_get_init_data()
609 if (init_data_store == NULL) { in esp_phy_get_init_data()
614 esp_err_t err = esp_partition_read(partition, 0, init_data_store, init_data_store_length); in esp_phy_get_init_data()
617 k_free(init_data_store); in esp_phy_get_init_data()
622 if (memcmp(init_data_store, PHY_INIT_MAGIC, sizeof(phy_init_magic_pre)) != 0 || in esp_phy_get_init_data()
623 memcmp(init_data_store + init_data_store_length - sizeof(phy_init_magic_post), in esp_phy_get_init_data()
627 k_free(init_data_store); in esp_phy_get_init_data()
[all …]