11 Commits

Author SHA1 Message Date
8ddac7b9cf fix(log): fix boot time data type errot 2019-10-18 18:23:31 +08:00
aa965627d1 feat(esp8266): add new power management method 2019-08-30 20:58:32 +08:00
b061230056 feat(esp8266): refactor CCOMPARE timer and system time by microseconds
old: CCOMPARE timer triggers when CCOUNT increase to equal to CCOMPARE, then ISR will increase integer of "_xt_tick_divisor"
     to CCOMPARE and wait for next interrupt triggering

now: CCOMPARE timer triggers when CCOUNT increase to equal to CCOMPARE, then ISR will reset CCOUNT to be 0 and reset CCOMPARE
     to be integer of "_xt_tick_divisor", then wait for next interrupt triggering

Using the new method, we may get the CCOUNT value without considing if it has overflowed.
System running microseconds = g_os_ticks * microseconds per tick + CCOUNT.
2019-08-19 14:03:20 +08:00
e82ba45f03 feat(console): Modify console for ESP8266 2019-04-17 15:58:46 +08:00
965fc47ff8 feat(log): add esp_log to internal wifi lib 2019-04-12 09:35:45 +08:00
09fe8f7085 fix(log): Fix log time mismatch
When system startup, using 2*crystal as clock source.
2018-12-28 14:44:12 +08:00
7c8e414c4f feat(log): Add tag level set and check 2018-08-23 10:35:43 +08:00
3521271f09 feat(log): Modify log time unit from "s" to "ms" 2018-08-08 14:21:30 +08:00
82a8582371 feat(log): add log support for bootloader 2018-06-19 17:34:54 +08:00
0ca5fa1850 refactor(log): Refactor log to make it easy to use and twice develop 2018-05-30 15:33:08 +08:00
dee512e200 feat(log): Bring log component from esp-idf 2018-05-30 10:01:32 +08:00