I'm starting a new project using the esp_iot_rtos_sdk, however I hit a roadblock right at the start, after compiling and uploading the sample application I can't receive properly the output of "printf" in the code. I tried all the standard baudrates from 1200 to 921600 (including 74880), 8,N,1, but all I get is gibberish. I get some characters at periodic intervals so the code itself on the chip seems to be working, although I can't be sure. I tried NodeMCU previously with the same setup and I could communicate without issue, so it must be a configuration problem (I'm switching to the esp sdk due to memory issues with lua). This is my first project for the ESP8266 so it's not clear yet for me how everything fits together, in particular why some firmware are in several pieces that must be uploaded at different offsets so maybe I've missed something here.
To give more details, I used to gen_misc.sh script which generated eagle.flash.bin and eagle.irom0text.bin that I flashed at 0x00000 and 0x40000 respectively. The script also asks other questions about the SPI flash chip, I just left everything as default, could the be a problem?
Thanks for your help.