platformio / platformio/platformio-core
Failed Remote Unit Test / Uploading using Travis : Could not find LD script.
@valeros is already working on this.
Since Jul 10, 2020.
- Dominant language
- Python
- Stars
- 9.5k
- Forks
- 905
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 2
Description
Configuration
PlatformIO Version (platformio --version): 4.3.4
Description of problem
I’m testing remote CI using Travis CI.
I encounter problems testing on my ESP8266 NodeMCU which is attached to my PC (for demo).
What I've tried ?
I’ve tried pio remote update from Travis CI and pio update locally. but nothing has changed.
Steps to Reproduce
- Correctly setup with travis-ci.org. So any git push triggers a remote test (See .travis.yml below)
- Connect NodeMCU to PC and run
pio remote agent start -n mydev - hit
git pushto github. - wait for the error.
Actual Results
This pops up when it tries to reach connected NodeMCU.
Error: Could not find LD script
If problems with PlatformIO Build System:
The content of platformio.ini:
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags =
-D BEARSSL_SSL_BASIC
; lib_deps = Blynk
board_build.ldscript = eagle.flash.4m1m.ld
monitor_speed = 115200
upload_speed = 921600
test_ignore = test-native
[env:native]
platform = native
test_ignore = test-embedded
.travis.yml :
language: python
python:
- "3.8"
sudo: false
cache:
directories:
- "~/.platformio"
install:
- pip install -U platformio
- platformio update
script:
- pio remote update
- platformio test -e native
- pio remote agent list
- pio remote --agent mydev test -e nodemcuv2
- pio remote --agent mydev run -e nodemcuv2 -t upload
Additional info
I’ve received the corresponding commands at pio agent :
2020-07-03 21:35:07 [info] Remote command received: psync
2020-07-03 21:35:12 [info] Remote command received: test
2020-07-03 21:35:31 [info] Remote command received: psync
2020-07-03 21:35:36 [info] Remote command received: run
What could be the problem / solution ?
UPDATE :
Here's a sample output of Travis-ci log :
https://api.travis-ci.org/v3/job/704757056/log.txt
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.