No console output

Hi, When i flash my FC with Arduplane, ArduCopter etc i see that mavlink and serial communications work well. But when i try to flash with example sketches such as uart_test, printf, i cant get any messages through serial ports. The examples use ap_hal.console->printf and uart->printf functions. FC is connected to my ubuntu laptop via usb port of FC (ttyACM0) and via serial adapter (ttyUSB) through uart 1 port of FC.