Skip to content

Commit bd19d4b

Browse files
committed
change(soc): fix idf_size error caused by ldgen to run success for ci pipeline
1 parent 377914d commit bd19d4b

File tree

11 files changed

+18
-12
lines changed

11 files changed

+18
-12
lines changed

components/esp_hw_support/linker.lf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,3 @@ archive: libsoc.a
4848
entries:
4949
if PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP && ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND:
5050
gpio_periph: GPIO_HOLD_MASK (noflash)
51-
if PM_SLP_IRAM_OPT = y && SOC_TEMP_SENSOR_SUPPORTED = y:
52-
temperature_sensor_periph:temperature_sensor_attributes (noflash)

components/soc/esp32c2/temperature_sensor_periph.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
*/
66

77
#include "soc/temperature_sensor_periph.h"
8+
#include "esp_attr.h"
89

9-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
10+
DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1011
/*Offset reg_val min max error */
1112
{-2, 5, 50, 125, 3},
1213
{-1, 7, 20, 100, 2},

components/soc/esp32c3/temperature_sensor_periph.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
*/
66

77
#include "soc/temperature_sensor_periph.h"
8+
#include "esp_attr.h"
89

9-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
10+
DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1011
/*Offset reg_val min max error */
1112
{-2, 5, 50, 125, 3},
1213
{-1, 7, 20, 100, 2},

components/soc/esp32c5/temperature_sensor_periph.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
#include "soc/regdma.h"
99
#include "soc/temperature_sensor_periph.h"
1010
#include "soc/apb_saradc_reg.h"
11+
#include "esp_attr.h"
1112

12-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
13+
DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1314
/*Offset reg_val min max error */
1415
{-2, 5, 50, 125, 3},
1516
{-1, 7, 20, 100, 2},

components/soc/esp32c6/temperature_sensor_periph.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
#include "soc/regdma.h"
99
#include "soc/temperature_sensor_periph.h"
1010
#include "soc/apb_saradc_reg.h"
11+
#include "esp_attr.h"
1112

12-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
13+
DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1314
/*Offset reg_val min max error */
1415
{-2, 5, 50, 125, 3},
1516
{-1, 7, 20, 100, 2},

components/soc/esp32c61/temperature_sensor_periph.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
#include "soc/regdma.h"
99
#include "soc/temperature_sensor_periph.h"
1010
#include "soc/apb_saradc_reg.h"
11+
#include "esp_attr.h"
1112

12-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
13+
DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1314
/*Offset reg_val min max error */
1415
{-2, 5, 50, 125, 3},
1516
{-1, 7, 20, 100, 2},

components/soc/esp32h2/temperature_sensor_periph.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
#include "soc/regdma.h"
99
#include "soc/temperature_sensor_periph.h"
1010
#include "soc/apb_saradc_reg.h"
11+
#include "esp_attr.h"
1112

12-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
13+
DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1314
/*Offset reg_val min max error */
1415
{-2, 5, 50, 125, 3},
1516
{-1, 7, 20, 100, 2},

components/soc/esp32p4/temperature_sensor_periph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include "soc/temperature_sensor_periph.h"
88

9-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
9+
temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1010
/*Offset reg_val min max error */
1111
{-2, 5, 50, 125, 3},
1212
{-1, 7, 20, 100, 2},

components/soc/esp32s2/temperature_sensor_periph.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
*/
66

77
#include "soc/temperature_sensor_periph.h"
8+
#include "esp_attr.h"
89

9-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
10+
DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1011
/*Offset reg_val min max error */
1112
{-2, 5, 50, 125, 3},
1213
{-1, 7, 20, 100, 2},

components/soc/esp32s3/temperature_sensor_periph.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
*/
66

77
#include "soc/temperature_sensor_periph.h"
8+
#include "esp_attr.h"
89

9-
const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
10+
DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
1011
/*Offset reg_val min max error */
1112
{-2, 5, 50, 125, 3},
1213
{-1, 7, 20, 100, 2},

0 commit comments

Comments
 (0)