* Clarified PDM microphone behavior: data unit width is effectively 16-bit in PDM mode
* Updated microsecond timing with Arduino-ESP32 note about direct timer usage
* Added "Precision waiting" subsection: coarse delay then busy-spin for microsecond accuracy
* Expanded error-handling docs with non-aborting check example
* Adjusted logging example presentation for human readers
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
Revising AI review instructions:
* Reduce context window use for AI review tools, by avoiding repeating common knowledge and API information that is (usually) part of the AI training datasets any way.
* Introduce a mechanism to maintain both parts in single files, to avoid "silent diversion" over time
* Adding a coderabbit path instruction that ensures cross-checking of both parts whenever a PR modifies instruction files
Objectives:
* Primary Goal: only inject content in AI-visible areas that are WLED-MM–specific or which deviate from general knowledge (the context window "token cost" of true false-positive suppressors is always worth it).
* Soft goal: keep each file's AI-facing section lean enough that the signal-to-noise ratio in the attention layer stays high — around 1,500–2,000 words per file type is a reasonable practical ceiling for current models.
* Aspirational: 500 words per file if achievable without sacrificing review quality.
This is an evolution of #353, based on the discussion in https://github.com/MoonModules/WLED-MM/pull/353#issuecomment-4186989873
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Revise copilot-instructions.md: consolidate redundant sections, extract language-specific rules
* Added comprehensive internal documentation files establishing coding standards and development workflows for C++, Web UI, CI/CD, and ESP-IDF components.
* Implemented CodeRabbit configuration to enforce repository-specific code review guidance and quality standards across pull requests.
* Documented development workflow procedures and contribution expectations to streamline the development process and improve code consistency.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Updated the release name in nightly.yml to better reflect that this is a
development build (mdev) rather than a production release.
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
The v2.4 release fixes the deprecated set-output command by using GITHUB_OUTPUT
environment file instead. This eliminates the deprecation warning in nightly builds.
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
The action janheinrichmerker/action-github-changelog-generator@v2.3 expects
camelCase parameter names. Changed 'exclude-labels' to 'excludeLabels' in both
nightly.yml and release.yml to fix the nightly release action failure.
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
- Created pio-scripts/set_nightly_version.py following existing set_version.py pattern
- Script sets VERSION to yymmddb format with build number 0 for nightly builds
- Modified build.yml to accept nightly_build boolean input
- Modified nightly.yml to pass nightly_build=true flag
- Added set_nightly_version.py to platformio.ini extra_scripts
- Uses WLED_NIGHTLY_BUILD environment variable to conditionally set VERSION
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
- Modified build.yml to accept optional version input parameter
- Modified nightly.yml to calculate VERSION from build date in format yymmddb
- VERSION is passed as PLATFORMIO_BUILD_FLAGS to override default in wled.h
- Other workflows (wled-ci.yml, release.yml) unchanged and will use default VERSION
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>