feat: add ESP-RainMaker and ESP-Matter frameworks and update existing framework metadata in frameworks.json

This commit is contained in:
Lucas Rayan committed 2026-08-25 16:55:38 -03:00
1 parent 07dac4f6de
commit d71dc8df3c
19 files changed
+2458 -282

No files matched your search

+16 -1
View File
@@ -526,7 +526,11 @@ export default function DiagnosticoPage() {
const estaAberto = cardAberto === erro.id;
const lang = linguagemCodigo[erro.id] || "arduino";
const codigoAtual =
lang === "arduino" ? erro.codigoArduino : erro.codigoEspIdf;
lang === "arduino"
? erro.codigoArduino
: lang === "espidf"
? erro.codigoEspIdf
: erro.codigoMicroPython || "# Exemplo não aplicável";
const catInfo = categoriasDiagnostico.find(
(c) => c.id === erro.categoria
@@ -703,6 +707,17 @@ export default function DiagnosticoPage() {
>
ESP-IDF (C)
</button>
<button
type="button"
onClick={() => setLang(erro.id, "micropython")}
className={`text-xs px-3 py-1 rounded-lg font-bold transition-all cursor-pointer ${
lang === "micropython"
? "bg-white dark:bg-slate-900 text-amber-600 dark:text-amber-400 shadow-xs"
: "text-slate-600 dark:text-slate-400 hover:text-slate-900"
}`}
>
MicroPython
</button>
</div>
<button