Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the code build with more recent ESP SDK versions. #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

catsup
Copy link

@catsup catsup commented Sep 12, 2015

Hi,

I was about to write my own driver for an HC-SR04 sensor module when I came across yours 👍 )

My sensor is connected through level converters to GPIO4/5 on an ESP-07 module.

Seems to work just fine, distance is off (too short) by about 10mm when measured from the front of the sensor.

I've made a couple minor tweaks so the code builds on the more recent ESP SDKs (0.9.5 - 1.3.0)

Regards,
Marc

marc@o ~/ESPRESSIF/github/esp8266_ping $ for SDK in /opt/Espressif/esp_iot_sdk_v*; do echo $SDK; make clean; export SDK_BASE=$SDK; make && echo OK USING $SDK; done | grep OK
OK USING /opt/Espressif/esp_iot_sdk_v0.9.5
OK USING /opt/Espressif/esp_iot_sdk_v1.1.0
OK USING /opt/Espressif/esp_iot_sdk_v1.1.1
OK USING /opt/Espressif/esp_iot_sdk_v1.2.0
OK USING /opt/Espressif/esp_iot_sdk_v1.3.0

Marc Bongartz added 2 commits September 12, 2015 15:02
…1.3.0)

ESP SDK 1.1.0 removed macros for changing GPIO pin PULLDOWNs, as the ESP8266
does not provide that functionality.
@catsup catsup changed the title Make the code build with more recend ESP SDK versions. Make the code build with more recent ESP SDK versions. Sep 12, 2015
@eadf
Copy link
Owner

eadf commented Feb 28, 2016

I've updated the easygpio.c file in the https://github.com/eadf/esp8266_easygpio repository.
This repository just contains a snapshot (git tree) of those files.
Sadly I could not find a way to propagate your pull request to that project.

I just updated the easygpio snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants