Search found 643 matches

by mzimmers
Wed Nov 24, 2021 6:20 pm
Forum: IDEs for ESP-IDF
Topic: VS: editor disagrees with build results
Replies: 6
Views: 17628

Re: VS: editor disagrees with build results

I've reverted to bignacio's suggestion of putting specific paths into the include section of my c_cpp_properties.json file, like this: "includePath": [ "${config:idf.espIdfPath}/components/lwip/lwip/src/include/lwip", "${config:idf.espIdfPath}/components/**", "${config:idf.espIdfPathWin}/components/...
by mzimmers
Fri Nov 19, 2021 9:41 pm
Forum: ESP-IDF
Topic: using esp_flash_init()
Replies: 0
Views: 2241

using esp_flash_init()

Hi all - I want to be able to read a section of flash. In looking at the api, the call to esp_flash_init() seems rather involved: static DRAM_ATTR memspi_host_inst_t esp_flash_default_host; static DRAM_ATTR esp_flash_t chip = { .read_mode = CONFIG_ESPTOOLPY_FLASHMODE_DIO, .host = (spi_flash_host_ins...
by mzimmers
Thu Nov 18, 2021 8:06 pm
Forum: IDEs for ESP-IDF
Topic: (solved) VS Code not seeing symbol definition
Replies: 2
Views: 9368

Re: (solved) VS Code not seeing symbol definition

Thanks, boarchuz.
by mzimmers
Wed Nov 17, 2021 9:57 pm
Forum: IDEs for ESP-IDF
Topic: VS: editor disagrees with build results
Replies: 6
Views: 17628

Re: VS: editor disagrees with build results

BTT

I get this error whether using the IDE or not. Any suggestions?

Thanks...
by mzimmers
Tue Nov 16, 2021 9:32 pm
Forum: IDEs for ESP-IDF
Topic: VS: editor disagrees with build results
Replies: 6
Views: 17628

Re: VS: editor disagrees with build results

Hi bignacio - This is probably a good solution, though I'm still working out the kinks in my configuration. Two problems currently: 1. the editor claims it can't find the file specified by "compileCommands": "${workspaceFolder}/build/compile_commands.json" 2. when I add a header file (in this case, ...
by mzimmers
Tue Nov 16, 2021 6:50 pm
Forum: ESP-IDF
Topic: (solved) sdkconfig.defaults not being (completely) read
Replies: 6
Views: 3929

Re: sdkconfig.defaults not being (completely) read

Hi chegewara -

Yes, that did fix it. (It turns out I had two build directories at different levels in the project; once I deleted both of them, your fix worked.)

Thanks for the help.
by mzimmers
Tue Nov 16, 2021 5:48 pm
Forum: ESP-IDF
Topic: (solved) sdkconfig.defaults not being (completely) read
Replies: 6
Views: 3929

Re: sdkconfig.defaults not being (completely) read

Still getting the same error. Tried using that line both with, and instead of, the original line.
by mzimmers
Tue Nov 16, 2021 5:32 pm
Forum: ESP-IDF
Topic: (solved) sdkconfig.defaults not being (completely) read
Replies: 6
Views: 3929

Re: sdkconfig.defaults not being (completely) read

Hi Chegewara - yes I did.
by mzimmers
Tue Nov 16, 2021 4:59 pm
Forum: ESP-IDF
Topic: (solved) sdkconfig.defaults not being (completely) read
Replies: 6
Views: 3929

(solved) sdkconfig.defaults not being (completely) read

Hi all - I'm trying to set up my project for use with an sdkconfig.defaults file. One of the settings (flash size) doesn't seem to be read. Here's the file: # the device used on this project has 8MB of flash. CONFIG_ESPTOOLPY_FLASHSIZE="8MB" # # we use a custom partition table on this project. CONFI...
by mzimmers
Mon Nov 15, 2021 12:45 am
Forum: IDEs for ESP-IDF
Topic: VS: editor disagrees with build results
Replies: 6
Views: 17628

VS: editor disagrees with build results

Hi all - I'm trying to clean up some minor issues with my use of the IDE. Currently, the editor detects errors that don't show up in the build. Hopefully this picture is a good representation: editor.PNG I'm guessing that the editor is finding its way to an incorrect header file when there are multi...