Using GitHub with Tracker Edge

I’m looking to utilize the Tracker Edge firmware for a project. I’ve followed the instructions here: Tracker Edge firmware | Firmware | Particle
in the ’ Using GitHub with Tracker Edge’ section.

I’ve attempted to build various branches and have yet to have success (building against deviceOS@5.0.1). Any help will be greatly appreciated. Following are a few of my issues:
release/V18 -
error: ‘HAL_Pin_Map’ was not declared in this scope; did you mean ‘Hal_Pin_Map’?
194 | Hal_Pin_Type type = HAL_Pin_Map()[_pin].type;

error: The PRODUCT_ID macro must be removed from your firmware source code. The same compiled firmware binary may be used in multiple products that share the same platform and functionality.

When switching between branches I always issue the git submodule update --init --recursive command. I’ve event tried:
git clean -xfdf
git submodule foreach --recursive git clean -xfdf
git reset --hard
git submodule foreach --recursive git reset --hard

I’m sure I’m doing something wrong, again, any help will be appreciated!
git submodule update --init --recursive

I was able to successfully compile using release/v18 and deviceOS@3.3.0. I was also able to compile release/V7 with deviceOS@2.3.1. Seems each branch is very specific and I’ve not found the CHANGELOG.MD to be helpful or even accurate (v18 states os 3.2 but that fails to compile). Is there documentation anywhere that I’m missing regarding the release and required deviceOS?

It should compile with 3.2.0. What error did you get?

However, 3.3.0 is the recommended version.

Since Tracker Edge v18 came out prior to 4.x and 5.x, the release notes don’t reference those versions. You can use v18 with later versions, but you need to remove the PRODUCT_ID macro as the error message indicates.