Search found 127 matches

by prem111
Wed Oct 28, 2020 6:59 pm
Forum: Development of MicroPython
Topic: 1.14 or 1.13 - import libs is slower than 1.12 ? (test)
Replies: 8
Views: 4696

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

Hi. I noticed that the library imports slower in version 1.13. What is it caused by? I am using the unstable version. 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 2069417 v...
by prem111
Tue Sep 08, 2020 8:25 am
Forum: General Discussion and Questions
Topic: BLE init long time problem.
Replies: 6
Views: 2944

Re: BLE init long time problem.

Oh ok, I haven't noticed that latest master is already core = 0 ok thanks.
by prem111
Tue Sep 08, 2020 8:11 am
Forum: General Discussion and Questions
Topic: BLE init long time problem.
Replies: 6
Views: 2944

Re: BLE init long time problem.

Ok, then what to do to use version 1.13 without this problem, compile the latest master but with or without pinned MP to core 0?
by prem111
Tue Sep 08, 2020 7:40 am
Forum: General Discussion and Questions
Topic: BLE init long time problem.
Replies: 6
Views: 2944

Re: BLE init long time problem.

Im have 1.13 (MP_TASK_COREID to code 0) with idf 4.0, Sometimes there is this problem, sometimes it is not...
by prem111
Tue Sep 08, 2020 6:44 am
Forum: Development of MicroPython
Topic: Build 1.12 with ESP-IDF 4.1 stable.
Replies: 3
Views: 2829

Re: Build 1.12 with ESP-IDF 4.1 stable.

Ok thanks, but i have next problem in 1.12 and 1.13 is the same: In file included from modnetwork.c:48:0: /root/micropython-1.13/ports/esp32/esp-idf//components/tcpip_adapter/include/tcpip_adapter.h:15:2: error: #warning "This header is deprecated, please use new network related API in esp_netif.h" ...
by prem111
Mon Sep 07, 2020 7:09 pm
Forum: Development of MicroPython
Topic: Build 1.12 with ESP-IDF 4.1 stable.
Replies: 3
Views: 2829

Build 1.12 with ESP-IDF 4.1 stable.

How build micropython with ESP-IDF 4.1 stable, im give error: make BOARD=GENERIC_SPIRAM kconfiglib.KconfigError: /root/micropython-1.12/ports/esp32/esp-idf/Kconfig:166: '$COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE' not found (in 'source "$COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE"'). Check that environ...
by prem111
Tue Aug 18, 2020 2:59 pm
Forum: General Discussion and Questions
Topic: BLE init long time problem.
Replies: 6
Views: 2944

BLE init long time problem.

BLE initializes sometimes for 2 seconds and sometimes more than 10. Does anyone know the solution to this problem?

micropython 1.12 / esp-idf 4.0

https://github.com/micropython/micropy ... sues/5489
by prem111
Sat Aug 15, 2020 8:04 pm
Forum: General Discussion and Questions
Topic: Update *.py files via BLE.
Replies: 1
Views: 1261

Update *.py files via BLE.

I would like to implement the ability to update *.py files. Being connected via BLE (esp32) How to solve it most safely? create tmp.py -> add content -> check checksum -> delete old.py -> rename tmp.py to new.py ? are there better ways?
by prem111
Tue Aug 11, 2020 4:59 pm
Forum: ESP32 boards
Topic: ADC2 read ?
Replies: 0
Views: 1245

ADC2 read ?

Hi, can possible read value from ADC2 pins (for gpio 2)?

im added in machine_adc.c

Code: Select all

{{&machine_adc_type}, GPIO_NUM_2, ADC2_CHANNEL_2},
and compile.

But it is probably not enough?
Thanks.
by prem111
Tue Aug 11, 2020 4:29 pm
Forum: ESP8266 boards
Topic: ADC2 read ?
Replies: 1
Views: 1324

ADC2 read ?

Hi, can possible read value from ADC2 pins ?

Thanks.

UPDATE: my mistake i meant esp32 sorry.