Search found 8 matches
- Thu Jan 28, 2021 5:27 am
- Forum: Hardware
- Topic: when can a gpio be neither output or input enabled?
- Replies: 1
- Views: 2247
when can a gpio be neither output or input enabled?
So I'm certain this is going to spawn more questions for me, but when im configuring GPIO, the last pin configured seems to not be set right. Below is the output. Note it is not an error but just the console output. There are many other pins configured as part of the same bitmask to be an output, ho...
- Sun Jun 28, 2020 11:31 pm
- Forum: Hardware
- Topic: esp-wroom-32 SRAM/flash write count
- Replies: 1
- Views: 2735
esp-wroom-32 SRAM/flash write count
I'm trying to find information regarding the number of write cycles I can do on the different memories, primarily the SRAM on the esp-wroom-32 (and flash if available). We are trying to store small event logs somewhere and would like to know what our life expectancy of the device will be. Any inform...
- Tue Mar 24, 2020 4:11 pm
- Forum: ESP-IDF
- Topic: [IDFGH-2940] sdkconfig not defining values used in component
- Replies: 6
- Views: 8258
Re: [IDFGH-2940] sdkconfig not defining values used in component
In that case, is CONFIG_I2C_SLAVE_ADDRESS present in sdkconfig.h? In sdkconfig (in the project root directory)? If not, then likely the Kconfig file where CONFIG_I2C_SLAVE_ADDRESS is defined is not seen by the build system. I've been digging into the kconfig stuff, but just to give an update it see...
- Mon Mar 23, 2020 4:01 pm
- Forum: ESP-IDF
- Topic: [IDFGH-2940] sdkconfig not defining values used in component
- Replies: 6
- Views: 8258
Re: [IDFGH-2940] sdkconfig not defining values used in component
Thanks for the reply. Yes i2c_example_main.c has sdkconfig.h
Code: Select all
#include <stdio.h>
#include "esp_log.h"
#include "driver/i2c.h"
#include "sdkconfig.h"
- Sun Mar 22, 2020 10:49 pm
- Forum: ESP-IDF
- Topic: [IDFGH-2940] sdkconfig not defining values used in component
- Replies: 6
- Views: 8258
[IDFGH-2940] sdkconfig not defining values used in component
Hi, I'm using the idf_as_lib method and trying to add a component to my design based off the i2c_self_test example. However the sdkconfig does not seem to be defining the required variables. For instance I expect CONFIG_I2C_SLAVE_ADDRESS to be defined in my main sdkconfig (as it is when I run i2c_se...
- Sun Mar 22, 2020 7:47 pm
- Forum: ESP-IDF
- Topic: [IDFGH-2941] ELF file is in wrong place after running cmake --build .
- Replies: 6
- Views: 9216
Re: ELF file is in wrong place after running cmake --build .
I think that @Angus can help more in here. @chegewara Thanks for the help. For now I have a workaround at least (move main.c). However this does not follow normal cmake repo structure, I would like to keep this project consistent since the esp32 is not my only target board... @Angus Any help is app...
- Thu Mar 19, 2020 8:02 pm
- Forum: ESP-IDF
- Topic: [IDFGH-2941] ELF file is in wrong place after running cmake --build .
- Replies: 6
- Views: 9216
Re: ELF file is in wrong place after running cmake --build .
Usually elf file ends up in build folder next to bin file, and as you can see there is no path to main in this command: set(elf_file ${CMAKE_PROJECT_NAME}.elf) Thats why you need to do this if your elf file is in main subfolder: but when I change the MYPROJECT.ELF to main/MYPROJECT.ELF at the end o...
- Thu Mar 19, 2020 5:32 am
- Forum: ESP-IDF
- Topic: [IDFGH-2941] ELF file is in wrong place after running cmake --build .
- Replies: 6
- Views: 9216
[IDFGH-2941] ELF file is in wrong place after running cmake --build .
I am using the idf as a lib in my cmake project (idf.cmake). It seems the majority of the build runs through, but during the end of `cmake --build .` I get an error my ELF cannot be found, even when it exists down build/main/MYPROJECT.ELF. It appears either my ELF is in the wrong place or what gener...