diff --git a/.gitattributes b/.gitattributes
index ff8c5ab2995d45955795e40f0affbaa7363d4900..6822bd21c2d3414b261d57fa3b43aa24612a5dab 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -26,3 +26,14 @@ cc3200/hal/des.c -text
 cc3200/hal/i2s.c -text
 cc3200/hal/i2s.h -text
 cc3200/version.h -text
+ports/stm32/pybcdc.inf_template -text
+ports/stm32/usbd_* -text
+ports/stm32/boards/*/stm32f4xx_hal_conf.h -text
+ports/stm32/usbdev/** -text
+ports/stm32/usbhost/** -text
+ports/cc3200/hal/aes.c -text
+ports/cc3200/hal/aes.h -text
+ports/cc3200/hal/des.c -text
+ports/cc3200/hal/i2s.c -text
+ports/cc3200/hal/i2s.h -text
+ports/cc3200/version.h -text