Closed shlomo-edu closed 9 months ago
Please use the following command to update the submodules: git submodule update. I have tested using the commit you provided and it is functioning properly:
@shlomo-edu Have you checked if the issue still exists after using 'git submodule update'?
It probly solved the unresolved issues, but now I get the following error: C:/Users/shlomoa/esp/esp-idf/components/xtensa/include/xtensa/xtensa_api.h:104:1: error: expected '=', ',', ';', 'asm' or 'attribute' before '{' token 104 | { | ^ line 104 is the { in this code:
/*
-------------------------------------------------------------------------------
Call this function to set the specified (s/w) interrupt.
-------------------------------------------------------------------------------
*/
static inline void xt_set_intset(unsigned int arg)
{
xthal_set_intset(arg);
}
And then the rest of the file is full of errors, so I assume that the problem is: static inline void xt_set_intset(unsigned int arg) but I don't know what?
The error still exists within the components, indicating that not all updates to the components have taken effect.
For the installation of the tool, you can take a look at the documentation: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html
At this point, none of the examples should be buildable. Not only the BLE examples, because your environment has not been set up yet.
I downloaded the: Universal Online Installer 2.23 Windows 10, 11 Size: 4 MB From: https://dl.espressif.com/dl/esp-idf/?idf=4.4 I installed it. It asked me where to install it, and I gave the path: to C:\ESP-NEW But, it installed something in C:\ESP-NEW and some other stuff in: C:\Espressif See the attached picture. At the end it displayed a message to build: idf.py build So I tried to do it in: C:\ESP-NEW, but it doesn't have CMakeLists.txt So I tried to compile in: C:\Espressif\frameworks\esp-idf-v5.1.2 But now I receive the following errors:
But now it does compile from Visual Studio Code.
Answers checklist.
IDF version.
v5.3-dev-491-g30eb2918c6
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
What is the expected behavior?
I clone the project. I am trying to compile the BLE gatt_server example
esp_bluedroid_config_t bluedroid_cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
I also tried to copy the code (the C file) to another project that I did manage to compile (HID) and there I didn't have the problem with the red line (it found the include files), but I had several undeclared CONFIG_ variable such as: CONFIG_BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFFWhat is the actual behavior?
Steps to reproduce.
Build or installation Logs.
More Information.
No response