Open heineken63 opened 6 months ago
I encountered the same problem.
I fixed it for myself like this
// Configure the data input
gpio_config_t data_pin_config;
// {
data_pin_config.intr_type = GPIO_INTR_ANYEDGE;
data_pin_config.mode = GPIO_MODE_INPUT;
data_pin_config.pin_bit_mask = (std::uint64_t{1} << 22); // GPIO_NUM_22 (SEL) DATA PIN!
data_pin_config.pull_up_en = GPIO_PULLUP_DISABLE;
data_pin_config.pull_down_en = GPIO_PULLDOWN_DISABLE;
gpio_config(&data_pin_config);
The bit I really changed here is definition of the pin_bit_mask
.
Note: I changed this to c++ (included the cstdint header for uint64 def).
Thanks for this great manual, after some time setting up the environment succeeded flashing my esp32v1.
But when starting up it stops doing anything after these log entries: I (322) app_start: Starting scheduler on CPU0 I (327) app_start: Starting scheduler on CPU1 I (327) main_task: Started on CPU0 I (337) main_task: Ca�None
Anyone knows what is going wrong?