I am using a Raspberry Pico and until now I have used Thonny for writing my code. Now I wanted to test PyCharm but I can't get a program that is not named main.py to run. So when I click on "flash main.py" it works and the pico executes the code. But when I name the file anything else (e.g. like blink.py) and then flash it, it doesn't work. When I flash the same file using Thonny it works, so it can't be the code I guess. Does anybody have any ideas what that could be? Or am I doing something wrong in PyCharm?
Thanks!