Aerocore update

This merges in the work from: https://github.com/aerocore/Firmware and fixes some C++ warnings.