Skip to content

Commit

Permalink
remove annoying env file since git filter with sed does not work on w…
Browse files Browse the repository at this point in the history
…indows
  • Loading branch information
doraeric committed Jul 13, 2024
1 parent bc7fde2 commit 417cb3b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/fw/.settings/language.settings.xml
*.lck
\#auto_saved_files\#
pcb/kicad/pcb_badge/pcb_badge-backups/*.zip
Expand Down
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# HITCON PCB Badge

## Project Setup

After cloning the repository, execute the following commands to prevent the environment from being checked by Git.

```shell
git config --local filter.eclipse_env_hash.clean "sed 's/env-hash=\"[^\"]*\"/env-hash=\"\"/g'"
git config --local filter.eclipse_env_hash.smudge cat
```

ref: [Eclipse Community Forums: C / C++ IDE (CDT) » Keeping language.settings.xml under source control?](https://www.eclipse.org/forums/index.php/t/1074031/)

## Firmware Development

execute `fw/merge.py` to merge STM32CubeIDE generated `main.c` with user code in `main.cc` into `main.cc`.
Expand Down
25 changes: 0 additions & 25 deletions fw/.settings/language.settings.xml

This file was deleted.

0 comments on commit 417cb3b

Please sign in to comment.