Windows development enviroment/IDE?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Windows development enviroment/IDE?

Post by jimmo » Thu Apr 23, 2020 1:12 am

I try to spend as little time as possible during development actually running code on the board, and instead try and get it working on my PC before copying it over.

There are two ways here:
- Use the Unix or Windows ports of MicroPython. There's still no debugging, but at least your development cycle is a LOT faster.
- Use CPython, then you can use the debugger (pdb).

Now of course the big limitation here is that you have to mock/stub out all the hardware APIs but...that's probably a good idea for writing tests anyway.

Post Reply