This guide walks you through setting up an ESP-IDF project, configuring your ESP32, and flashing the firmware. Complementary video: Installing the ESP IDF Introduction to RTOS ESP-IDF Getting Started
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM registry.fedoraproject.org/fedora-toolbox:42 | |
| ARG ESP_IDF_VERSION=v5.5 | |
| ENV IDF_GITHUB_ASSETS=dl.espressif.com/github_assets \ | |
| IDF_TOOLS_PATH=/opt/.espressif \ | |
| PATH=/usr/local/bin:$PATH | |
| # Base tools and compilers | |
| RUN dnf -y upgrade --refresh && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an expert software architect and project analysis assistant specializing in Nim language projects. Analyze the current project directory recursively and generate a comprehensive AGENTS.md file. This file will serve as a foundational context guide for any future AI model, like yourself, that interacts with this project. The goal is to ensure that future AI-generated code, analysis, and modifications are consistent with the project's established standards, architecture, and Nim ecosystem practices. | |
| + Scan and Analyze: Recursively scan the entire file and folder structure starting from the provided root directory. | |
| + Identify Key Artifacts: Pay close attention to package files (.nimble), nimble.lock (dependency lock file), configuration files (nim.cfg, config.nims, Dockerfile, etc.), build and script files (.nims, nakefile.nim, .sh, Makefile, etc.), READMEs, folder hierarchy, documentation files (.md, .rst), source code files (.nim), and nimbledeps or deps directories (where dependencies are stored). | |
| + I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an expert software architect and project analysis assistant specializing in Nim language projects. Analyze the current project directory recursively and generate a comprehensive AGENTS.md file. This file will serve as a foundational context guide for any future AI model, like yourself, that interacts with this project. The goal is to ensure that future AI-generated code, analysis, and modifications are consistent with the project's established standards, architecture, and Nim ecosystem practices. | |
| 1. Scan and Analyze: Recursively scan the entire file and folder structure starting from the provided root directory. | |
| 2. Identify Key Artifacts: Pay close attention to package files (`.nimble`), dependency lock files (`nimble.lock`), configuration files (`nim.cfg`, `config.nims`, Dockerfile, etc.), build and script files (`.nims`, `nakefile.nim`, `.sh`, `Makefile`, etc.), READMEs, folder hierarchy, documentation files (`.md`, `.rst`), source code files (`.nim`), and CI/CD pipeline definitions (`.github/workf |
Author: Antonis Geralis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import gzip | |
| import json | |
| import unicodedata | |
| from collections import Counter | |
| def validate_diaeresis_mark(word): | |
| diaeresis_chars = 'ϊϋΐΰ' | |
| vowels_with_accent = 'άέήίόύώ' | |
| diphthongs = {'αι', 'ει', 'οι', 'υι', 'αυ', 'ευ', 'ου'} | |
| diaeresis_found = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output. | |
| - Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure. | |
| - Reasoning Before Conclusions: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS! | |
| - Reasoning Order: Call out reasoning portions of the prompt and conclusion parts (specific fields by name). For each, determine the ORDER in which this is done, and whether it needs to be reversed. | |
| - Conclusion, classifications, or results should ALWAYS appear last. | |
| - Examples: Include high-quality examples if helpful, using placeholders [in brackets] for complex elements. | |
| - What kinds of examples may need to be included, how many, and whether they are complex enough to benefit from p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def greek_vowels_iterator(word): | |
| vowels = 'αάεέηήιίοόυύωώϊϋΐΰ' | |
| diphthongs = { | |
| 'αι', 'ει', 'οι', 'υι', 'αυ', 'ευ', 'ου', | |
| 'αί', 'εί', 'οί', 'υί', 'αύ', 'εύ', 'ού', | |
| 'αη', 'αϊ', 'οη', 'όη', 'οϊ', 'άι', 'όι', 'εϊ' | |
| } | |
| spurious_diphthongs = 'ιυ' | |
| spurious_diphthongs_long = {'οι', 'ει'} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def greek_vowels_iterator(word): | |
| vowels = 'αάεέηήιίοόυύωώϊϋΐΰ' | |
| diphthongs = { | |
| 'αι', 'ει', 'οι', 'υι', 'αυ', 'ευ', 'ου', | |
| 'αί', 'εί', 'οί', 'υί', 'αύ', 'εύ', 'ού', | |
| 'αη', 'αϊ', 'οη', 'όη', 'οϊ', 'άι', 'όι', 'εϊ' | |
| } | |
| spurious_diphthongs = 'ιυ' | |
| spurious_diphthongs_long = {'οι', 'ει'} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def lower_first_if_title(word): | |
| if word.isupper(): | |
| return word | |
| elif word.istitle(): | |
| return word[0].lower() + word[1:] | |
| else: | |
| return word | |
| def count_greek_syllables(word): | |
| vowels = 'αάεέηήιίοόυύωώϊϋΐΰ' |