Search found 127 matches

by prem111
Tue Feb 23, 2021 7:22 am
Forum: ESP32 boards
Topic: 2 core enable in esp32.
Replies: 4
Views: 2277

2 core enable in esp32.

Is it possible to safely enable 2 core in esp32 in the latest version 1.14? The shutdown was due to a problem with ble init, in esp-idf 4.2 I see that it already works, can I turn it on without fear?
by prem111
Mon Feb 22, 2021 6:07 pm
Forum: General Discussion and Questions
Topic: Force damage partition.
Replies: 2
Views: 1308

Force damage partition.

How to force intentional damage to partition or fs corrupt? I need for tests. Thanks.
by prem111
Sun Feb 21, 2021 11:03 am
Forum: Development of MicroPython
Topic: 1.14 or 1.13 - import libs is slower than 1.12 ? (test)
Replies: 8
Views: 4707

Re: 1.14 or 1.13 - import libs is slower than 1.12 ? (test)

Ok, there was a problem here, fat works much faster. I haven't noticed that as of 1.13, littlefs is created by default. Thank you for your answer.
by prem111
Sun Feb 21, 2021 11:01 am
Forum: General Discussion and Questions
Topic: import default ?
Replies: 2
Views: 1257

Re: import default ?

Everything is clear, thank you for your answer and help!
by prem111
Sat Feb 20, 2021 1:18 pm
Forum: Development of MicroPython
Topic: 1.14 or 1.13 - import libs is slower than 1.12 ? (test)
Replies: 8
Views: 4707

Re: 1.14 or 1.13 - import libs is slower than 1.12 ? (test)

I noticed that the more files there are (even without imports) in the filesystem, the slower it works
by prem111
Sat Feb 20, 2021 11:46 am
Forum: General Discussion and Questions
Topic: import default ?
Replies: 2
Views: 1257

import default ?

When I have frozen code in firmware, in main.py file on / flash I will do an import, import from frozen code, how to "force" to load from / first, and when it is not there with firmware? Thanks.
by prem111
Sat Feb 20, 2021 8:35 am
Forum: General Discussion and Questions
Topic: BLE init long time problem.
Replies: 6
Views: 2945

Re: BLE init long time problem.

How to fix this problem in v.1.12? Is the only solution to going to core 0? (sometimes I have a crash panic) I noticed that in the latest 1.14 for esp32 there is "MicroPython and NimBLE tasks to core 0" How can you do that only when bluetooth is on?
by prem111
Fri Feb 19, 2021 6:48 pm
Forum: Development of MicroPython
Topic: 1.14 or 1.13 - import libs is slower than 1.12 ? (test)
Replies: 8
Views: 4707

Re: 1.13 - import libs is slower than 1.12 ?

in version 1.13 or 1.14 it is just as slower when importing the same libraries. nobody suggested that it was faster on 1.12? v.1.12: >>> time.ticks_ms();import uasyncio;time.ticks_ms() 2008736 2008754 sys.path.append('libs') >>> time.ticks_ms();from system_devices import *;time.ticks_ms() 2068585 20...
by prem111
Thu Feb 11, 2021 2:32 pm
Forum: General Discussion and Questions
Topic: Update *.py files.
Replies: 3
Views: 1450

Re: Update *.py files.

Thanks. I have one more question. If we have the same files, eg "ctrl.py" in the firmware (frozen) and in the filesystem, is it possible to force it to use ctrl.py with the firmware?
by prem111
Thu Feb 11, 2021 6:42 am
Forum: General Discussion and Questions
Topic: Update *.py files.
Replies: 3
Views: 1450

Update *.py files.

My project is based on communication between the phone and ESP32 (miropython) via bluetooth. I have all my software compiled in frozen code on micropython firmware. I plan to implement updating files on esp32 from the phone via BLE. The basic question is whether to update individual files or all at ...