Grove Vision AI V2 - Camera Support

I am thinking from this page that I need to change two lines of code and rebuild the firmware and flash the new build???

Can anyone confirm this is the right way to get other cameras working?