#pragma once

// convenience header to pick table or bit-by-bit impl
// this is not best way, longer term can add a feature macro to pick

#if BOARD_MSC == 3
    #if defined(PART_TM4C1290NCPDT)
        #include "table/crc-8.h"
    #elif defined(PART_TM4C123GH6PM)
        #include "bit/crc-8.h"
    #else
        #error "Unknown part"
    #endif
#elif BOARD_MPHOX == 1
        #warning USING bit/crc-8.h for for MPhOx Board!!!
        #include "bit/crc-8.h"
#elif BOARD_NANOFET >= 1
        #warning USING bit/crc-8.h for for NANOFET Board!!!
        #include "bit/crc-8.h"
#elif BOARD_MFET >= 1
        #warning USING bit/crc-8.h for for MFET Board!!!
        #include "bit/crc-8.h"
#else
    #error "Unknown board"
#endif

