Search found 11 matches

by CarlFK
Mon Sep 27, 2021 1:00 am
Forum: General Discussion and Questions
Topic: where is #MicroPython
Replies: 1
Views: 1195

where is #MicroPython

https://micropython.org/contact/ The IRC channel irc://freenode/micropython

given feenode implode[1], has a new #channel been set up? if not, libre.chat seems to be the obvious choice.

[1] https://gist.github.com/joepie91/df80d8 ... 8af497409/
by CarlFK
Sun Sep 26, 2021 4:55 pm
Forum: General Discussion and Questions
Topic: x86 boot uPy
Replies: 0
Views: 852

x86 boot uPy

Lilo, and grub are linux boot loaders, Windows installs something, and MemTest86 is something that can be booted from a floppy without an OS layer. These are all things the cpu can run without an OS. how would I go about building uPy to be run "like that" on an x86 I am hoping someone has already fi...
by CarlFK
Sat Sep 25, 2021 11:53 pm
Forum: Development of MicroPython
Topic: Building for STM32 on Linux
Replies: 9
Views: 20562

Re: Building for STM32 on Linux

about a year ago we got mPy to build on Windows using the WSL - which gets you a Linux compatible shell where you can then follow the instructions for building on Linux. I have also vetted some docs for building things (FPGA tools) using native windows tools, I can see the advantages, but it was way...
by CarlFK
Sat Sep 25, 2021 11:40 pm
Forum: General Discussion and Questions
Topic: Any clever ways to set up pins
Replies: 4
Views: 2230

Re: Any clever ways to set up pins

I have done 'this' but I am hesitant to say it is what you want. https://github.com/evezor/Edge_Boards has the code that sets up pins: { "name": "button_0", "type": "button", "pin": "D11", "old": null }, https://github.com/evezor/Edge_Boards/blob/master/boards/edges/b3/manifest.json#L7-L12 if parame...
by CarlFK
Wed Sep 23, 2020 10:14 pm
Forum: Other Boards
Topic: [ADAFRUIT_F405_EXPRESS] mkfs
Replies: 3
Views: 3066

Re: [ADAFRUIT_F405_EXPRESS] mkfs

Trying to clean up the fs, files are still here: carl@twist:~/src/evezor/Edge_Boards/poc$ ls /media/carl/PYBFLASH b2.py bundle.py driver.py main.py mapo.json zorg.py board.py commission.json edge.py manifest.json ocan.py carl@twist:~/src/evezor/Edge_Boards/poc$ pumount /media/carl/PYBFLASH MicroPyth...
by CarlFK
Wed Sep 23, 2020 8:21 pm
Forum: Other Boards
Topic: [ADAFRUIT_F405_EXPRESS] struct.pack doesn't error on overflow
Replies: 3
Views: 3259

Re: [ADAFRUIT_F405_EXPRESS] struct.pack doesn't error on overflow

https://github.com/micropython/micropython/issues/6477 I am trying to port that commit now: git fetch https://github.com/adafruit/circuitpython git cherry-pick 095c844004bcd8680a4bf68901adbd9cac6a4302 4 patch fails, trying to resolve them. Which is tricky as the starting point has subtle changes lik...
by CarlFK
Tue Sep 22, 2020 9:24 pm
Forum: Other Boards
Topic: [ADAFRUIT_F405_EXPRESS] struct.pack doesn't error on overflow
Replies: 3
Views: 3259

[ADAFRUIT_F405_EXPRESS] struct.pack doesn't error on overflow

I am guessing this is to save space, but the result is I have to write more python code, which may take up more space. Or maybe it is an over site. Can someone help me track down how CP implements this so i can look at the cosponsoring MP code that is around here: https://github.com/micropython/micr...
by CarlFK
Sun Sep 13, 2020 9:38 pm
Forum: Other Boards
Topic: [ADAFRUIT_F405_EXPRESS] mkfs
Replies: 3
Views: 3066

[ADAFRUIT_F405_EXPRESS] mkfs

How do I fix a corrupted fs? I have this: import os, pyb flash = pyb.Flash() os.umount('/flash') os.VfsFat(flash) os.mount(flash, '/flash') I suspect I need to unmount it from the OS first, but I'd like some expert advice on this as I seem to be floundering on my own. I am also curious why it is get...
by CarlFK
Sun Sep 13, 2020 8:54 pm
Forum: Other Boards
Topic: [ADAFRUIT_F405_EXPRESS] enable (more) flash
Replies: 3
Views: 3011

[ADAFRUIT_F405_EXPRESS] enable (more) flash

summary: how do I enable the 2mb spi? I suspect the follow up question: will someone port CPs implementation? I have https://learn.adafruit.com/adafruit-stm32f405-feather-express which says: 2 MB SPI Flash chip if I understand my history, 2mb was added after this: https://github.com/micropython/micr...
by CarlFK
Sun Aug 16, 2020 10:13 pm
Forum: Other Boards
Topic: [ADAFRUIT_F405_EXPRESS] neopixel port advice
Replies: 14
Views: 12784

Re: [ADAFRUIT_F405_EXPRESS] neopixel port advice

Thanks for looking into this.

So A) it has to be bit banged, but B) that is how CircuitPython does it, so C) the code and timing are all there, right?

(I did load up CP and do a few tests to make sure it worked.)