You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 1M (and smaller) builds for ESP826x don't enable f-strings.
I probably shouldn't have used f-strings in aiorepl and just used str.format which is supported on all boards. Raised #689 to fix (you can apply the same fix to the copy of aiorepl.py on your board).
Are there any benefits enabling and using f-strings in comparison to str.format?
@inovatorius I much prefer using f-strings over str.format because it's easier to read/write. But it takes extra code size to support this in the MicroPython firmware, so we don't included it on boards that have smaller flash (like the 1MiB ESP8266). The 2MiB+ ESP8266 firmware does include it.
Hello!
I used the example found here:
https://github.com/micropython/micropython-lib/tree/master/micropython/aiorepl
The text was updated successfully, but these errors were encountered: