Search found 86 matches

by prem111
Tue Sep 08, 2020 8:25 am
Forum: General Discussion and Questions
Topic: BLE init long time problem.
Replies: 5
Views: 408

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: 5
Views: 408

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: 5
Views: 408

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: 253

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: 253

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: 5
Views: 408

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: 226

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: 253

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: 174

ADC2 read ?

Hi, can possible read value from ADC2 pins ?

Thanks.

UPDATE: my mistake i meant esp32 sorry.
by prem111
Thu Jul 30, 2020 6:30 am
Forum: Drivers for External Components
Topic: bno055 - i2c problem. ETIMEDOUT.
Replies: 6
Views: 679

Re: bno055 - i2c problem. ETIMEDOUT.

I mean to send/save the offsets. In order not to calibrate every time it is turned on.