Search found 791 matches

by jimmo
Fri Sep 13, 2019 12:48 am
Forum: General Discussion and Questions
Topic: Help Porting minimal to aarch64 armv8
Replies: 2
Views: 152

Re: Help Porting minimal to aarch64 armv8

Hi,

Can I get some more information about what you've done?

Which version and distribution of aarch64-gcc are you using?

Did you set CROSS=1

Did you change CFLAGS_CORTEX_M4 with the relevant settings for a53?

What do you mean by the elf was empty? Like actually a zero byte file?
by jimmo
Thu Sep 12, 2019 9:42 pm
Forum: ESP32 boards
Topic: bluetooth on esp32
Replies: 19
Views: 2313

Re: bluetooth on esp32

https://github.com/micropython/micropython/pull/5051 -- PYBD any day now. ESP32 soon (although we might wait to move to ESP-IDF 4.0).
by jimmo
Thu Sep 12, 2019 11:42 am
Forum: MicroPython pyboard
Topic: Install original windows driver
Replies: 7
Views: 477

Re: Install original windows driver

Just saw this post on Scott Hanselman's blog, might be useful -- https://www.hanselman.com/blog/HowToFix ... ndows.aspx
by jimmo
Thu Sep 12, 2019 8:43 am
Forum: General Discussion and Questions
Topic: Private const() variables aren't defined
Replies: 8
Views: 285

Re: Private const() variables aren't defined

Shouldn't the same explanation apply to this too? If _B="hi" works then I would expect it to work with const too. This optimisation exists purely to save memory - the const() variables starting with underscores don't even exist, their value just gets substituted at compile time. But when you're not...
by jimmo
Thu Sep 12, 2019 8:26 am
Forum: MicroPython pyboard
Topic: SPI hardware NSS
Replies: 7
Views: 279

Re: SPI hardware NSS

carl0s wrote:
Thu Sep 12, 2019 8:05 am
Is that the STM32 reference manual?
Yup, the F405 ref manual.
by jimmo
Thu Sep 12, 2019 6:42 am
Forum: General Discussion and Questions
Topic: Private const() variables aren't defined
Replies: 8
Views: 285

Re: Private const() variables aren't defined

This is because you're running this in the REPL. There's a neat optimisation that MicroPython does to save memory based on hte convention that variables starting with _ are "private". So they will only apply to the scope of the current module being compiled. Each statement executed on the REPL kind ...
by jimmo
Wed Sep 11, 2019 2:01 pm
Forum: MicroPython pyboard
Topic: Does pyboard use RTC pin as GPIO
Replies: 5
Views: 234

Re: Does pyboard use RTC pin as GPIO

Are you using HSI or HSE?

Also, which pyboard do you have? I'm guessing that because Pin('PC14') worked, you have PYBLITE1.0?
by jimmo
Wed Sep 11, 2019 12:19 pm
Forum: ESP32 boards
Topic: ESP32-cam error( Can't build MicroPython firmware)
Replies: 7
Views: 365

Re: ESP32-cam error( Can't build MicroPython firmware)

Have you done the step "Clone the esp32-camera-for-micropython repository under ESP-IDF components sub-directory" from that wiki you linked to?
by jimmo
Wed Sep 11, 2019 11:06 am
Forum: ESP32 boards
Topic: ESP32-cam error( Can't build MicroPython firmware)
Replies: 7
Views: 365

Re: ESP32-cam error( Can't build MicroPython firmware)

What is modcamera.c ? Is this your own module or a different fork of MicroPython?
by jimmo
Wed Sep 11, 2019 5:36 am
Forum: ESP32 boards
Topic: UART answer in 2ms
Replies: 11
Views: 402

Re: UART answer in 2ms

Are you using UART.irq to detect the incoming data?