... this settings depends on your firmware-sources, but most of them should have a file "configuration.h" in the source files, where you can change all parameters and pin-wiring or behaviour.
After changing this you have to upload the firmware again ...
After changing this you have to upload the firmware again ...