Code Monkey home page Code Monkey logo

Comments (4)

plerup avatar plerup commented on August 15, 2024

What is your setup, OS and esp-Arduino installation?

Similar error can be found here: esp8266/Arduino#1631

from makeesparduino.

zakx avatar zakx commented on August 15, 2024

I just had the same issue under OSX, and fixed it by moving the esp8266 git checkout out of my code hierarchy.

from makeesparduino.

rgkirch avatar rgkirch commented on August 15, 2024

Hey. I had the same problem and I can recreate it. It doesn't work when the sketch is in the testDir folder but if I make a testDir/src folder and move the sketch into the src folder then it works.

mkdir testDir
cd testDir

echo "cloning"
git clone https://github.com/esp8266/Arduino.git esp8266
git clone https://github.com/plerup/makeEspArduino.git
git clone https://github.com/plerup/espsoftwareserial.git
cd esp8266/tools

echo "python esp8266/tools/get.py"
python get.py
cd ../..
cp espsoftwareserial/examples/swsertest/swsertest.ino ./

echo "building"
make -f makeEspArduino/makeEspArduino.mk flash ESP_ROOT=/home/richie/testDir/esp8266 BOARD=nodemcuv2 SKETCH=/home/richie/testDir/src/swsertest.ino LIBS=/home/richie/testDir/espsoftwareserial/ > error.txt 2>&1
mv error.txt ../

from makeesparduino.

davidbanham avatar davidbanham commented on August 15, 2024

I am seeing the same issue on Arch Linux. Moving the sketch file to a src directory gets it building correctly.

from makeesparduino.

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.