To Paulino:
I'm near Calpe ; I just speak and understand a few things in spanish ; not enough to use it !
I have compiled your very simple ladder and got a ladder.h and 8266.c and 8266.h files.
But these files cannot be used "as is" with this target because there are no external libraries for 8266 under ldmicro
For your example you must at least redefine in 8266.c file:
Read_Ub_Xabre(void)
Read_Ub_Ysalida(void)
Write_Ub_Ysalida(ldBOOL b)
etc
But the way to redefine them depends on the C compiler you want to use to generate hex file ! So your question has no simple answer !
You may try to compile your ladder to "C for Arduino" in ldmicro ; It'll give you a 8266.cpp file which may be usable with Arduino, which supports 8266 target.
I can't try further more because I don't have any 8266 board.
But there are many tutos about it, like:
https://www.fais-le-toi-meme.f...ecutes-sur-esp8266-arduino-ide
Best regards
José