pic32: Implement flash size meter

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>