Bootloader-Builder icon indicating copy to clipboard operation
Bootloader-Builder copied to clipboard

Avoid hard-coding minor revisions

Open jadonk opened this issue 8 years ago • 2 comments

Is it possible to adjust evaluation of minor revisions such that older software can still run on newer boards? Case in point: BWA3. Can it not be BWAx or even BWxx?

jadonk avatar Sep 08 '16 15:09 jadonk

@jadonk yeah i can do that, but let's add it to the list, that way we can say "BWxx" or "BWAx" is taken..

RobertCNelson avatar Sep 08 '16 16:09 RobertCNelson

@jadonk as of:

https://github.com/RobertCNelson/Bootloader-Builder/commit/01786b3c3408e65b260375054debfe7897dff796

static inline int board_is_bbbw(void)
{
    return board_is_bone_lt() && !strncmp(board_ti_get_rev(), "BW", 2);
}

RobertCNelson avatar Sep 09 '16 19:09 RobertCNelson