Fixes errors when flashing or debugging the board Signed-off-by: Petr Hodina <phodina@protonmail.com>