bootloader: export ets_update_cpu_frequency

This commit is contained in:
Ivan Grokhotkov 2017-01-09 03:08:24 +08:00
parent ecf720d3b3
commit c1b06bf0a2
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,10 @@
# we pull in bootloader-specific linker arguments.
#
LINKER_SCRIPTS := esp32.bootloader.ld $(IDF_PATH)/components/esp32/ld/esp32.rom.ld
LINKER_SCRIPTS := \
esp32.bootloader.ld \
$(IDF_PATH)/components/esp32/ld/esp32.rom.ld \
esp32.bootloader.rom.ld
COMPONENT_ADD_LDFLAGS := -L $(COMPONENT_PATH) -lmain $(addprefix -T ,$(LINKER_SCRIPTS))

View File

@ -0,0 +1 @@
PROVIDE ( ets_update_cpu_frequency = 0x40008550 ); /* Updates g_ticks_per_us on the current CPU only; not on the other core */