mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-21 07:02:24 +08:00
feat(esp8266): Support 40MHz XTAL
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include "esp_err.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -75,6 +75,15 @@ typedef enum {
|
||||
PHY_MODULE_COUNT //!< Number of items
|
||||
} phy_rf_module_t;
|
||||
|
||||
/**
|
||||
* @brief Outside XTAL 40MHz: 0, 26MHz: 1
|
||||
*/
|
||||
#ifdef CONFIG_ESP8266_XTAL_FREQ_40
|
||||
#define ESP8266_XTAL_FLAG (0)
|
||||
#elif defined(CONFIG_ESP8266_XTAL_FREQ_26)
|
||||
#define ESP8266_XTAL_FLAG (1)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Get PHY init data
|
||||
*
|
||||
|
Reference in New Issue
Block a user