Added CircuitPython Custom FS stub, Fixed l10n bug in listings, Minor additions

Update circuitpython-custom-fs.yml, sidebar.yml, and 13 more files...
This commit is contained in:
2024-10-20 22:33:49 +02:00
parent 46b9a3285e
commit 64dcc6469b
17 changed files with 100 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
head:
title_key: "meta.title"
description_key: "meta.description"
opengraph:
title_key: "meta.title"
description_key: "meta.description"
type: null
url: null
image_url: "/resources/NibblePoker/images/content/circuitpython-ebyte-e32/main.png"
image_type: null
twitter:
title_key: "meta.title"
description_key: "meta.description"
index:
priority: 105
enable: true
title_key: "meta.title"
preamble_key: "meta.description"
image_url: "/resources/NibblePoker/images/content/circuitpython-ebyte-e32/main.png"
image_alt_key: ""
general:
icon: "fab fa-python"
title_key: "meta.title"
subtitle_key: "article.subtitle"
tags:
- "experiments"
- "electronic"
- "python"
- "circuitpython"

View File

@@ -27,6 +27,11 @@
icon: fad fa-microchip icon: fad fa-microchip
active_id: electronic active_id: electronic
- title_key: text.experiments
abs_href: "/content/?tags=experiments"
icon: fad fa-flask-vial
active_id: electronic
- title_key: text.tools - title_key: text.tools
abs_href: "/tools" abs_href: "/tools"
icon: fad fa-toolbox icon: fad fa-toolbox

View File

@@ -0,0 +1,18 @@
# EN - CircuitPython Custom FS
meta.title: CircuitPython - Custom File Systems
meta.description: "Set of examples of custom file systems and block-level devices for CircuitPython that can be
used for educational purposes and expanded upon."
intro.title: Introduction
intro.text.10: "The goal of this experiment was to try and give people a strong, clear, and documented starting point
for future experiments that may require virtual file systems and block-level devices on CircuitPython devices."
intro.text.20: "For example, by using the blank examples, you can easily create a bootstrapping code and file system
that connects securely to a remote server and pulls code directly from it without ever having to touch the MCU's
flash storage."
intro.text.30: "The second main advantage is that this project can serve as a robust educational tool."
intro.text.31: "Due to the permissive nature of Python and CircuitPython's APIs, it lets people easily test out
different designs and mechanisms for their file systems without running the risk of corrupting unrelated data or
bricking their device."
intro.text.32: "Additionally, it is possible to manipulate and add logging to many of the methods which allows you to
see and understand the inner workings of CircuitPython, filesystems and BLD devices themselves."

View File

@@ -10,6 +10,7 @@ text.projects: Projects
text.applications: Applications text.applications: Applications
text.libraries: Libraries text.libraries: Libraries
text.electronics: Electronics text.electronics: Electronics
text.experiments: Experiments
text.3d-print: 3D Printing text.3d-print: 3D Printing
text.tools: Tools text.tools: Tools
text.links: Links text.links: Links

View File

@@ -1,5 +1,8 @@
# EN - SVG to PNG # EN - SVG to PNG
meta.title: SVG to PNG converter
meta.description: Convert and resize SVG images into PNG files easily and locally.
upload.add.button: "Add image(s)" upload.add.button: "Add image(s)"
upload.clear.button: "Clear" upload.clear.button: "Clear"

View File

