Search found 8 matches

by w3llschmidt
Wed Dec 14, 2022 4:25 pm
Forum: ESP-IDF
Topic: Error to install esp-idf
Replies: 10
Views: 49627

Re: Error to install esp-idf

Same topic here.

robotron@robotron:~/esp/esp-idf$ ./install.sh esp32
Detecting the Python interpreter
Checking "python3" ...
Checking "python" ...
Checking "python3.7" ...
Python 3.7.3
"python3.7" has been detected
Checking Python compatibility
Installing ESP-IDF tools
Current system platform ...
by w3llschmidt
Mon Apr 04, 2022 7:14 pm
Forum: ESP-IDF
Topic: driver/gpio.h: No such file or directory
Replies: 6
Views: 34947

driver/gpio.h: No such file or directory

Hello Fellows,

all of my ESP-IDF v4.x libs want compile on ESP-IDF v5.0 anymore :o


https://github.com/lexus2k/ssd1306
https://github.com/DavidAntliff/esp32-ds18b20
https://github.com/DavidAntliff/esp32-owb

Same error on all >

fatal error: driver/gpio.h: No such file or directory ...
by w3llschmidt
Wed Mar 23, 2022 9:54 pm
Forum: ESP-IDF
Topic: ESP-IDF v4.4 will support Python 3.6 or newer
Replies: 5
Views: 8918

Re: ESP-IDF v4.4 will support Python 3.6 or newer

Have you set an alias for "python"? That is not supported right now.
Hi Roland, yes i did. I fixed this based on this:

https://linuxize.com/post/how-to-instal ... -debian-9/

Now its working.

Thx!
by w3llschmidt
Tue Mar 22, 2022 9:00 pm
Forum: ESP-IDF
Topic: ESP-IDF v4.4 will support Python 3.6 or newer
Replies: 5
Views: 8918

Re: ESP-IDF v4.4 will support Python 3.6 or newer

What did im wrong?

ESP-IDF supports Python 3.7 or newer but you are using Python 2.7.17. Please upgrade your installation as described in the documentation.

robotron@robotron:~/Dokumente/esp-idf$ python --version
Python 3.6.9


Thats really anoying.
by w3llschmidt
Thu Apr 01, 2021 7:20 pm
Forum: ESP-IDF
Topic: 1.8V on GPIO High?
Replies: 3
Views: 4440

Re: 1.8V on GPIO High?

Any ideas?

With this code i can read 3.3V on both pin's.

//main.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <freertos/FreeRTOS.h>
#include <freertos/task.h>

#include "driver/mcpwm.h"
#include "soc/mcpwm_reg.h"
#include "soc/mcpwm_struct.h"

#include <driver/gpio.h ...
by w3llschmidt
Thu Apr 01, 2021 4:34 pm
Forum: ESP-IDF
Topic: 1.8V on GPIO High?
Replies: 3
Views: 4440

Re: 1.8V on GPIO High?

Sorry, i corrected my starting post.

This is how i configure them:

#define GPIO_OUTPUT_PIN_SEL ((1ULL<<GPIO_INA1_OUT) | (1ULL<<GPIO_INA2_OUT) | (1ULL<<GPIO_INB1_OUT) | (1ULL<<GPIO_INB2_OUT))

io_conf.pin_bit_mask = GPIO_OUTPUT_PIN_SEL ;

I got a correct reply:

I (550) cpu_start: App cpu up.
I ...
by w3llschmidt
Tue Mar 30, 2021 10:31 pm
Forum: General Discussion
Topic: ESP32 audio output
Replies: 10
Views: 63624

Re: ESP32 audio output

by w3llschmidt
Tue Mar 30, 2021 8:42 pm
Forum: ESP-IDF
Topic: 1.8V on GPIO High?
Replies: 3
Views: 4440

1.8V on GPIO High?

My ESP32 have a strange behavior.

With this code i read 3.3V on GPIO19 but 1.8V on GPIO18 :o

I have no idea what did this :cry:

PWM.H

#ifndef MCPWM_H // Header wrapper
#define MCPWM_H // Header wrapper

#define GPIO_PWM0A_OUT 5
#define GPIO_INA1_OUT 18
#define GPIO_INA2_OUT 19
#define ...

Go to advanced search