Coder Social home page Coder Social logo

Comments (5)

beegee-tokyo avatar beegee-tokyo commented on June 30, 2024 3

@stickbreaker
the usual steps would be to put the platform path into platformio.ini of the project.
platform = https://github.com/stickbreaker/arduino-esp32.git
But unfortunately that fails with some weird error messages. Maybe because your repo is a fork. Don't really know why.
@glucee
2 possible solutions:
a) just replace
C:\Users\beegee\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-i2c.c
C:\Users\beegee\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-i2c.h
C:\Users\beegee\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-log.h
C:\Users\beegee\.platformio\packages\framework-arduinoespressif32\libraries\Wire\src\Wire.cpp
C:\Users\beegee\.platformio\packages\framework-arduinoespressif32\libraries\Wire\src\Wire.h
with the same files from stickbreakers repo.
b) use git to clone stickbreakers repo
rename
C:\Users\beegee\.platformio\packages\framework-arduinoespressif32
to
C:\Users\beegee\.platformio\packages\framework-arduinoespressif32.org
clone stickbreakers repo into an empty
C:\Users\beegee\.platformio\packages\framework-arduinoespressif32
then clean your project, recompile and you are using this repo.

from arduino-esp32.

beegee-tokyo avatar beegee-tokyo commented on June 30, 2024 1

@Eohan, don't do that. You might mess up other things. Just grab the following files from stickbreakers repo

\libraries\Wire\scr\Wire.h
\libraries\Wire\scr\Wire.cpp
\cores\esp32\esp32-hal-i2c.h
\cores\esp32\esp32-hal-i2c.c
\cores\esp32\esp32-hal-log.h

and overwrite the according files in your framework-arduinoespressif32 folder.

from arduino-esp32.

stickbreaker avatar stickbreaker commented on June 30, 2024

I have no experience with platformio. This is a fork of arduino-esp32. So, whatever procedures are used to use espressif/arduino-esp32 will work with this fork.

If you use the Wire() library there should not be any differences.

Chuck.

from arduino-esp32.

stickbreaker avatar stickbreaker commented on June 30, 2024

@beegee-tokyo Thanks for the help! 👍

Chuck.

from arduino-esp32.

echoGee avatar echoGee commented on June 30, 2024

Some files that are in the standard repo are not present in stickbreakers' repo. So another solution is to copy stickbreakers files and overwrite all the files in C:\Users\beegee.platformio\packages\framework-arduinoespressif32 folder. This keeps all the extra files as is.

from arduino-esp32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.