Search found 12 matches
- Thu May 02, 2024 4:11 am
- Forum: ESP-IDF
- Topic: Thread safety of a new I2C driver on ESP IDF v5.2
- Replies: 1
- Views: 615
Re: Thread safety of a new I2C driver on ESP IDF v5.2
Yes, that's my understanding. I need to consider this as I want to upgrade from the legacy driver. I have been using https://github.com/ropg/i2c_manager as a thread-safe wrapper of the legacy driver.
- Tue Apr 16, 2024 2:20 am
- Forum: ESP-IDF
- Topic: esp modem pppos_client example with Telit modem
- Replies: 0
- Views: 476
esp modem pppos_client example with Telit modem
I am trying to establish a PPP connection to a Telit LE910Cx but the pppos_client example times out waiting for the IP address. The modem responds to the confg commands (AT+CGDCONT=1,"IP","internet" etc) although the config is minimal and there is no option for Telit modems. What puzzles me is that ...
- Tue Apr 16, 2024 1:45 am
- Forum: ESP-IDF
- Topic: littlefs panic when partition is full
- Replies: 6
- Views: 2227
Re: littlefs panic when partition is full
Sorry, I don't have the log now but my notes show the exception occurs in lfs.c (when block_count is zero): static int lfs_alloc(lfs_t *lfs, lfs_block_t *block) { ... // In order to keep our block allocator from spinning forever when our // filesystem is full, we mark points where there are no in-fl...
- Tue Apr 02, 2024 1:28 am
- Forum: ESP-IDF
- Topic: littlefs panic when partition is full
- Replies: 6
- Views: 2227
littlefs panic when partition is full
I am using littlefs to store logs to internal flash and have been testing the behaviour when the littlefs partition is full. I expected a graceful failure of fopen() or fprintf() but I get a DivideByZero exception from lfs_alloc in the bowels of the library from fclose(). It seems that I need to lea...
- Fri Mar 15, 2024 2:01 am
- Forum: General Discussion
- Topic: bluetooth bnep
- Replies: 0
- Views: 475
bluetooth bnep
Is the bnep client profile supported by the esp-idf sdk?
- Sat Nov 25, 2023 8:43 am
- Forum: General Discussion
- Topic: How to connect the console to a socket
- Replies: 3
- Views: 7434
Re: How to connect the console to a socket
So now I have a Console REPL session connected to a telnet session by reassigning stdin and stdout to the telnet socket. But problems remain. Foremost is not being able to detect when the connection is closed remotely. REPL blocks on line input and does not detect it. I tried recv(MSG_PEEK) in the s...
- Sat Oct 21, 2023 8:42 am
- Forum: General Discussion
- Topic: How to connect the console to a socket
- Replies: 3
- Views: 7434
How to connect the console to a socket
I am using the Console component for a serial command interface but want to also access it remotely. It seems the Console is hard-wired to UART i/o, is it possible to connect it to a network socket?
- Sat Sep 23, 2023 12:49 am
- Forum: ESP-IDF
- Topic: SSH client library for esp-idf 5
- Replies: 3
- Views: 2205
Re: SSH client library for esp-idf 5
Hi Florian,
Did you get any advice on this? I'm in a similar position.
Did you get any advice on this? I'm in a similar position.
- Fri Jun 02, 2023 4:44 am
- Forum: General Discussion
- Topic: Are there any tools to help debug watchdog timeouts
- Replies: 18
- Views: 20058
Re: Are there any tools to help debug watchdog timeouts
SDK: ESP-IDF v5.0.1 I want to log the stack trace when I get a ESP_RST_TASK_WDT task watchdog timeout. I have a custom panic handler that copies the stack trace to RAM and startup code that interrogates this. I thought this would work when I enabled "Invoke panic handler on Task Watchdog timeout" in...
- Sun Apr 30, 2023 9:36 pm
- Forum: ESP-IDF
- Topic: Wake stub cannot link ets_update_cpu_frequency_rom
- Replies: 0
- Views: 728
Wake stub cannot link ets_update_cpu_frequency_rom
I need to call ets_update_cpu_frequency_rom() in my wake stub (per https://esp32.com/viewtopic.php?f=13&t=16861 ) but I can't fix this link error: undefined reference to `ets_update_cpu_frequency_rom' I can resolve est_delay_us() so am confident that I'm linking in the esp_rom component. My build is...