juribeparada / MMDVM_HS

MMDVM HotSpot: firmware for ZUMspot or MMDVM_HS based boards (D-Star, DMR, YSF, P25, NXDN and POCSAG)
GNU General Public License v2.0
354 stars 142 forks source link

Add `BOARD_INFO` type string ("MMDVM_HS_Dual_Hat") for `MMDVM_HS_HAT_REV12` boards with `DUPLEX` defined. #155

Closed W0CHP closed 1 year ago

W0CHP commented 1 year ago

We've been seeing a recent influx of generic MMDVM_HS_HAT_REV12-type boards surface, which are dual-HAT/duplex capable. However, even when #define DUPLEX is defined by the user, the BOARD_INFO type string is MMDVM_HS_Hat.

This PR introduces minor logic to report these configurations as MMDVM_HS_Dual_Hat...

When the user defines #define DUPLEX along with #define MMDVM_HS_HAT_REV12 in their Config.h, the version.h logic will then define the board type string as #define BOARD_INFO "MMDVM_HS_Dual_Hat".

This change will provide for more accurate board string identifiers used by MMDVMhost, W0CHP-PiStar-Dash and other related software.