Comments (4)
What is your setup, OS and esp-Arduino installation?
Similar error can be found here: esp8266/Arduino#1631
from makeesparduino.
I just had the same issue under OSX, and fixed it by moving the esp8266 git checkout out of my code hierarchy.
from makeesparduino.
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.
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)
- LittleFS compile errors on esp8266 HOT 4
- Getting Xtensa Error HOT 1
- ESP32 python: can't open file '/esptool.py': [Errno 2] No such file or directory HOT 6
- how to build for esp32s3 etc.? HOT 4
- Variant ESP32 devices HOT 1
- Arch WSL g++ HOT 2
- Calling 'make clean' twice will trigger config parser. HOT 7
- build_opt.h: No such file or directory HOT 5
- Duplicate SKETCH when including on working directory HOT 5
- compiling a sketch with Bodmers TFT_eSPI library HOT 2
- Problems with include path HOT 7
- Compilation error on core's version 3.1.0 HOT 5
- Compilation of a simple program for esp32 fails because it tries to include library SoftwareSerial only available for architecture avr HOT 1
- .git folder appears to be included during make HOT 9
- Arduino IDE 2.x does not have preferences.txt HOT 1
- Add support for Arduino Core 3.0.0 HOT 5
- ESP32 builds stopped working after changes in the platform.txt file from the arduino-esp32 project (support relative paths in UNIX search PATH) HOT 2
- missing core dump partition
- no mk file HOT 1
- Not compatible with latest ESP32 SDK 2.0.14? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makeesparduino.