Search found 643 matches
- Sat Nov 13, 2021 12:01 am
- Forum: IDEs for ESP-IDF
- Topic: (solved) VS Code not seeing symbol definition
- Replies: 2
- Views: 9460
(solved) VS Code not seeing symbol definition
Hi all - My main cmake file looks like this: cmake_minimum_required(VERSION 3.13.0) include($ENV{IDF_PATH}/tools/cmake/project.cmake) add_definitions(-DESP_PORT) project(myProject) It builds fine, but the VS editor doesn't seem to see the definition of "ESP_PORT," and shows errors. What do I do in o...
- Thu Nov 11, 2021 6:09 pm
- Forum: ESP-IDF
- Topic: (solved) how to encode binary (blob) in .csv file?
- Replies: 4
- Views: 4904
Re: how to encode binary (blob) in .csv file?
Figured it out:
where schedule.hex is a text file with hex representations (with no formatting):
Evidently, you can only initialize scalars directly in the .csv file; aggregates have to go into files.
Code: Select all
NVS_KEY_SCH,file,hex2bin,schedule.hex
Code: Select all
44656661756C74205363686564756C6500000...
- Wed Nov 10, 2021 5:12 pm
- Forum: ESP-IDF
- Topic: (solved) how to encode binary (blob) in .csv file?
- Replies: 4
- Views: 4904
Re: initializing a blob for NVS
I'm trying to encode a default value for the blob in my .csv file, not create it programmatically. The customer needs to provision data like run schedules at manufacture.
Anyone have an idea for doing this?
Thanks...
Anyone have an idea for doing this?
Thanks...
- Tue Nov 09, 2021 5:26 pm
- Forum: IDEs for ESP-IDF
- Topic: VS Code finding wrong system header files (uint32_t not defined)
- Replies: 0
- Views: 5458
VS Code finding wrong system header files (uint32_t not defined)
Hi all - Trying to use the IDE in Windows 10. I've configured my c_cpp_properties.json as follows: "includePath": [ "${config:idf.espIdfPath}/components/**", "${config:idf.espIdfPathWin}/components/**", "C:/Users/mzimmers/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/xtensa-esp...
- Tue Nov 09, 2021 2:57 pm
- Forum: IDEs for ESP-IDF
- Topic: changing from Linux to Windows
- Replies: 4
- Views: 9590
Re: changing from Linux to Windows
Hi bignacio - I did this: { "configurations": [ { "name": "ESP-IDF", "cStandard": "c11", "cppStandard": "c++17", "includePath": [ "${config:idf.espIdfPath}/components/**", "${config:idf.espIdfPathWin}/components/**", "C:/Users/mzimmers/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-...
- Mon Nov 08, 2021 7:50 pm
- Forum: IDEs for ESP-IDF
- Topic: VS Code: "variable "uint32_t" is not a type name"
- Replies: 0
- Views: 5226
VS Code: "variable "uint32_t" is not a type name"
Hi all - I'm still wading through the nuances of the IDE. My current issue is that I'm getting this error message: variable "uint32_t" is not a type name I only get this error message on this type; none of the others. It seems like I'm finding my way to the wrong stdint.h file. ide.PNG Can someone P...
- Mon Nov 08, 2021 3:09 pm
- Forum: IDEs for ESP-IDF
- Topic: changing from Linux to Windows
- Replies: 4
- Views: 9590
Re: changing from Linux to Windows
Hi bignacio - Thanks for the information; I did find the template in the docs for the file, and it now looks like this: { "configurations": [ { "name": "ESP-IDF", "cStandard": "c11", "cppStandard": "c++17", "includePath": [ "${config:idf.espIdfPath}/components/**", "${config:idf.espIdfPathWin}/compo...
- Sat Nov 06, 2021 10:40 pm
- Forum: IDEs for ESP-IDF
- Topic: changing from Linux to Windows
- Replies: 4
- Views: 9590
changing from Linux to Windows
Hi all - I've been running VS Code with the ESP-IDF extension on a VirtualBox client for a couple months now. For whatever reason, I've found it very hard to flash a device through VB, so I want to try using VS Code in Windows. I did a fresh install of the IDF (and tools, etc), and cloned my project...
- Tue Nov 02, 2021 9:33 pm
- Forum: IDEs for ESP-IDF
- Topic: getting the debugger working in VS Code
- Replies: 9
- Views: 29758
Re: getting the debugger working in VS Code
I'd like to return to this issue, please. When I try to start the debugger, I get this error:
Any ideas what I'm doing wrong? Thanks...- Tue Nov 02, 2021 6:25 pm
- Forum: IDEs for ESP-IDF
- Topic: (solved) VS Code: proper location for c_cpp_properties.json?
- Replies: 2
- Views: 12544
Re: VS Code: proper location for c_cpp_properties.json?
Thanks for the information, bignacio. Seems to be working correctly now.