Search found 646 matches

by jimmo
Sun Jul 21, 2019 7:55 am
Forum: Development of MicroPython
Topic: Adding modules to Micropython and en/disabling them in menuconfig
Replies: 3
Views: 254

Re: Adding modules to Micropython and en/disabling them in menuconfig

Hi,

Is it possible you're using the Loboris fork? I think that's where BUILD.sh and menuconfig come from?

In either case, USER_C_MODULES is part of the upstream MicroPython (i.e. https://github.com/micropython/micropython), and is unrelated to ESP32 components.
by jimmo
Sat Jul 20, 2019 11:58 am
Forum: ESP8266 boards
Topic: Creating larger ROMs
Replies: 21
Views: 908

Re: Creating larger ROMs

I am not sure if there is another limit I may run into, but MicroPython does run correctly with the larger ROM. I still need to complete what I had planned, but I feel confident that the assumption about the limit seems to be mistaken. The assumption was based on the memory map I looked at that onl...
by jimmo
Sat Jul 20, 2019 11:50 am
Forum: ESP8266 boards
Topic: Creating larger ROMs
Replies: 21
Views: 908

Re: Creating larger ROMs

I am not sure if there is another limit I may run into, but MicroPython does run correctly with the larger ROM. I still need to complete what I had planned, but I feel confident that the assumption about the limit seems to be mistaken. The assumption was based on the memory map I looked at that onl...
by jimmo
Sat Jul 20, 2019 1:11 am
Forum: General Discussion and Questions
Topic: Port micropython to NXP's MCU
Replies: 2
Views: 273

Re: Port micropython to NXP's MCU

It's an M7, so at least toolchain-wise it's similar to STM32. Probably start with the minimal port (micropython/ports/minimal). You'll have to change the STM32 specific stuff but it's written so as to avoid any dependencies. You can use whatever HAL is provided by NXP to implement the required board...
by jimmo
Fri Jul 19, 2019 8:21 am
Forum: General Discussion and Questions
Topic: Neo pixel
Replies: 5
Views: 280

Re: Neo pixel

Oh yeah, completely agree!! Definitely go with the ESP32 (or Pyboard D, if you're using DotStars). Most of my experience with this was before before the ESP32 was widely available.

Also I'm a really big believer in the sunk cost fallacy and have a drawer full of ESP8266s :p
by jimmo
Fri Jul 19, 2019 7:07 am
Forum: ESP8266 boards
Topic: Corrupt file stops boot
Replies: 2
Views: 149

Re: Corrupt file stops boot

Does your code write to the filesystem during normal operation? Was there possibly a power outage (or if it's battery powered, a low battery state) that coincides with the corruption?
by jimmo
Fri Jul 19, 2019 2:16 am
Forum: Programs, Libraries and Tools
Topic: LCD Problems
Replies: 4
Views: 309

Re: LCD Problems

I don't understand the initialization sequence. The external reset is low, then high, then low? Or the other way around? For how long? This is a fairly typical "active low" reset line. You can use it from software to force the device into a known state. The RST line is "active low" which means it w...
by jimmo
Thu Jul 18, 2019 9:57 pm
Forum: General Discussion and Questions
Topic: Neo pixel
Replies: 5
Views: 280

Re: Neo pixel

In addition to the ESP32, the ESP8266 and micro:bit have built-in neopixel drivers. I strongly prefer DotStars leds instead (APA102) because they don't require a driver, as long as your board supports SPI you can use them. (Which is every board). Also you can transmit data to them at a higher rate (...
by jimmo
Thu Jul 18, 2019 9:28 pm
Forum: MicroPython pyboard
Topic: ADC measure negative voltage??
Replies: 23
Views: 1002

Re: ADC measure negative voltage??

If the filesystem isn't suitable, then you might find this uesful

viewtopic.php?f=12&t=6679
by jimmo
Thu Jul 18, 2019 1:14 am
Forum: General Discussion and Questions
Topic: keep wifi and umqttsimple "alive"? (beginner question)
Replies: 7
Views: 326

Re: keep wifi and umqttsimple "alive"? (beginner question)

Hi, Sorry I don't have a great answer to your main question. The topic of ensuring that the WiFi stays connected has been discussed a bit in the forum before, but I think it remains a bit of a tricky problem. I haven't looked in any detail myself though. One thing that might be worth checking out is...