commit 37c66db93e94218f625b7bcfbccc45b5f6b9bc6f Author: Hector van der Aa Date: Sun May 3 18:01:55 2026 +0200 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..b3b6265 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# NeoECU gitignore + +This repository contains the different `.gitignore` files required when setting up any NeoECU project. + +The files are as follows: +- `global.gitignore` - Copy to the root of your repository +- `stm32.gitignore` - Copy to the `STM32` directory of your repository +- `zephyr.gitignore` - Copy to the `Zephyr` directory of your repository +All files should be named `.gitignore` in their respective directories diff --git a/global.gitignore b/global.gitignore new file mode 100644 index 0000000..616c742 --- /dev/null +++ b/global.gitignore @@ -0,0 +1,5 @@ +.venv/ +.cache/ +**/.cache/ +.jlink_scripts/ +**/.jlink_scripts/ diff --git a/stm32.gitignore b/stm32.gitignore new file mode 100644 index 0000000..e422d75 --- /dev/null +++ b/stm32.gitignore @@ -0,0 +1,35 @@ +# ======================== +# Build outputs +# ======================== +build/ +**/build/ + +*.elf +*.bin +*.hex +*.map +*.o +*.a +*.d + +# ======================== +# CMake +# ======================== +CMakeCache.txt +CMakeFiles/ +cmake_install.cmake +compile_commands.json + +# ======================== +# IDE / Editor +# ======================== +.vscode/ +.idea/ +*.swp +*.log + +# ======================== +# OS +# ======================== +.DS_Store +Thumbs.db diff --git a/zephyr.gitignore b/zephyr.gitignore new file mode 100644 index 0000000..da35d5f --- /dev/null +++ b/zephyr.gitignore @@ -0,0 +1,31 @@ +# ======================== +# Build directory +# ======================== +build/ +**/build/ + +# ======================== +# CMake +# ======================== +CMakeCache.txt +CMakeFiles/ +cmake_install.cmake +compile_commands.json + +# ======================== +# Zephyr / west (optional) +# ======================== +.west/ + +# ======================== +# Editor / IDE +# ======================== +.vscode/ +.idea/ +*.swp + +# ======================== +# OS +# ======================== +.DS_Store +Thumbs.db