Fixed unaligned flash write/erase
Merge branch 'v2' of github.com:openrobots-dev/Middleware into v2