Already found the problem.
By default HAL_UART_DMA=1 is defined, which configures interrupts on P0 where keys are already connected (P0_0, P0_1).
The correct configuration should use P1 where in fact uart is connected. So, HAL_UART_DMA=2 should be used instead.