Thanks Dan
First I tried compiling with your platform ini. Compile still fails with:-
xtensa-lx106-elf-g++: internal compiler error: Aborted (program as)
Please submit a full bug report,
Then I used your firmware & spiffs uploaded with this command
esptool.py write_flash 0x000000 firmware.bin 0x7B000 spiffs.bin
Sadly the ESP starts ok but then resets.
EmonESP 12884640
Firmware: 2.3.1
Starting APScan: 10 networks found
AP IP Address: 192.168.4.1
Server started
Commencing factory reset.
ÿactory reset complete! Resetting...
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
vbb28d4a3
~ld
I then re-flashed the ESP with timer branch precompiled firmware and spiffs and that works perfectly.
I can only conclude something is still not quite right with EmonTx branch of the ESP software.