hiveeyes / hanimandl

HaniMandl ist ein halbautomatischer Honig-Abfüll-Roboter.
https://hanimandl.readthedocs.io/
GNU General Public License v3.0
38 stars 29 forks source link

Multiboard support #21

Open amotl opened 3 years ago

amotl commented 3 years ago

Hi @ClemensGruber, @andreash-esp and @SBajonczak,

this patch prepares the code base to support three board variants.

It also removes the HARDWARE_LEVEL preprocessor definition and replaces the respective configuration for HARDWARE_LEVEL == 1 by a constant HARDWARE_LAYOUT_LEGACY.

This will make bringing in the improvements from #15 by @SBajonczak easier as we will not have to introduce either HARDWARE_LEVEL == 3 or invent any other custom #define constants for mapping different boards.

With kind regards, Andreas.

P.S.: This patch is based on #20, so this PR should be integrated first in order to reduce diff noise.