Search found 2072 matches

by jimmo
Thu Nov 19, 2020 10:48 pm
Forum: General Discussion and Questions
Topic: Flash MicroPython on STM32F411CCU6 ?
Replies: 3
Views: 1038

Re: Flash MicroPython on STM32F411CCU6 ?

I managed to flash my STM32F411CEU6 and started to experiment with it. But my question is if anyone managed to flash MicroPython to STM32F411CCU6 ? Where did you get the STM32F411CEU6 firmware from? It should be a relatively simple modification to mpconfigboard.h / mpconfigboard.mk to update it for...
by jimmo
Thu Nov 19, 2020 10:46 pm
Forum: ESP32 boards
Topic: Cross compiling Micropython from GITHUb source -errors
Replies: 21
Views: 2585

Re: Cross compiling Micropython from GITHUb source -errors

RobinMosedale wrote:
Thu Nov 19, 2020 1:26 pm
otherwise menuconfig won't work
FWIW, menuconfig shouldn't be required at all to do anything with MicroPython.
by jimmo
Thu Nov 19, 2020 10:45 pm
Forum: micro:bit boards
Topic: Connecting external grove button to Microbit
Replies: 1
Views: 1045

Re: Connecting external grove button to Microbit

I'm trying to connect an external grove button to the microbit. How can I code it in python to get it to work so that when you press it once, the neopixels glow a white light and then if you press it again it turns off? The simplest way to do this is if you're not also using the onboard "A" and "B"...
by jimmo
Thu Nov 19, 2020 10:37 pm
Forum: MicroPython pyboard
Topic: Max current out of 3V3?
Replies: 3
Views: 1081

Re: Max current out of 3V3?

I feel like this question must be answered somewhere, but I've been looking for some time now with no success: what is the max current that can be safely supplied by each of the 3V3 pins of the pyboard 1.1? Hi, Are you asking how much current can each of the GPIO pins source, or the 3.3 power pins?...
by jimmo
Wed Nov 18, 2020 2:48 am
Forum: Other Boards
Topic: [STM32F407VGT6] Board HELP!
Replies: 11
Views: 2448

Re: [STM32F407VGT6] Board HELP!

USB comes up as ID 0483:5720 STMicroelectronics Mass Storage Device, not a tty port. Don't really know what FW is on it. If it's the board you linked to then the process is to get it into the ST Bootloader (short the BOOT0 pin to Vcc before powering the board), then you can use a DFU programing too...
by jimmo
Wed Nov 18, 2020 2:36 am
Forum: General Discussion and Questions
Topic: build stm32 port (fatal error)
Replies: 2
Views: 671

Re: build stm32 port (fatal error)

help me !!! Thank you Ooops, this was broken in a recent change. I've just sent a PR to fix this -- https://github.com/micropython/micropython/pull/6629 In the meantime, you can either modify ports/stm32/rfcore.c to remove that line that includes "nimble/nimble_npl.h" (you don't need it unless you'...
by jimmo
Tue Nov 17, 2020 12:46 pm
Forum: ESP32 boards
Topic: Multithreading problem
Replies: 2
Views: 745

Re: Multithreading problem

atmuc wrote:
Tue Nov 17, 2020 11:21 am
is this normal?
Even though the ESP32 is dual-core, MicroPython only uses one of the cores.
by jimmo
Tue Nov 17, 2020 1:31 am
Forum: ESP32 boards
Topic: Cross compiling Micropython from GITHUb source -errors
Replies: 21
Views: 2585

Re: Cross compiling Micropython from GITHUb source -errors

Do the build yourself from scratch, ab initio as it were. Scrape your screens and send them to me. Happy head banging I build the ESP32 several times per week using exactly the instructions in ports/esp32/README.md I use Arch Linux not Ubuntu / Debian, but I don't think there should be a substantia...
by jimmo
Mon Nov 16, 2020 11:40 pm
Forum: ESP32 boards
Topic: Timer Interrupt Priority
Replies: 8
Views: 676

Re: Timer Interrupt Priority

ESP32 just doesn't have very good support for low-latency operations. What I suspect is happening here is that the scheduler isn't getting a change to run because of some quirks with the way sleep works on ESP32. Perhaps instead of time.sleep() you could use a loop that runs until a certain amount o...
by jimmo
Mon Nov 16, 2020 11:38 pm
Forum: ESP32 boards
Topic: Cross compiling Micropython from GITHUb source -errors
Replies: 21
Views: 2585

Re: Cross compiling Micropython from GITHUb source -errors

You may well ask why I haven't followed the usual route of invoking source - install.h and export.sh, they open and fail. I'm sorry this isn't working for you! I completely agree too, it's awful and complicated in a way that does seem unnecessary, but unfortunately MicroPython on ESP32 is a bit of ...