New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add `mbed new .` output to export #4224

Merged
merged 1 commit into from May 2, 2017

Conversation

Projects
None yet
4 participants
@theotherjimmy
Contributor

theotherjimmy commented Apr 25, 2017

Description

Add a .mbed file in the root with:

ROOT=.

in it. That will do the same thing as a run of mbed new .

Old behavior

An export from the online environment would not be an mbed program as
defined by mbed CLI. mbed CLI would prompt a user to run mbed new .
when they run an mbed compile, and mbed CLI would complain about the
repository already existing when running mbed new .. This did not allow
the user to recover from this situation.

New behavior

An export from the online environment will be an mbed program as defined
by mbed CLI. All online exports will have the .mbed file in the root
as described in the description

@0xc0170

.mbed should contain newline at the end of the file? We have it in all files in this repo

@theotherjimmy

This comment has been minimized.

Contributor

theotherjimmy commented Apr 26, 2017

@0xc0170 You're right. Change coming.

@theotherjimmy theotherjimmy force-pushed the theotherjimmy:mbed-new-export branch to 43bd303 Apr 26, 2017

@theotherjimmy

This comment has been minimized.

Contributor

theotherjimmy commented Apr 27, 2017

/morph export-build

@mbed-bot

This comment has been minimized.

mbed-bot commented Apr 27, 2017

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph export-build

Output

mbed Build Number: 23

All exports and builds passed!

@0xc0170 0xc0170 added ready for merge and removed needs: CI labels Apr 28, 2017

@theotherjimmy theotherjimmy merged commit 03806a8 into ARMmbed:master May 2, 2017

4 checks passed

Cam-CI uvisor Build & Test Success
Details
ci/morph-export-build Job has completed
Details
continuous-integration/jenkins/pr-head This commit looks good
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

exmachina-auto-deployer pushed a commit to exmachina-dev/mbed-os that referenced this pull request May 16, 2017

Merge tag 'mbed-os-5.4.5' of github.com:ARMmbed/mbed-os into feature/…
…lwip_broadcast

Release mbed OS 5.4.5 and mbed lib v142

Ports for Upcoming Targets

Fixes and Changes

4059: [Silicon Labs] Rename targets ARMmbed#4059
4115: Support for Qt Creator Generic project export and associated Makefile ARMmbed#4115
3915: Feature vscode ARMmbed#3915
4205: tests: race test - add not supported for single threaded env ARMmbed#4205
4187: [NCS36510] Reduce default heap size allocated by IAR to 1/4 of RAM ARMmbed#4187
4145: test - add nanostack to examples.json file ARMmbed#4145
4093: Update.py: New feature - update a branch instead of a fork, plus general improvements. ARMmbed#4093
4225: fixed missing device_name for xDot and removed progen ARMmbed#4225
4243: Config: config header file should contain new line ARMmbed#4243
4251: Fix C++11 build error w/ u-blox EVK-ODIN-W2 ARMmbed#4251
4236: STM32 Fixed warning related to __packed redefinition ARMmbed#4236
4224: Add `mbed new .` output to export ARMmbed#4224
4190: LPC4088: Enable LWIP feature ARMmbed#4190
4136: Error when bootloader is specified but does not exist ARMmbed#4136
3881: Remove debug links to printf/exit in NDEBUG builds ARMmbed#3881
4260: Inherit Xadow M0 target from LPC11U35_501 ARMmbed#4260
4249: Add consistent button names across targets ARMmbed#4249
4254: Removed unused variable in TARGET_NXP/lpc17_emac.c ARMmbed#4254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment