permissions for the executable script
minor internal modifications in watchdog
choose GPIO APB or AHB mode