alpha
Login
or
Join now
jmrp.io
/
kleidos
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/jmrplens/kleidos. Kleidos — Hardware BLE password manager for ESP32-S3 (M5StickC Plus2, StickS3, M5Stack Gray, T-Deck, Cardputer)
jmrplens.github.io/kleidos/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
kleidos
/
components
/
bmi270
/
bmi270_api
/
at
main
6 files
José M. Requena Plens
Fix pre-commit hooks; install pre-commit with all gates passing
3mo ago
1c316adc
LICENSE
Fix pre-commit hooks; install pre-commit with all gates passing Set up the pre-commit framework (v4.6.0) that was configured in .pre-commit-config.yaml but never installed in .git/hooks/. - Install pre-commit into PlatformIO venv and register both hook types: .git/hooks/pre-commit (fast gates on every commit) and .git/hooks/pre-push (slow gates: native tests, build check, doc-lint). The hook shell script calls PlatformIO Python by absolute path so it works without manually activating the venv. Fix two issues exposed by the first full run: - .typos.toml: exclude pattern for the generated i18n tables used capital S (Strings_gen.*) while the actual filenames are lowercase (strings_gen.*); typos was scanning them and flagging valid ES/FR/DE/IT strings as errors. Corrected to lowercase. Also add components/bmi270/ exclusion (vendored Bosch driver; its internal typos are not ours to fix). - scripts/check_design_tokens.py: check_theme_h() called read_text() on src/ui/Theme.h unconditionally, crashing with FileNotFoundError when that file does not yet exist. Add an early-return guard matching the existing pattern used for CSS files and mockup directories. Apply auto-corrections from trailing-whitespace, end-of-file-fixer, and clang-format hooks across docs/, components/bmi270/, and various src/ files. All 13 pre-commit gates now pass cleanly.
3 months ago
bmi2.c
Fix pre-commit hooks; install pre-commit with all gates passing Set up the pre-commit framework (v4.6.0) that was configured in .pre-commit-config.yaml but never installed in .git/hooks/. - Install pre-commit into PlatformIO venv and register both hook types: .git/hooks/pre-commit (fast gates on every commit) and .git/hooks/pre-push (slow gates: native tests, build check, doc-lint). The hook shell script calls PlatformIO Python by absolute path so it works without manually activating the venv. Fix two issues exposed by the first full run: - .typos.toml: exclude pattern for the generated i18n tables used capital S (Strings_gen.*) while the actual filenames are lowercase (strings_gen.*); typos was scanning them and flagging valid ES/FR/DE/IT strings as errors. Corrected to lowercase. Also add components/bmi270/ exclusion (vendored Bosch driver; its internal typos are not ours to fix). - scripts/check_design_tokens.py: check_theme_h() called read_text() on src/ui/Theme.h unconditionally, crashing with FileNotFoundError when that file does not yet exist. Add an early-return guard matching the existing pattern used for CSS files and mockup directories. Apply auto-corrections from trailing-whitespace, end-of-file-fixer, and clang-format hooks across docs/, components/bmi270/, and various src/ files. All 13 pre-commit gates now pass cleanly.
3 months ago
bmi2.h
Fix pre-commit hooks; install pre-commit with all gates passing Set up the pre-commit framework (v4.6.0) that was configured in .pre-commit-config.yaml but never installed in .git/hooks/. - Install pre-commit into PlatformIO venv and register both hook types: .git/hooks/pre-commit (fast gates on every commit) and .git/hooks/pre-push (slow gates: native tests, build check, doc-lint). The hook shell script calls PlatformIO Python by absolute path so it works without manually activating the venv. Fix two issues exposed by the first full run: - .typos.toml: exclude pattern for the generated i18n tables used capital S (Strings_gen.*) while the actual filenames are lowercase (strings_gen.*); typos was scanning them and flagging valid ES/FR/DE/IT strings as errors. Corrected to lowercase. Also add components/bmi270/ exclusion (vendored Bosch driver; its internal typos are not ours to fix). - scripts/check_design_tokens.py: check_theme_h() called read_text() on src/ui/Theme.h unconditionally, crashing with FileNotFoundError when that file does not yet exist. Add an early-return guard matching the existing pattern used for CSS files and mockup directories. Apply auto-corrections from trailing-whitespace, end-of-file-fixer, and clang-format hooks across docs/, components/bmi270/, and various src/ files. All 13 pre-commit gates now pass cleanly.
3 months ago
bmi270.c
Flatten fleet to IDF-pure builds Drop the Arduino framework across the whole fleet: [esp32_base] now builds with framework = espidf only. The pioarduino platform still bundles Arduino Core, but Kleidos no longer uses it — our own app_main() replaces the Arduino loopTask on every variant. Core changes: - Add platform/app_loop.{h,cpp} exposing startMainLoop(setup, loop); main.cpp and both host harnesses spawn the Core 1 / 8 KB loop task through this shared helper (harness targets exclude main.cpp, so they need their own app_main) - Implement CPU frequency get/set via ESP-IDF rtc_clk in platform/system.cpp, replacing the Arduino esp32-hal-cpu helper (keeps the PBKDF2 freq boost) - Rename console flag ARDUINO_USB_CDC_ON_BOOT to KLEIDOS_USB_SERIAL_CONSOLE - Remove every ARDUINO / CONFIG_ENABLE_ARDUINO_DEPENDS conditional (PROGMEM, btInUse, LVGL guards, soc_caps include) Build matrix: - Flatten variant envs: drop the _idf suffix, keep only nombre / nombre_debug - Delete obsolete scripts/set_idf_pure.py and gray sdkconfig_debug - Generalize tdeck_upload.py to usb_jtag_upload.py for all USB-JTAG variants BLE / components: - Move the esp-nimble-cpp dependency to src/idf_component.yml and delete the components/kleidos_ble wrapper component - Correct NimBLE naming to esp-nimble-cpp (not NimBLE-Arduino) in code and docs - Vendor the BMI270 driver as components/bmi270 - Consolidate the T-Deck HAL from src/hal/tdeck into src/hal/common Fixes: - Power down the IMU before deep sleep via shakeDetector.prepareForSleep() - Fix pre-existing sign-conversion errors in wifi_host_harness.cpp surfaced by the strict base build flags Builds validated clean on all 9 variants plus both host harnesses.
3 months ago
bmi270.h
Fix pre-commit hooks; install pre-commit with all gates passing Set up the pre-commit framework (v4.6.0) that was configured in .pre-commit-config.yaml but never installed in .git/hooks/. - Install pre-commit into PlatformIO venv and register both hook types: .git/hooks/pre-commit (fast gates on every commit) and .git/hooks/pre-push (slow gates: native tests, build check, doc-lint). The hook shell script calls PlatformIO Python by absolute path so it works without manually activating the venv. Fix two issues exposed by the first full run: - .typos.toml: exclude pattern for the generated i18n tables used capital S (Strings_gen.*) while the actual filenames are lowercase (strings_gen.*); typos was scanning them and flagging valid ES/FR/DE/IT strings as errors. Corrected to lowercase. Also add components/bmi270/ exclusion (vendored Bosch driver; its internal typos are not ours to fix). - scripts/check_design_tokens.py: check_theme_h() called read_text() on src/ui/Theme.h unconditionally, crashing with FileNotFoundError when that file does not yet exist. Add an early-return guard matching the existing pattern used for CSS files and mockup directories. Apply auto-corrections from trailing-whitespace, end-of-file-fixer, and clang-format hooks across docs/, components/bmi270/, and various src/ files. All 13 pre-commit gates now pass cleanly.
3 months ago
bmi2_defs.h
Fix pre-commit hooks; install pre-commit with all gates passing Set up the pre-commit framework (v4.6.0) that was configured in .pre-commit-config.yaml but never installed in .git/hooks/. - Install pre-commit into PlatformIO venv and register both hook types: .git/hooks/pre-commit (fast gates on every commit) and .git/hooks/pre-push (slow gates: native tests, build check, doc-lint). The hook shell script calls PlatformIO Python by absolute path so it works without manually activating the venv. Fix two issues exposed by the first full run: - .typos.toml: exclude pattern for the generated i18n tables used capital S (Strings_gen.*) while the actual filenames are lowercase (strings_gen.*); typos was scanning them and flagging valid ES/FR/DE/IT strings as errors. Corrected to lowercase. Also add components/bmi270/ exclusion (vendored Bosch driver; its internal typos are not ours to fix). - scripts/check_design_tokens.py: check_theme_h() called read_text() on src/ui/Theme.h unconditionally, crashing with FileNotFoundError when that file does not yet exist. Add an early-return guard matching the existing pattern used for CSS files and mockup directories. Apply auto-corrections from trailing-whitespace, end-of-file-fixer, and clang-format hooks across docs/, components/bmi270/, and various src/ files. All 13 pre-commit gates now pass cleanly.
3 months ago