File tree Expand file tree Collapse file tree 11 files changed +18
-12
lines changed Expand file tree Collapse file tree 11 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -48,5 +48,3 @@ archive: libsoc.a
4848entries:
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)
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
You can’t perform that action at this time.
0 commit comments