esp32: Use uppercase variant names.

This is to support a future change to add the variant name to the build
directory and therefore should be the same style as the board name.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared
2023-08-15 23:12:42 +10:00
parent f007d0aa3d
commit b5836e7252
6 changed files with 14 additions and 14 deletions

View File

@@ -17,11 +17,11 @@
"thumbnail": "",
"url": "https://www.espressif.com/en/products/modules",
"variants": {
"idf3": "Compiled with IDF 3.x",
"d2wd": "ESP32 D2WD",
"spiram": "Support for SPIRAM / WROVER",
"unicore": "ESP32 Unicore",
"ota": "Support for OTA"
"IDF3": "Compiled with IDF 3.x",
"D2WD": "ESP32 D2WD",
"SPIRAM": "Support for SPIRAM / WROVER",
"UNICORE": "ESP32 Unicore",
"OTA": "Support for OTA"
},
"vendor": "Espressif"
}

View File

@@ -3,7 +3,7 @@ set(SDKCONFIG_DEFAULTS
boards/sdkconfig.ble
)
if(MICROPY_BOARD_VARIANT STREQUAL "d2wd")
if(MICROPY_BOARD_VARIANT STREQUAL "D2WD")
set(SDKCONFIG_DEFAULTS
${SDKCONFIG_DEFAULTS}
boards/GENERIC/sdkconfig.d2wd
@@ -14,7 +14,7 @@ if(MICROPY_BOARD_VARIANT STREQUAL "d2wd")
)
endif()
if(MICROPY_BOARD_VARIANT STREQUAL "ota")
if(MICROPY_BOARD_VARIANT STREQUAL "OTA")
set(SDKCONFIG_DEFAULTS
${SDKCONFIG_DEFAULTS}
boards/GENERIC/sdkconfig.ota
@@ -25,7 +25,7 @@ if(MICROPY_BOARD_VARIANT STREQUAL "ota")
)
endif()
if(MICROPY_BOARD_VARIANT STREQUAL "spiram")
if(MICROPY_BOARD_VARIANT STREQUAL "SPIRAM")
set(SDKCONFIG_DEFAULTS
${SDKCONFIG_DEFAULTS}
boards/sdkconfig.spiram
@@ -36,7 +36,7 @@ if(MICROPY_BOARD_VARIANT STREQUAL "spiram")
)
endif()
if(MICROPY_BOARD_VARIANT STREQUAL "unicore")
if(MICROPY_BOARD_VARIANT STREQUAL "UNICORE")
set(SDKCONFIG_DEFAULTS
${SDKCONFIG_DEFAULTS}
boards/GENERIC/sdkconfig.unicore

View File

@@ -18,6 +18,6 @@
"url": "https://www.espressif.com/en/products/modules",
"vendor": "Espressif",
"variants": {
"spiram-oct": "Support for Octal-SPIRAM"
"SPIRAM_OCT": "Support for Octal-SPIRAM"
}
}

View File

@@ -8,7 +8,7 @@ set(SDKCONFIG_DEFAULTS
boards/GENERIC_S3/sdkconfig.board
)
if(MICROPY_BOARD_VARIANT STREQUAL "spiram-oct")
if(MICROPY_BOARD_VARIANT STREQUAL "SPIRAM_OCT")
set(SDKCONFIG_DEFAULTS
${SDKCONFIG_DEFAULTS}
boards/sdkconfig.240mhz

View File

@@ -24,7 +24,7 @@
"thumbnail": "",
"url": "https://www.tinypico.com/",
"variants": {
"idf3": "Compiled with IDF 3.x"
"IDF3": "Compiled with IDF 3.x"
},
"vendor": "Unexpected Maker"
}