Work on adc_mic

This commit is contained in:
Thomas Farstrike
2026-02-16 16:12:06 +01:00
parent 1b82fb2d09
commit cdb2651e91
3 changed files with 60 additions and 29 deletions
+11 -2
View File
@@ -29,7 +29,7 @@ popd
idfile="$codebasedir"/lvgl_micropython/lib/micropython/ports/esp32/main/idf_component.yml
echo "Patching $idfile"...
echo "Check need to add esp32-camera..."
echo "Check need to add esp32-camera to $idfile"
if ! grep esp32-camera "$idfile"; then
echo "Adding esp32-camera to $idfile"
echo " mpos/esp32-camera:
@@ -37,7 +37,16 @@ if ! grep esp32-camera "$idfile"; then
else
echo "No need to add esp32-camera to $idfile"
fi
echo "Resulting file:"
echo "Check need to add adc_mic to $idfile"
if ! grep esp32-camera "$idfile"; then
echo "Adding esp32-camera to $idfile"
echo ' espressif/adc_mic: "*"' >> "$idfile"
else
echo "No need to add adc_mic to $idfile"
fi
echo "Resulting $idfile file:"
cat "$idfile"
echo "Check need to add lvgl_micropython manifest to micropython-camera-API's manifest..."