Skip to content

Failed Remote Unit Test / Uploading using Travis : Could not find LD script. #3580

Open
platformio/platform-espressif8266
#307
@HamzaHajeir

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

  1. Correctly setup with travis-ci.org. So any git push triggers a remote test (See .travis.yml below)
  2. Connect NodeMCU to PC and run pio remote agent start -n mydev
  3. hit git push to github.
  4. 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

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions