2024-08-20 05:39:25 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "sdkconfig.h"
|
|
|
|
#include "phy_init_data.h"
|
|
|
|
|
|
|
|
|
|
|
|
const char __attribute__((section(".rodata"))) phy_init_magic_pre[] = PHY_INIT_MAGIC;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Structure containing default recommended PHY initialization parameters.
|
|
|
|
*/
|
|
|
|
const esp_phy_init_data_t phy_init_data= { {
|
2024-08-23 07:11:34 -04:00
|
|
|
0x1,
|
2024-08-20 05:39:25 -04:00
|
|
|
0x0,
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x50),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x50),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x50),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x50),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x34),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x34),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x4c),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x4c),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x30),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x30),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x28),
|
|
|
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x24),
|
|
|
|
LIMIT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