Search found 26 matches

by Dig Kleppe
Thu Jul 11, 2024 5:41 pm
Forum: General Discussion
Topic: Error__GLIBC_USE' is not defined when compiling cpp
Replies: 2
Views: 1381

Re: Error__GLIBC_USE' is not defined when compiling cpp

No succes.
I removed version 3 of the plugin and installed version 2.12 manually with the LSP preview enabled.
Works OK. I can use the LSP editor here without problems. Unfortunately i have to do this every time i open a file.
The default editor setting preference does nothing.
Dig
by Dig Kleppe
Thu Jul 11, 2024 1:43 pm
Forum: General Discussion
Topic: Error__GLIBC_USE' is not defined when compiling cpp
Replies: 2
Views: 1381

Error__GLIBC_USE' is not defined when compiling cpp

An (editor) error is generated at line: #include "freertos/FreeRTOS.h In included file: function-like macro '__GLIBC_USE' is not defined /usr/include/limits.h:145:5: note: error occurred here This happens with .cpp files. c files OK. The code builds OK. I am using Espressif IDE 3.0.0 Build id: 20240...
by Dig Kleppe
Mon Oct 02, 2023 9:57 am
Forum: ESP-IDF
Topic: gptimer high irq priority
Replies: 2
Views: 1412

Re: gptimer high irq priority

The irq function has to be called directly, not via the driver. This is why this function needs to be in assembly with a rfi at the end.
There are some examples that couple a GPIO to this function.See https://esp32.com/viewtopic.php?t=28008
But how to do this for the timer?
by Dig Kleppe
Thu Sep 28, 2023 9:51 am
Forum: ESP-IDF
Topic: gptimer high irq priority
Replies: 2
Views: 1412

gptimer high irq priority

Hi, I want to use gpTimer 0 for high prio irq. The irq handler (assembly) is called, but after rfi i get an unhandled kernel error. I have set the timer for Freertos to timer 1. I hope someone can help. My very stripped down C code: #include "driver/gptimer.h" void xt_highint5( void); void RegisterI...
by Dig Kleppe
Sat Apr 03, 2021 3:36 pm
Forum: ESP-IDF
Topic: Eclipse IDF plugin misses C General Paths and Symbols
Replies: 0
Views: 1520

Eclipse IDF plugin misses C General Paths and Symbols

Hi
I miss the project property setting C General-> Paths and Symbols. Now the editor cannot find the library stuff.
Building is OK.
Latest plugin. latest Eclipse.
Dig
by Dig Kleppe
Sat May 23, 2020 2:06 pm
Forum: ESP-IDF
Topic: SNTP and static IP
Replies: 2
Views: 4106

Re: SNTP and static IP

Hi markkuk
It would take 100 years for me to find out ...
It works with the right ips.
Thanks
Dig
by Dig Kleppe
Fri May 22, 2020 2:15 pm
Forum: ESP-IDF
Topic: SNTP and static IP
Replies: 2
Views: 4106

SNTP and static IP

Not the first post about this: I have set dhcp off, set IP, mask and gateway. Set sntpservers to "8.8.8.8" and " 1.1.1.1" From the ESP i can ping these addresses, so the gateway is ok. No time. What am i missing? I "solved" the problem by starting with DHCP, getting the time, and moving to a fixed I...
by Dig Kleppe
Wed Dec 04, 2019 1:04 pm
Forum: ESP-ADF
Topic: which compiler for ADF
Replies: 1
Views: 3495

which compiler for ADF

Hi,
Do i have to install the (msis201810001) toolchain to use the ADF or only the 3.2.3 IDF ?
When will the ADF be updated to use 4.x IDF?
Dig
by Dig Kleppe
Sat Oct 05, 2019 1:35 pm
Forum: General Discussion
Topic: JTAG debuggers
Replies: 26
Views: 38764

Re: JTAG debuggers

HI I have good results on my Linux PC using Wroom32, a FTDI C232HM JTAG cable and the latest IDF. I had to add "ftdi_tdo_sample_edge falling" in the esp-wroom-32.cfg. But I still need the capacitor at the IO13 pin, see my previous post. And 10k resistors to GND at IO13 and 14. I use Eclipse and a GD...
by Dig Kleppe
Thu Sep 26, 2019 9:19 am
Forum: General Discussion
Topic: gdb does not work
Replies: 1
Views: 2836

gdb does not work

Hi I installed latest toolset on my W10-64 system (with the latest update) All works ok except xtensa-esp32-elf-gdb. When starting from commandline gdb returns after a second without any message. xtensa-esp32-elf-gdb --ere: prints an answer: xtensa-esp32-elf-gdb: unrecognized option `--erer' Use `C:...