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
I've built a firmware for ESP32 C6 MINI 1, and everything looks good except on first connection with mpremote I have a SyntaxError msg:
$ mpremote
Connected to MicroPython at /dev/ttyACM0
Use Ctrl-] or Ctrl-x to exit this shell
icroPython v1.2
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> MicroPython v1.2
As you can see, if I recall the last command from history, it looks like the welcome message has been sent to the buffer.
The only way I found to not have this error, is to call mpremote with soft-reset (which is more or less a two times connection):
$ mpremote soft-reset repl
Connected to MicroPython at /dev/ttyACM0
Use Ctrl-] or Ctrl-x to exit this shell
>
MicroPython v1.25.0-preview.57.g9ebdf1b66.dirty on 2025-04-29; ESP32_C6_MINI_1 with ESP32-C6FH4
Type "help()" for more information.
>>>
On this one, nothing is in the command history.
$ idf.py --version
ESP-IDF v5.2.2
My configuration files for the firmware:
$ cat boards/ESP32_C6_MINI1/board.json
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi There,
I've built a firmware for ESP32 C6 MINI 1, and everything looks good except on first connection with mpremote I have a SyntaxError msg:
As you can see, if I recall the last command from history, it looks like the welcome message has been sent to the buffer.
The only way I found to not have this error, is to call mpremote with soft-reset (which is more or less a two times connection):
On this one, nothing is in the command history.
My configuration files for the firmware:
$ cat boards/ESP32_C6_MINI1/board.json
$ cat boards/ESP32_C6_MINI1/manifest.py
$ cat boards/ESP32_C6_MINI1/mpconfigboard.cmake
$ cat boards/ESP32_C6_MINI1/mpconfigboard.h
$ cat boards/ESP32_C6_MINI1/sdkconfig.board
Beta Was this translation helpful? Give feedback.
All reactions