Search found 9 matches

by RDA
Mon Dec 28, 2020 7:27 pm
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 79
Views: 168745

Re: WeAct STM32F411CEU6 black pill

The command help('modules') will show you the modules which are built into the firmware: >>> help('modules') __main__ micropython uasyncio/stream urandom _onewire network ubinascii ure _uasyncio onewire ucollections uselect builtins pyb uctypes usocket cmath stm uerrno ustruct dht uarray uhashlib u...
by RDA
Tue Dec 15, 2020 7:16 pm
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 79
Views: 168745

Re: WeAct STM32F411CEU6 black pill

Sorry Im learning as I go and thank you for the message. So I was not trying to look what files are in the file system but what modules can be used. As looking around the big ol internet, people say little file system is a lot more robust than fat, I was hoping to convert into using lfs or probably ...
by RDA
Tue Dec 15, 2020 8:36 am
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 79
Views: 168745

Re: WeAct STM32F411CEU6 black pill

If possible, could someone please help on where to look in building a firmware that includes LFS? Again not sure but the above dir(os) should return also LFS if installed? Looking at the build-WEACT_F411CEU6/extmod/ I can see LFS files. I assume I would need to edit the makefile or copy/move the LFS...
by RDA
Fri Dec 11, 2020 10:15 pm
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 79
Views: 168745

Re: WeAct STM32F411CEU6 black pill

You can switch off USB mass storage in boot.py See: http://docs.micropython.org/en/latest/pyboard/tutorial/usb_mouse.html I think littlefs also doesn’t work with USB mass storage, only fat, so you could try reformatting it. Anyone else able to confirm this? ESP ports don’t have USB mass storage sup...
by RDA
Fri Dec 11, 2020 8:10 pm
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 79
Views: 168745

Re: WeAct STM32F411CEU6 black pill

I have had just a small dive into uPython and I rellay like it. So a combination of windows, blackpill as a "usb storage" and me fooling around got me to corrupt the files pretty quickly (based on google im not alone). For testing purposes it doesnt really matter much, as I can test the things I wan...
by RDA
Wed Dec 09, 2020 7:17 pm
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 79
Views: 168745

Re: WeAct STM32F411CEU6 black pill

The pin name should be specified as string, like: pin = machine.Pin("C13", machine.Pin.OUT) Without the quotes, you'd need to use something like machine.Pin.cpu.C13 You can find all of the defined pins by using: dir(machine.Pin.cpu) or dir(machine.Pin.board) The mapping is provided by the pins.csv ...
by RDA
Wed Dec 09, 2020 11:41 am
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 79
Views: 168745

Re: WeAct STM32F411CEU6 black pill

Hello, 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...
by RDA
Sun Dec 06, 2020 7:27 pm
Forum: Other Boards
Topic: [Blackpill STM32F407 / SZM32F411] Available Flash Memory for Programs
Replies: 8
Views: 7579

Re: [Blackpill STM32F407 / SZM32F411] Available Flash Memory for Programs

This looks like a really cool option and personally I think the option to choose your memory size by adding your "own" is great. As for compiling the code, I assume its a linux "only"? Or would it compile on windows with gcc-arm? As you probably guessed, im not really experieced with this. I put a s...
by RDA
Fri Oct 30, 2020 10:36 am
Forum: General Discussion and Questions
Topic: Micropython Language for VS Code
Replies: 7
Views: 7914

Re: Micropython Language for VS Code

Hello, I have been using ESP boards with arduino IDE and now Im trying out micropython. I have tried to setup an ESP32 to work in VS Code (win10) but I have ran into issues with linting. I am unable to example import 'machine'. "import machine" results in "Unable to import 'machine' pylint(import-er...