The Great PokittoLib Cleanup of 2020

Cleanup Part 2

The first part of the cleanup focused on PokittoDisplay, so PokittoSound was left largely untouched. LibAudio was then born as an alternative implementation. Now it’s time to make PokittoSound use that as a backend: this will allow many existing games to continue working while still providing a more flexible API and lighter memory footprint.

It’s also an opportunity to shed some more Gamebuino-specific code.

While I tested it on some of the projects I have here, I expect a few problems to be found now that the PR has been merged. Please report here if you find anything.

For Part 3, I’m planning on removing all of the hardware initialization code from PokittoLib and using MiniLib’s instead. We might be able to remove mbed entirely, which would solve a few problems.

6 Likes

This is great news!

2 Likes