add gitignore and requirements for simulation

This commit is contained in:
2026-03-21 22:22:23 +08:00
parent 5b22cacc13
commit 8aca7b2d75
3 changed files with 155 additions and 0 deletions

73
.gitignore vendored Normal file
View File

@@ -0,0 +1,73 @@
# STM32CubeIDE
*.launch
*.cfg
*.mxproject
# Compiled Object files
*.o
*.obj
*.elf
*.hex
*.bin
*.map
*.list
# Precompiled Headers
*.gch
*.pch
# Libraries
*.a
*.la
*.lib
# Executables
*.exe
*.out
*.app
# Debug files
*.dSYM/
*.su
*.cd
*.dep
# IDE files
*.idea/
*.vscode/
*.project
*.cproject
*.settings/
# Build directories
Debug/
Release/
build/
cmake-build-*/
# Simulation results
Simulation/results/
Simulation/output/
# Python
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
dist/
build/
*.egg
# Virtual environments
venv/
env/
.venv/
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

79
Simulation/.gitignore vendored Normal file
View File

@@ -0,0 +1,79 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
dist/
build/
*.egg
*.so
# Virtual environments
venv/
env/
.venv/
# IDE files
.idea/
.vscode/
*.pyo
*.pyd
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Simulation results
results/
output/
*.png
*.jpg
*.jpeg
*.gif
*.svg
*.pdf
# Data files
*.csv
*.dat
*.log

View File

@@ -0,0 +1,3 @@
numpy>=1.21.0
matplotlib>=3.5.0
scipy>=1.7.0