Skip to content

Mesh-minimal build failure due to line endings in PinNames.h #3346

@kimlep01

Description

@kimlep01

Description

  • Type: Bug
  • Priority: Major

Building mbed-os-mesh-minimal against mbed-os master fails in Linux due to file line endings in:
targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_UBLOX_EVA_NINA/PinNames.h

[K64F GCC_ARM ATMEL 6lp] + mbed deploy --protocol ssh
[K64F GCC_ARM ATMEL 6lp] error: Your local changes to the following files would be overwritten by checkout:
[K64F GCC_ARM ATMEL 6lp] targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_UBLOX_EVA_NINA/PinNames.h
[K64F GCC_ARM ATMEL 6lp] Please, commit your changes or stash them before you can switch branches.
[K64F GCC_ARM ATMEL 6lp] Aborting
[K64F GCC_ARM ATMEL 6lp] [mbed] ERROR: Unable to update "mbed-os" to rev #d5de476f74dd

Detected originally by CI today (30.11.2016) and can be reproduced manually also.


Bug

mbed-cli version:
1.0.0

meed-os sha:
c57427f (HEAD -> master, origin/master, origin/HEAD) Merge pull request #3321 from jeromecoutant/PR_L432KC

Steps to reproduce
Under Linux:
git clone [email protected]:ARMmbed/mbed-os-example-mesh-minimal.git
cd mbed-os-example-mesh-minimal
mbed deploy --protocol ssh
cd mbed-os
git checkout master
git pull
"Cannot pull with rebase: You have unstaged changes."
git diff
"warning: CRLF will be replaced by LF in targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_UBLOX_EVA_NINA/PinNames.h."

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions