mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	change(soc): fix idf_size error caused by ldgen to run success for ci pipeline
This commit is contained in:
		@@ -56,5 +56,3 @@ archive: libsoc.a
 | 
				
			|||||||
entries:
 | 
					entries:
 | 
				
			||||||
    if PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP && ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND:
 | 
					    if PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP && ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND:
 | 
				
			||||||
        gpio_periph: GPIO_HOLD_MASK (noflash)
 | 
					        gpio_periph: GPIO_HOLD_MASK (noflash)
 | 
				
			||||||
    if PM_SLP_IRAM_OPT = y && SOC_TEMP_SENSOR_SUPPORTED = y:
 | 
					 | 
				
			||||||
        temperature_sensor_periph:temperature_sensor_attributes (noflash)
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,8 +5,9 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "soc/temperature_sensor_periph.h"
 | 
					#include "soc/temperature_sensor_periph.h"
 | 
				
			||||||
 | 
					#include "esp_attr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
					DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
				
			||||||
    /*Offset   reg_val  min  max  error */
 | 
					    /*Offset   reg_val  min  max  error */
 | 
				
			||||||
    {-2,     5,    50,  125,   3},
 | 
					    {-2,     5,    50,  125,   3},
 | 
				
			||||||
    {-1,     7,    20,  100,   2},
 | 
					    {-1,     7,    20,  100,   2},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,8 +5,9 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "soc/temperature_sensor_periph.h"
 | 
					#include "soc/temperature_sensor_periph.h"
 | 
				
			||||||
 | 
					#include "esp_attr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
					DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
				
			||||||
    /*Offset   reg_val  min  max  error */
 | 
					    /*Offset   reg_val  min  max  error */
 | 
				
			||||||
    {-2,     5,    50,  125,   3},
 | 
					    {-2,     5,    50,  125,   3},
 | 
				
			||||||
    {-1,     7,    20,  100,   2},
 | 
					    {-1,     7,    20,  100,   2},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,8 +8,9 @@
 | 
				
			|||||||
#include "soc/regdma.h"
 | 
					#include "soc/regdma.h"
 | 
				
			||||||
#include "soc/temperature_sensor_periph.h"
 | 
					#include "soc/temperature_sensor_periph.h"
 | 
				
			||||||
#include "soc/apb_saradc_reg.h"
 | 
					#include "soc/apb_saradc_reg.h"
 | 
				
			||||||
 | 
					#include "esp_attr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
					DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
				
			||||||
    /*Offset  reg_val  min  max  error */
 | 
					    /*Offset  reg_val  min  max  error */
 | 
				
			||||||
    {-2,        5,     50,  125,   3},
 | 
					    {-2,        5,     50,  125,   3},
 | 
				
			||||||
    {-1,        7,     20,  100,   2},
 | 
					    {-1,        7,     20,  100,   2},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,8 +8,9 @@
 | 
				
			|||||||
#include "soc/regdma.h"
 | 
					#include "soc/regdma.h"
 | 
				
			||||||
#include "soc/temperature_sensor_periph.h"
 | 
					#include "soc/temperature_sensor_periph.h"
 | 
				
			||||||
#include "soc/apb_saradc_reg.h"
 | 
					#include "soc/apb_saradc_reg.h"
 | 
				
			||||||
 | 
					#include "esp_attr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
					DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
				
			||||||
    /*Offset   reg_val  min  max  error */
 | 
					    /*Offset   reg_val  min  max  error */
 | 
				
			||||||
    {-2,     5,    50,  125,   3},
 | 
					    {-2,     5,    50,  125,   3},
 | 
				
			||||||
    {-1,     7,    20,  100,   2},
 | 
					    {-1,     7,    20,  100,   2},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,9 +8,10 @@
 | 
				
			|||||||
#include "soc/regdma.h"
 | 
					#include "soc/regdma.h"
 | 
				
			||||||
#include "soc/temperature_sensor_periph.h"
 | 
					#include "soc/temperature_sensor_periph.h"
 | 
				
			||||||
#include "soc/apb_saradc_reg.h"
 | 
					#include "soc/apb_saradc_reg.h"
 | 
				
			||||||
 | 
					#include "esp_attr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
					DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
				
			||||||
    /*Offset   reg_val  min  max  error */
 | 
					    /*Offset   reg_val  min  max  error */
 | 
				
			||||||
    {-2,     5,    50,  125,   3},
 | 
					    {-2,     5,    50,  125,   3},
 | 
				
			||||||
    {-1,     7,    20,  100,   2},
 | 
					    {-1,     7,    20,  100,   2},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "soc/temperature_sensor_periph.h"
 | 
					#include "soc/temperature_sensor_periph.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
					temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
				
			||||||
    /*Offset   reg_val  min  max  error */
 | 
					    /*Offset   reg_val  min  max  error */
 | 
				
			||||||
    {-2,     5,    50,  125,   3},
 | 
					    {-2,     5,    50,  125,   3},
 | 
				
			||||||
    {-1,     7,    20,  100,   2},
 | 
					    {-1,     7,    20,  100,   2},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,8 +5,9 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "soc/temperature_sensor_periph.h"
 | 
					#include "soc/temperature_sensor_periph.h"
 | 
				
			||||||
 | 
					#include "esp_attr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
					DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
				
			||||||
    /*Offset   reg_val  min  max  error */
 | 
					    /*Offset   reg_val  min  max  error */
 | 
				
			||||||
    {-2,     5,    50,  125,   3},
 | 
					    {-2,     5,    50,  125,   3},
 | 
				
			||||||
    {-1,     7,    20,  100,   2},
 | 
					    {-1,     7,    20,  100,   2},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,8 +5,9 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "soc/temperature_sensor_periph.h"
 | 
					#include "soc/temperature_sensor_periph.h"
 | 
				
			||||||
 | 
					#include "esp_attr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
					DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
 | 
				
			||||||
    /*Offset   reg_val  min  max  error */
 | 
					    /*Offset   reg_val  min  max  error */
 | 
				
			||||||
    {-2,     5,    50,  125,   3},
 | 
					    {-2,     5,    50,  125,   3},
 | 
				
			||||||
    {-1,     7,    20,  100,   2},
 | 
					    {-1,     7,    20,  100,   2},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,7 +25,7 @@ typedef struct {
 | 
				
			|||||||
    int error_max;
 | 
					    int error_max;
 | 
				
			||||||
} temperature_sensor_attribute_t;
 | 
					} temperature_sensor_attribute_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM];
 | 
					extern temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if SOC_TEMPERATURE_SENSOR_SUPPORT_SLEEP_RETENTION
 | 
					#if SOC_TEMPERATURE_SENSOR_SUPPORT_SLEEP_RETENTION
 | 
				
			||||||
typedef struct {
 | 
					typedef struct {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user