hsnprojects
hsnprojects
I am having the same issue that I cannot build in VSCODE/ESPIDF if the machine has no access to the component registry. Auto updating components is not a good idea,...
Thanks for taking the time to reply to my message. Do we still need to include i2cdev from DS3231? It has its own i2c_master_init() function, which conflicts with the one...
Fantastic! That resolved my original issue. But I am still unable to include protocol_examples_common.h properly. I am very new to the CMake build system. Following is what I have in...
Here is the latest error: E (558) i2c: CONFLICT! driver_ng is not allowed to be used with this old driver But it looks like we are using ssd1306_i2c_new.c
By the way, I have another similar board working with these components, but I am forcing it to use the legacy driver, and it works fine with esp-idf v5.3.
The following version works fine with the previous version of my program (originally in esp-idf 4.6). void app_main() { i2c_dev_t devRTC; memset(&devRTC, 0, sizeof(i2c_dev_t)); if (ds3231_init_desc(&devRTC, I2C_NUM_0, CONFIG_SDA_GPIO, CONFIG_SCL_GPIO) !=...
The reason I tried to upgrade was due to a warning I saw while building the program, which recommended upgrading the I2C driver. However, I don't see that warning now,...
1. I have upgraded my ESP-IDF to 5.3. I may still have 4.6 on another machine, though. 2. The version that works fine now even on 5.3 is an old...
I was hoping to use I2C in a manner similar to Arduino's `Wire.begin()`, where initializing the I2C bus would be separate from adding devices like the RTC or OLED to...
Not object-oriented, but rather C-style APIs. Initializing I2C might create an I2C channel handle or something similar. Devices are then added (registered) to one of the buses. The i2c_master_init() function...