[chibios] common upload rules