Are there any recommendations regarding configuring unused pins? Is it safer configuring them as output, for instance? Is it better not to configure them at all?
Hardware-wise, is it recommended leaving unused pins as is, or maybe connecting them to VDD/GND by a pull-up/pull-down resistor?