fix(vitis): replace absolute paths with relative paths for cross-platform compatibility

- Replace hardcoded /home/ly0kos/ paths in .prj, .sprj, and platform.spr
  with relative paths so the project can be cloned and opened on any machine
- Remove RemoteSystemsTempFiles/.project from git (IDE temp file)
- Add .gitignore at Vitis root to exclude .metadata/, RemoteSystemsTempFiles/,
  IDE.log, *.log, and .analytics/
- Update NewInstCal_bsp/.gitignore to stop ignoring /export/ (needed for xpfm)
- Add .gitattributes for consistent line ending handling across platforms
This commit is contained in:
Jeremy Shen
2026-05-27 09:56:34 +08:00
parent 4d9b811648
commit bd80ce4611
263 changed files with 72421 additions and 16 deletions
+24
View File
@@ -0,0 +1,24 @@
# Force LF line endings for all text files (auto-converted to CRLF on Windows checkout)
* text=auto eol=lf
# XML/project files - ensure consistent line endings
*.xml text eol=lf
*.prj text eol=lf
*.sprj text eol=lf
# C/C++ source files
*.c text eol=lf
*.h text eol=lf
*.ld text eol=lf
*.tcl text eol=lf
# Configuration files
*.json text eol=lf
*.mk text eol=lf
# Binary files - no line ending conversion
*.bit binary
*.elf binary
*.bif binary
*.xsa binary
*.xpfm binary