Platformio esp8266 compilation issue - unknown opcode or format name


#1

Hi All,

This is my first post in this forum. I recently got interested in platformio and installed it. I have been using arduino IDE to develop for esp8266 for awhile. I imported working code from the arduino programs I had, and compiled it in platformio. Initially had a lot of issues due to certain libraries not being available. Managed to install all of them and now the following error is given while compiling the program. I am on Windows 10.

.piolibdepsAVR Standard C Time Library_ID800srcset_system_time.c: Assembler messages:
.piolibdepsAVR Standard C Time Library_ID800srcset_system_time.c:46: Error: unknown opcode or format name ‘in’
.piolibdepsAVR Standard C Time Library_ID800srcset_system_time.c:47: Error: unknown opcode or format name ‘cli’
.piolibdepsAVR Standard C Time Library_ID800srcset_system_time.c:52: Error: unknown opcode or format name ‘out’
.pioenvs\nodemcuv2\lib\AVR Standard C Time Library_ID800\set_system_time.o] Error 1

Tried various things, even the google searches ended up giving nothing. Appreciate if anyone could point me in the right direction.

Thanks


#2

You might have better luck asking about PlatformIO-specific questions in venues dedicated to PlatformIO.


#3

Thanks DamnedScholar,

I re-posted it to the Platformio Community.