Search found 1938 matches

by jimmo
Fri Oct 23, 2020 11:30 am
Forum: General Discussion and Questions
Topic: Issue with a timer callback
Replies: 5
Views: 138

Re: Issue with a timer callback

pipponefrancone wrote:
Fri Oct 23, 2020 8:53 am
I would also like to ask another question about timers, should I add it here or crate a new thread?
Probably best make a new thread.
by jimmo
Fri Oct 23, 2020 12:16 am
Forum: General Discussion and Questions
Topic: Disabling Flash file system
Replies: 7
Views: 170

Re: Disabling Flash file system

OK I took a slightly closer look. I suspect the issue you're seeing is usbd_msc_interface.c which expects to be able to make the internal flash available over USB MSC. The simple option is to disable MSC (which you likely don't want anyway?) via MICROPY_HW_USB_MSC. Perhaps if you felt like sending a...
by jimmo
Fri Oct 23, 2020 12:10 am
Forum: General Discussion and Questions
Topic: Disabling Flash file system
Replies: 7
Views: 170

Re: Disabling Flash file system

When I build with internal flash storage disabled this also causes MICROPY_HW_ENABLE_STORAGE to become undefined and this causes a problem because pyb_flash_type is being referenced in the code but now is conditionally compiled out, along with its related functions at least one of which is being ca...
by jimmo
Thu Oct 22, 2020 11:57 pm
Forum: micro:bit boards
Topic: BBC micro:bit v2
Replies: 13
Views: 450

Re: BBC micro:bit v2

I think that the community can help develop a nRF MicroPython port for BBC micro:bit v2 with full Bluetooth support, interrupts, timers, etc. Yep. I hope so. It would be also good to investigate the capabilities of the DAPLink chip on the v2... now that it's connected via I2C to the nRF (in additio...
by jimmo
Thu Oct 22, 2020 6:37 am
Forum: micro:bit boards
Topic: Using the embedded debugger
Replies: 1
Views: 53

Re: Using the embedded debugger

Any way to use it in micropython (ideally with some kind of GUI like with VS Code - whether that is using GDB underneath with some kind of remote attach or whatever)? I think it would be amazing for teaching students (both high school and university). We currently do this with Atmel Studio on SAMD ...
by jimmo
Thu Oct 22, 2020 6:32 am
Forum: micro:bit boards
Topic: BBC micro:bit v2
Replies: 13
Views: 450

Re: BBC micro:bit v2

Ok can you enumerate some of the differences between the way it will work for nrf52840 upstream vs microbit? What are some functions that are different compared to the docs here: https://docs.micropython.org/en/latest/ Will interrupts and timers be exposed? As someone who works with high schools, I...
by jimmo
Wed Oct 21, 2020 10:57 pm
Forum: ESP8266 boards
Topic: running light always stops briefly
Replies: 1
Views: 60

Re: running light always stops briefly

There were some issues with PWM on ESP8266 that would explain this -- see https://github.com/micropython/micropython/issues/5965 and https://github.com/micropython/micropython/pull/5966 but this was apparently fixed before v1.13 was released. I assume this works completely fine if you just use the p...
by jimmo
Wed Oct 21, 2020 10:53 pm
Forum: ESP32 boards
Topic: ESP32 ADXL345 (accelerometer) SPI
Replies: 3
Views: 96

Re: ESP32 ADXL345 (accelerometer) SPI

First thing I don't understand reading others code is why and when while reading and writing to the device the buffers must be compared with 0x40 and 0x80. Is this an SPI rule? It seems to me every piece of code have a different approach to this. Just looking at a snippet from one of the threads yo...
by jimmo
Wed Oct 21, 2020 10:50 pm
Forum: Development of MicroPython
Topic: git-flow extension for developers
Replies: 8
Views: 240

Re: git-flow extension for developers

It ideal for 'One developer' -> 'One pull request' -> 'One acceptor into master thread'. How do several developers work under one task/issue? He must make its own Pull Request to the forked repository or to the upstream https://github.com/micropython/micropython ? If it's one task/issue then it's s...