Using a global .dir-locals.el file is a better alternative than reincluding the same emacs header in every file of the project.
To be used in boards that uses the same PWM chip to generate signal to control motors and the status led.