Undefined reference to `hw_timer_arm'

Hi,

I am trying to use ESP8266 hw timer interrupts but I cannot solve these:

undefined reference to hw_timer_arm' undefined reference to hw_timer_init’
undefined reference to `hw_timer_set_func’

any clues?
Thanks,

PLATFORMIO.INI
[env:esp12e]
platform = GitHub - platformio/platform-espressif8266: Espressif 8266: development platform for PlatformIO
#lib_extra_dirs = ~/Documents/Arduino/libraries
board = esp12e
src_dir = src/config
src_dir = src/driver
lib_ldf_mode = deep
framework = arduino
upload_speed = 460800
build_flags = -Wp,-fno-threadsafe-statics, -Teagle.flash.4m1m.ld
lib_ignore = IRremoteESP8266

Could you provide a simple project to reproduce this issue?

Hi Ivan

thks for getting back on this. It was a silly mistake actually. I forgot to add hw_timer.c and hw_timer.h files to the project.
Sorry for not updating sooner.

Thanks again,

Horacio