Can't build skyviper-stable - unreachable commit in submodule

So, I was trying to build skyviper-stable to make a couple of minor tweaks, so I pulled in the SkyRocket repo into my local ardupilot repo:

git remote add skyrocket https://github.com/SkyRocketToys/ardupilot
git fetch skyrocket

Then, checked out skyviper-stable:

git checkout skyviper-stable
M	modules/PX4NuttX
... [ omitted lines ] ...
M	modules/waf
Switched to branch 'skyviper-stable'
Your branch is up-to-date with 'skyrocket/skyviper-stable'.

Then, updated the submodules:

git submodule update --recursive
Submodule path 'modules/PX4Firmware/Tools/gencpp': checked out '26a86f04bcec0018af6652b3ddd3f680e6e3fa2a'
... [ omitted lines ] ...
Fetched in submodule path 'modules/PX4NuttX', but it did not contain 574dfe9e2d947e3d5d7acd50033b56798a14fc1f. Direct fetching of that commit failed.

It appears that skyviper-stable references an unreachable commit in ArduPilot. I can see the commit on github, but as it’s not used in any branch, there’s no way I can fetch it.

Any suggestions?

Thanks,
Hugh

It appears that skyviper-stable references an unreachable commit in
ArduPilot. I can see the commit on github, but as it’s not used in any
branch, there’s no way I can fetch it.

try:

pushd modules/PX4NuttX
git remote add tridge GitHub - tridge/PX4NuttX: Standard NuttX (http://nuttx.org) with current PX4 WIP patches
git fetch tridge
popd

git submodule update

Thanks, that fixed it. (Should have thought to look in Tridge’s repo!)

Hugh