vedderb / bldc

The VESC motor control firmware
2.22k stars 1.37k forks source link

Sweeping Makefile changes (Windows support, yay!) #423

Closed kubark42 closed 2 years ago

kubark42 commented 2 years ago

NOTE: There are some unfortunate minor changes to the ChibiOS files to get them to build on Windows.

===============

The concept of this Makefile is that each target is represented by a single header file. If there are two very similar boards, only the difference is that one is spec'ed for 12S but lower current and one for 6S but higher current, then there should be two header files.

The header files are minimal, and are used only to configure the #defines in a their associated _core.h file, which is not added to the list of targets.