# ---------------------------------------------------------------- build --
# CubeMX Makefile default output and stm32cdc artifacts. Both are fully
# regenerable; build-info.json is a build record, not a source.
build/
artifacts/

# ------------------------------------------------------- debugger state --
# Written by cortex-debug during a session. Unanchored on purpose: these live
# under each project's .vscode/, and any pattern containing a slash would only
# match at the repository root.
.cortex-debug.*.state.json

# -------------------------------------------------- unused CMSIS packs --
# CubeMX copies the entire CMSIS pack into every project, but the generated
# Makefile only ever includes CMSIS/Include and CMSIS/Device -- and no source
# references arm_math/arm_nn/cmsis_os. That leaves ~1000 files carried for
# nothing. CubeMX restores them on demand from the .ioc.
#
# Start using CMSIS-DSP or CMSIS-NN and you MUST delete the matching line,
# otherwise the build works on your machine and fails on a clean checkout.
**/Drivers/CMSIS/DSP/
**/Drivers/CMSIS/NN/
# CMSIS 6 duplicate of CMSIS/Include (same core_*.h / cmsis_*.h), not on any
# include path and referenced by nothing.
**/Drivers/CMSIS/Core/
**/Drivers/CMSIS/Core_A/
**/Drivers/CMSIS/RTOS/
**/Drivers/CMSIS/RTOS2/
**/Drivers/CMSIS/DAP/
**/Drivers/CMSIS/Documentation/

# ------------------------------------------------------- vscode extension --
node_modules/
extension/*.vsix

# ------------------------------------------------------------- python --
# stm32cdc.py normally runs inside the image, where nothing writes here. These
# appear when it is imported or run on the host -- a generation from a checkout,
# or a test that loads it as a module -- and land next to the source.
__pycache__/
*.py[cod]
.pytest_cache/

# ------------------------------------------------------------ os noise --
Thumbs.db
.DS_Store

# Screenshots dropped into the repository root by chat tools.
ChatGPT Image *.png
