Files
dongheng 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
..
2019-06-12 11:14:50 +08:00

README

esp-idf compile and 'AR' user program as target library 'libmain.a', so we should not use
library which is named 'libmain.a'. We use 'libcore.a' instead of it.

As I konwn, you can do following:

1. rename libmain.a to libcore.a
2. change text 
        "*libmain.a:spi_flash.o(.literal .text .literal.* .text.*)"
   to
        "*libcore.a:spi_flash.o(.literal .text .literal.* .text.*)"
   in file 'eagle.app.v6.common.ld'