nixpkgs-esp-dev icon indicating copy to clipboard operation
nixpkgs-esp-dev copied to clipboard

What to set `ESP_ROM_ELF_DIR`

Open jr1221 opened this issue 1 year ago • 1 comments

Hi,

ESP_ROM_ELF_DIR is not set, which results in failed gdb commands.

Can you please advise what to set it to?

jr1221 avatar Aug 27 '24 23:08 jr1221

I got good results with this export ESP_ROM_ELF_DIR=/nix/store/16d6gy5clh0ri2z5wkcnzdj3l1cbmadq-xtensa-esp-elf-gdb-esp-idf-v5.3

jr1221 avatar Aug 27 '24 23:08 jr1221

According to ESP-IDF v5.3.1's tools.json, it should be set to the esp-rom-elfs directory. I assume this is to look up debugging information for the burned-in boot ROM if you ever step into it. I will have to install that as a tool, and get exported vars working at the idf.py level (as in #61).

mirrexagon avatar Oct 23 '24 10:10 mirrexagon

I've attempted to address this with #71

quentinmit avatar Dec 07 '24 05:12 quentinmit

Should be fixed by #71.

mirrexagon avatar Jan 29 '25 08:01 mirrexagon