@@ -0,0 +1,20 @@
# FR - CircuitPython Custom FS
meta.title: CircuitPython - Systèmes de fichier perso.
meta.description: "Collection d'exemples de systèmes de fichiers personnalisés et de périphériques de bloc pour
CircuitPython pouvant être utilisés à des fins éducatives ou d'autres développements."
intro.title: Introduction
intro.text.10: "Le but de cette expérience était de fournir un point de départ solide, clair et documenté pour
de futures expériences nécessitant des systèmes de fichiers virtuels, ou des périphériques de bloc sur
des appareils utilisant CircuitPython."
intro.text.20: "Par exemple, en utilisant les exemples modèles, il est possible de créer facilement un code de
démarrage et un système de fichiers qui vont connecter de manière sécurisée à un serveur distant, et y récupérer
directement du code sans jamais avoir à toucher à la mémoire flash du MCU."
intro.text.30: "Le deuxième avantage majeur est que ce projet peut servir d'outil éducatif."
intro.text.31: "En effet, les APIs extrêmement permissives de Python et CircuitPython permettent à leurs
utilisateurs de tester facilement différents designs et mécanismes pour leurs systèmes de fichiers sans risquer
de corrompre des données ou de rendre leur appareil inutilisable."
intro.text.32: "De plus, vous pouvez très facilement ajouter des messages de débogage et manipuler plusieurs
méthodes, ce qui permet de voir et de comprendre le fonctionnement interne de CircuitPython, des systèmes de
fichiers et des périphériques de bloc en eux-mêmes."

View File

@@ -10,6 +10,7 @@ text.projects: Projets
text.applications: Applications text.applications: Applications
text.libraries: Librairies text.libraries: Librairies
text.electronics: Électronique text.electronics: Électronique
text.experiments: Expériences
text.3d-print: Impression 3D text.3d-print: Impression 3D
text.tools: Outils text.tools: Outils
text.links: Liens text.links: Liens

View File

@@ -1,5 +1,8 @@
# FR - SVG to PNG # FR - SVG to PNG
meta.title : Convertisseur SVG en PNG
meta.description : Convertissez et redimensionnez facilement des images SVG en fichiers PNG localement.
upload.add.button: "Ajouter des images" upload.add.button: "Ajouter des images"
upload.clear.button: "Vider séléction" upload.clear.button: "Vider séléction"

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -22,9 +22,9 @@
src="{{ url_for("static", filename=project_data.metadata.index.image_url) }}" src="{{ url_for("static", filename=project_data.metadata.index.image_url) }}"
alt="TODO"> alt="TODO">
<h3 class="mb-xs"> <h3 class="mb-xs">
{{ l10n(project_data.metadata.index.title_key, project_id, lang) }} {{ l10n(project_data.metadata.index.title_key, project_id, user_lang) }}
</h3> </h3>
<p>{{ l10n(project_data.metadata.index.preamble_key, project_id, lang) }}</p> <p>{{ l10n(project_data.metadata.index.preamble_key, project_id, user_lang) }}</p>
</div> </div>
</a> </a>

View File

@@ -22,9 +22,9 @@
src="{{ url_for("static", filename=tool_data.metadata.index.image_url) }}" src="{{ url_for("static", filename=tool_data.metadata.index.image_url) }}"
alt="TODO"> alt="TODO">
<h3 class="mb-xs"> <h3 class="mb-xs">
{{ l10n(tool_data.metadata.index.title_key, tool_id, lang) }} {{ l10n(tool_data.metadata.index.title_key, tool_id, user_lang) }}
</h3> </h3>
<p>{{ l10n(tool_data.metadata.index.preamble_key, tool_id, lang) }}</p> <p>{{ l10n(tool_data.metadata.index.preamble_key, tool_id, user_lang) }}</p>
</div> </div>
</a> </a>

View File

@@ -0,0 +1,16 @@
{% extends "projects/_project.jinja" %}
{% block project_content %}
{{ render_h2(l10n("intro.title", project_id, user_lang)) }}
{{ render_paragraph(l10n("intro.text.10", project_id, user_lang)) }}
{{ render_paragraph(l10n("intro.text.20", project_id, user_lang)) }}
{{
render_paragraph(
l10n("intro.text.30", project_id, user_lang) + "<br>" +
l10n("intro.text.31", project_id, user_lang) + "<br>" +
l10n("intro.text.32", project_id, user_lang)
)
}}
{{ render_h2(l10n("features.title", project_id, user_lang)) }}
{% endblock %}