Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed typo in chip name #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/components/RustDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,18 @@ onMounted(async () => {
isWindows.value = platform === 'win32';
});

const supportedChipsXtensa = "ESP32, ESP32-S2, ESP32-S3";
const supportedChipsRisc = "ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2"

const updateSupportedChips = () => {
// Depending on the selected toolchain, update the supported chips
// This is just a dummy logic for demo purposes.
supportedChips.value = (selectedToolchain.value === "xtensa")
? "ESP32, ESP32-S2, ESP32-S3"
: "ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2";
? supportedChipsXtensa
: supportedChipsRisc;
}

let supportedChips = ref("ESP32, ESP32-S2, ESP-S3"); // Default for Xtensa
let supportedChips = ref(supportedChipsXtensa); // Default for Xtensa
</script>

<template>
Expand Down