Actually yes! I guess the robust way to do it would be to actually have your own firmware, but you could probably to something like this:
require("Storage").write('.boot1',` g.setRotation(2); g._clear=g.clear; g.clear=function(rst){g._clear(rst);if(rst)g.setRotation(2);} `);
Buttons would still be flipped, but for a lot of uses it'd be fine.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Actually yes! I guess the robust way to do it would be to actually have your own firmware, but you could probably to something like this:
Buttons would still be flipped, but for a lot of uses it'd be fine.