-->
Page 2 of 2

Re: RTC Example from the SDK Programming Guide (1.1.0)

PostPosted: Thu Jun 11, 2015 1:53 pm
by 0x6e
So init_uart is found in libat.a, but that depends on libsmartconfig.a. It's much simpler, and more contained for the sake of this example, to include the specific driver source that we use. It also produces smaller firmware: 0x00000.bin is 10K (24%) smaller, and 0x40000.bin is 48K (23%) smaller.

Re: RTC Example from the SDK Programming Guide (1.1.0)

PostPosted: Tue Jun 16, 2015 11:59 am
by eriksl
If you want to get the uart up and running properly (by programming it directly, without the ridiculously bad code given as an example or the one that's included in the sdk), see my "basic tcp uart bridge" on github. If you setup the uart in the user_main function and do the rest of the init (like wlan setup) in the "init complete" callback (see also my code), then the debug output will be perfectly readable.