Re:Thonny – Python IDE for new to programming
by heywire on Wednesday January 18, 2023 @06:59AM
(#34425704)
I actually only recently became aware of Thonny when working with MicroPython on a Raspberry Pi Pico. It made it really easy to work on a program and execute it on the device. I’ve worked with Arduino and such over the years, but the edit/execute cycle with MicroPython was much quicker. I didn’t do much with it beyond blinking some LEDs, but I came away pretty impressed.
[ Parent
| on HN ]
Re:Thonny – Python IDE for new to programming
by TruthWillHurt on Wednesday January 18, 2023 @07:40AM
(#34425989)
Same here, but had to switch to VS Code very quickly. Thonny is very nice, and nothing does the Py Pico integration better, but too basic I'm afraid.
Re:Thonny – Python IDE for new to programming
by markb139 on Wednesday January 18, 2023 @07:51AM
(#34426062)
I’ve been doing the same, except I went one step further. I’m currently extending Micropython to add a DMA class to the RP2 port.
I can build and debug Micropython via VSCode and use Thonny to write some Python to test.
I could with the setup being a bit quicker (maybe an 8GB pi 4 would help)
Re:Thonny – Python IDE for new to programming
by stinos on Wednesday January 18, 2023 @08:41AM
(#34426485)
debug Micropython via VSCode
On the C source level you mean (and also on-device or rather the unix port or so?)? Or is there already functional Python-level debugging these days (I know there's basic trace module support)?
Re:Thonny – Python IDE for new to programming
by markb139 on Wednesday January 18, 2023 @12:11PM
(#34429528)
Yes, I can set breakpoints in the C code and run the firmware on a Pico.
It’s all running on a Pi4, so it was just a matter of adding the debug pins on the Pico and configuring vscode (instructions followed in docs).
Re:Thonny – Python IDE for new to programming
by matt_trentini on Wednesday January 18, 2023 @06:43PM
(#34434774)
In case you're not aware, there's some promising work on DMA for the rp2 in PR 7641:
Re:Thonny – Python IDE for new to programming
by jennasys on Wednesday January 18, 2023 @03:23PM
(#34432503)
I've had the best experience with Thonny working with MicroPython. I'm amazed at how seamless updating files and even flashing MicroPython on devices like the ESP8266 and Pico is. I do miss the Python coding experience of PyCharm when using it though.