I've flashed micropython on my STM32F429 discovery board (the one with the LCD) and I get this error while trying to configure the pins:
I've looked on the board definitions and the pin is indeed defined (https://github.com/micropython/micropyt ... 32F429DISC)
Code: Select all
>>> led = Pin(PG13, Pin.OUT) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'PG13' isn't defined
If it matters, I couldn't flash the normal way via dfu, so I converted the dfu file to hex using dfu file manager and then flashed the st link way. I can see the flash storage and connect to repl just fine.