JetBrains / intellij-micropython

Plugin for MicroPython devices in PyCharm and IntelliJ
https://plugins.jetbrains.com/plugin/9777-micropython
Apache License 2.0
503 stars 106 forks source link

No print output - Bug Report PyCharm - works in Thonny #187

Closed Gary374 closed 2 years ago

Gary374 commented 2 years ago
PyCharm Run:Congigoration Screen Shot 2022-03-28 at 3 51 45 PM
ampetelin commented 2 years ago

@Gary374 Do you mean that after the firmware you do not see the information displayed using the print command?

I expected this behavior too, but it seems that after flashing the plugin does not automatically connect to the serial port. I could not find such a setting.

The only solution I found is to connect to the chip with: Tool -> MicroPython -> MicroPython REPL.

However, starting a REPL shell interrupts the execution of the loaded script. After closing the REPL shell (Ctrl+D), a soft reboot is performed and we can see the information displayed using the print command. But it's not very convenient :( 2022-04-12_13-33

Maybe I'm wrong and the necessary functionality is present, but I did not find it.

Gary374 commented 2 years ago

Hi Andrew,

Thank you for you reply. The context is different I believe. It appears you are using an ESP32, mine is RP2040 - Pico. I have tried everything including Tools/Reble setting, sadly I have given up, moved to to Pi Zero 2 W

Thanks

Gary