Skip to main content
Code extension after feedback
Source Link
Codebreaker007
  • 1.3k
  • 1
  • 7
  • 14

You did a shallow copy of the git repo:
The solution is to ensure that the initial clone of the repo in the build environment was not a shallow clone (i.e. the git clone command was not used with --depth, --shallow-since or --shallow-exclude parameters). so change your

git clone --recursive --depth 1 https://github.com/esp8266/Arduino.git esp8266
....
git clone --recursive --depth 1 https://github.com/pfalcon/esp-open-sdk.git

to

git clone --recursive https://github.com/esp8266/Arduino.git esp8266
.... 
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git

and make sure your *.ino contains at least

 setup(){}

AND

loop(){}

You did a shallow copy of the git repo:
The solution is to ensure that the initial clone of the repo in the build environment was not a shallow clone (i.e. the git clone command was not used with --depth, --shallow-since or --shallow-exclude parameters). so change your

git clone --recursive --depth 1 https://github.com/esp8266/Arduino.git esp8266
....
git clone --recursive --depth 1 https://github.com/pfalcon/esp-open-sdk.git

to

git clone --recursive https://github.com/esp8266/Arduino.git esp8266
.... 
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git

You did a shallow copy of the git repo:
The solution is to ensure that the initial clone of the repo in the build environment was not a shallow clone (i.e. the git clone command was not used with --depth, --shallow-since or --shallow-exclude parameters). so change your

git clone --recursive --depth 1 https://github.com/esp8266/Arduino.git esp8266
....
git clone --recursive --depth 1 https://github.com/pfalcon/esp-open-sdk.git

to

git clone --recursive https://github.com/esp8266/Arduino.git esp8266
.... 
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git

and make sure your *.ino contains at least

 setup(){}

AND

loop(){}
Source Link
Codebreaker007
  • 1.3k
  • 1
  • 7
  • 14

You did a shallow copy of the git repo:
The solution is to ensure that the initial clone of the repo in the build environment was not a shallow clone (i.e. the git clone command was not used with --depth, --shallow-since or --shallow-exclude parameters). so change your

git clone --recursive --depth 1 https://github.com/esp8266/Arduino.git esp8266
....
git clone --recursive --depth 1 https://github.com/pfalcon/esp-open-sdk.git

to

git clone --recursive https://github.com/esp8266/Arduino.git esp8266
.... 
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git