Search found 43 matches

by trustmiao
Thu Jun 27, 2024 12:26 pm
Forum: General Discussion
Topic: Esp32 ethernet basic not accepting DHCP offer from DNSMasq
Replies: 8
Views: 8470

Re: Esp32 ethernet basic not accepting DHCP offer from DNSMasq

it's working. very appreciate it.
by trustmiao
Fri Jul 07, 2023 9:26 am
Forum: ESP-IDF
Topic: what's the best way to achieve a periodic timer, with deep sleep in between
Replies: 1
Views: 820

Re: what's the best way to achieve a periodic timer, with deep sleep in between

one interesting finding is, every time eps32 deep sleeps, the "gettimeofday" though continuous to give time, but it will miss around 50ms , make two device time not synced.
by trustmiao
Fri Jul 07, 2023 9:16 am
Forum: ESP-IDF
Topic: what's the best way to achieve a periodic timer, with deep sleep in between
Replies: 1
Views: 820

what's the best way to achieve a periodic timer, with deep sleep in between

In the project, we plan to build a periodic timer to send a lora message, and sleep between the timer. For now our solution is record the time sending last message, start a timer after wakeup based on calculation of time difference. but there will couple us difference every time(4-10us), therefore t...
by trustmiao
Mon May 11, 2020 4:15 pm
Forum: ESP-IDF
Topic: how can nvs be cleared while flash, or on pc terminal
Replies: 2
Views: 7709

Re: how can nvs be cleared while flash, or on pc terminal

Thx , guess this is the most automatic way
by trustmiao
Mon May 11, 2020 9:39 am
Forum: ESP-IDF
Topic: is this the heap not enough for cpu0 and how can I set it higher
Replies: 0
Views: 2349

is this the heap not enough for cpu0 and how can I set it higher

it was a working program, but we recently need to add ble function to it, once we init ble, it crashed with prompt: 0x4008116c: call_start_cpu1 at G:/esp_vsc/esp-idf/components/esp32/cpu_start.c:269 I (495) cpu_start: App cpu up. Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was...
by trustmiao
Fri May 08, 2020 11:51 am
Forum: ESP-IDF
Topic: how can nvs be cleared while flash, or on pc terminal
Replies: 2
Views: 7709

how can nvs be cleared while flash, or on pc terminal

try to make sure nvs is default after every flash.
by trustmiao
Wed May 06, 2020 9:34 am
Forum: ESP-IDF
Topic: how to include esp32 ble component in a custom component
Replies: 2
Views: 5755

Re: how to include esp32 ble component in a custom component

SlavaDev503 wrote:
Thu Apr 30, 2020 4:39 pm
It seems that your bluetooth disabled, you need to enable it in menu config, you should not directly add it in your cmake.
Image
this solves the problem perfectly, thanks alot
by trustmiao
Thu Apr 30, 2020 9:04 am
Forum: ESP-IDF
Topic: esp32 idf in vsc, build flash working, can't monitor
Replies: 5
Views: 7032

Re: esp32 idf in vsc, build flash working, can't monitor

it's solved, for record. this computer used to be set up in esp idf in msys environment , there are settings in
"preferences: open settings(json)"
still pointed top msys mingw32, which cause the problem. deleted these , and it is working now. thanks for help
by trustmiao
Thu Apr 30, 2020 8:45 am
Forum: ESP-IDF
Topic: how to include esp32 ble component in a custom component
Replies: 2
Views: 5755

how to include esp32 ble component in a custom component

Hi all While i was writing a component about ble functions, i've met this error: ../components/ble/ble.h:9:20: fatal error: esp_bt.h: No such file or directory although i've put bt in cmakelists for the custom component set(COMPONENT_ADD_INCLUDEDIRS .) set(COMPONENT_SRCS "ble.cpp") set(COMPONENT_REQ...