ESP8266 compile error


#1

I get this error : ‘pfstring’ was not declared in this scope; did you mean ‘pstring’?


#2

Funnily enough I encountered this yesterday while experimenting with the ESP8266. Something’s changed in the Arduino Core, causing this.

The solution is to add this line:

void pfstring (PGM_P s, pfun_t pfun);

after the heading:

// Forward references

I’ll release a fixed version soon.


#3

Thanks David,

Now it compiles.
I selected the LOLIN (Wemos) D1 mini pro and try all baudrates with the serial monitor
The best result at 74880baud is this

If i choose the generic ESP8266 at 9600baud it works
Missing the extra flash from the pro now.


#4

I selected the LOLIN (Wemos) D1 mini pro and try all baudrates with the serial monitor

I don’t quite understand what the problem is. Are you saying it won’t work with the “LOLIN (Wemos) D1 mini pro” board option?


#5

Indeed David,

The pro version is not working and I don’t understand the error message


#6

Can you upload Arduino examples, such as “Blink”, OK.

uLisp will only work with the Serial Monitor set to 9600 baud. What happens if you do that?


#7

With the blink from arduino basic examples i get kind of same error message, only with a different checksum, also only at 74880 baud, all other baudrates give unreadable text.


#8

There’s an Upload Speed option on the Tools menu. Try a lower speed, such as 57600. It looks like you’re getting checksum errors (nothing to do with uLisp).

David


#9

No improvement David.

It does succeed to upload at a higher speed for the generic esp8266, so i don’t think that the speed is the reason for the checksum errors.

Frank


#10

David

There were issues with the 16Mb version in the past,
but they are solved since 2017

Frank


#11

As the problem also occurs with Blink it’s a general problem with the Arduino core, so you could report it here:


#12

Will do David,

When it’s solved will post it here.
Thanks for you time and advice

Kind regards,

Frank


#13

The ‘pfstring’ error is fixed in ESP Version 3.6b, available here: Download uLisp


#14