File tree Expand file tree Collapse file tree 11 files changed +12
-18
lines changed Expand file tree Collapse file tree 11 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -48,3 +48,5 @@ 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"
98
10- DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
9+ const temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
1110 /*Offset reg_val min max error */
1211 {-2 , 5 , 50 , 125 , 3 },
1312 {-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"
98
10- DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
9+ const temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
1110 /*Offset reg_val min max error */
1211 {-2 , 5 , 50 , 125 , 3 },
1312 {-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"
1211
13- DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
12+ const temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
1413 /*Offset reg_val min max error */
1514 {-2 , 5 , 50 , 125 , 3 },
1615 {-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"
1211
13- DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
12+ const temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
1413 /*Offset reg_val min max error */
1514 {-2 , 5 , 50 , 125 , 3 },
1615 {-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"
1211
13- DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
12+ const temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
1413 /*Offset reg_val min max error */
1514 {-2 , 5 , 50 , 125 , 3 },
1615 {-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"
1211
13- DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
12+ const temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
1413 /*Offset reg_val min max error */
1514 {-2 , 5 , 50 , 125 , 3 },
1615 {-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- temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
9+ const 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"
98
10- DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
9+ const temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
1110 /*Offset reg_val min max error */
1211 {-2 , 5 , 50 , 125 , 3 },
1312 {-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"
98
10- DRAM_ATTR temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
9+ const temperature_sensor_attribute_t temperature_sensor_attributes [TEMPERATURE_SENSOR_ATTR_RANGE_NUM ] = {
1110 /*Offset reg_val min max error */
1211 {-2 , 5 , 50 , 125 , 3 },
1312 {-1 , 7 , 20 , 100 , 2 },
You can’t perform that action at this time.
0 commit comments