board: Get initial charging working

The board will now charge a battery.  Kinda.  Well enough, at least.

You'll need to setup the pack, providing the number of cells, design
capacity, and maximum charge rate.