So managed to get my hands on one of these. I added a SPI flash, setup a virtual debian and managed to flash the board.
All was fine but ran into some issues that I believe are related to the the pin naming, I have been searching the internet for answers but cant get anywhere. So the issue is trying to use machine (most probably also everywhere else). So trying to toggle the internal led gets me nowhere using "machine" but "pyb" works, meaning:
Code: Select all
MicroPython v1.13-243-g032e09562 on 2020-12-09; WeAct F411CE with STM32F411CE
Type "help()" for more information.
>>> import pyb
>>> led = pyb.LED(1)
>>> led.on()
>>> led.off()
Code: Select all
MicroPython v1.13-243-g032e09562 on 2020-12-09; WeAct F411CE with STM32F411CE
Type "help()" for more information.
>>> import machine
>>> pin = machine.Pin(PC13, machine.Pin.OUT)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'PC13' isn't defined
>>> pin = machine.Pin(C13, machine.Pin.OUT)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'C13' isn't defined
>>> pin = machine.Pin(2, machine.Pin.OUT)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can't convert 'int' object to str implicitly
>>>
Maybe the pin numbers are derived from the X and Y from pyboard?
If someone could nudge me to the correct direction it would be most helpful.