mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
Merge branch 'bugfix/esp32s3_chip_id' into 'master'
esp_hw_support: update esp32s3 chip ID to the MP version See merge request espressif/esp-idf!15183
This commit is contained in:
@@ -22,7 +22,7 @@ extern "C" {
|
|||||||
typedef enum {
|
typedef enum {
|
||||||
CHIP_ESP32 = 1, //!< ESP32
|
CHIP_ESP32 = 1, //!< ESP32
|
||||||
CHIP_ESP32S2 = 2, //!< ESP32-S2
|
CHIP_ESP32S2 = 2, //!< ESP32-S2
|
||||||
CHIP_ESP32S3 = 4, //!< ESP32-S3
|
CHIP_ESP32S3 = 9, //!< ESP32-S3
|
||||||
CHIP_ESP32C3 = 5, //!< ESP32-C3
|
CHIP_ESP32C3 = 5, //!< ESP32-C3
|
||||||
CHIP_ESP32H2 = 6, //!< ESP32-H2
|
CHIP_ESP32H2 = 6, //!< ESP32-H2
|
||||||
} esp_chip_model_t;
|
} esp_chip_model_t;
|
||||||
|
@@ -75,13 +75,11 @@ MemSegmentHeader = Struct(
|
|||||||
|
|
||||||
|
|
||||||
class EspCoreDumpVersion(object):
|
class EspCoreDumpVersion(object):
|
||||||
"""Core dump version class
|
"""Core dump version class, it contains all version-dependent params
|
||||||
"""
|
"""
|
||||||
# This class contains all version-dependent params
|
# Chip IDs should be in sync with components/esp_hw_support/include/esp_chip_info.h
|
||||||
ESP32 = 0
|
ESP32 = 0
|
||||||
ESP32S2 = 2
|
ESP32S2 = 2
|
||||||
# TODO: The value for chip is different from components/esp_hw_support/include/esp_chip_info.h
|
|
||||||
# and this value comes from the hardware.
|
|
||||||
ESP32S3 = 9
|
ESP32S3 = 9
|
||||||
XTENSA_CHIPS = [ESP32, ESP32S2, ESP32S3]
|
XTENSA_CHIPS = [ESP32, ESP32S2, ESP32S3]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user