Skip to content

Conversation

bridadan
Copy link
Contributor

Description

Commit 1920212 fixes https://os.mbed.com/questions/84249/Keil-Compile-issue-After-CLI-export/

The rest of the commits were fixes I found while developing #10021. However because that is a feature addition, I'm not sure when that PR will come in. I thought the fixes were more important so I decided to put these up in a separate PR.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@theotherjimmy

Release Notes

The call to encode() was causing the include paths to be placed in the
uvision product file with the prefix "b'" and the postfix "'". This
broke the parsing of this file and broke the build.
mbed_config.h is a file that is placed in your project root when you
export. This allows the configuration to be used by your IDE. When this
file already exists (due to a previous export), it changed the compiler
include option on Windows from "-include mbed_config.h" to "-include
.\mbed_config.h". The "\" character was interpreted as an escape
character "\m" and broke the build. This converts all resource paths to
use the Posix path separator "/" before writing project files to avoid
this issue.
@bridadan bridadan changed the title Uvision exporter fixes Uvision exporter fixes for Python 3, CPM updates, and Windows path issues Mar 12, 2019
@ciarmcom ciarmcom requested review from a team and theotherjimmy March 12, 2019 02:00
@ciarmcom
Copy link
Member

@bridadan, thank you for your changes.
@theotherjimmy @ARMmbed/mbed-os-tools @ARMmbed/mbed-os-maintainers please review.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 16, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Mar 16, 2019

Test run: FAILED

Summary: 1 of 13 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_exporter

@NirSonnenschein
Copy link
Contributor

possible license failure, restarting CI

@mbed-ci
Copy link

mbed-ci commented Mar 17, 2019

Test run: FAILED

Summary: 1 of 13 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_cloud-client-test

@0xc0170 0xc0170 merged commit e665df9 into ARMmbed:master Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants