Hello Eitan,
Please check the "Redirrect print/scanf to UART" when import SDK project :

I t will download to flash.
When open SDK project, the default configuration is print to console using C lib, in this
Way, the project can’t download to FLASH.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------