Skip to content

*LPC546XX: Finish MCU Refactoring #8291

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

Merged
merged 3 commits into from
Nov 22, 2018

Conversation

theotherjimmy
Copy link
Contributor

Description

The Mbed 2 release was broken for FF_LPC546XX as it would include
the entire mbed 2 build of the LPC546XX. This PR seperates these 2
builds completely by:

  • Removing non-shared extra labels from the MCU_LPC546XX target
  • Moving the target implementation to a shared target directory

Pull request type

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

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 5, 2018

@mmahadevan108 Can you review?

@0xc0170 0xc0170 requested a review from mmahadevan108 October 5, 2018 13:27
@0xc0170
Copy link
Contributor

0xc0170 commented Oct 6, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 6, 2018

Build : FAILURE

Build number : 3259
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8291/

@NirSonnenschein
Copy link
Contributor

Hi @theotherjimmy
there is a build failure and it looks related to the PR, please take a look:
[Error] mbed_boot_gcc_arm.c@35,47: 'INITIAL_SP' undeclared (first use in this function)
[DEBUG] Return: 1
[DEBUG] Output: ./rtos/TARGET_CORTEX/TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c: In function 'software_init_hook':
[DEBUG] Output: ./rtos/TARGET_CORTEX/TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c:35:47: error: 'INITIAL_SP' undeclared (first use in this function)
[DEBUG] Output: #define HEAP_SIZE ((uint32_t)((uint32_t)INITIAL_SP - (uint32_t)HEAP_START))
[DEBUG] Output: ^
[DEBUG] Output: ./rtos/TARGET_CORTEX/TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c:48:26: note: in expansion of macro 'HEAP_SIZE'
[DEBUG] Output: uint32_t free_size = HEAP_SIZE;
[DEBUG] Output: ^~~~~~~~~
[DEBUG] Output: ./rtos/TARGET_CORTEX/TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c:35:47: note: each undeclared identifier is reported only once for each function it appears in
[DEBUG] Output: #define HEAP_SIZE ((uint32_t)((uint32_t)INITIAL_SP - (uint32_t)HEAP_START))
[DEBUG] Output: ^
[DEBUG] Output: ./rtos/TARGET_CORTEX/TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c:48:26: note: in expansion of macro 'HEAP_SIZE'
[DEBUG] Output: uint32_t free_size = HEAP_SIZE;
[DEBUG] Output: ^~~~~~~~~
Failed to build library

@cmonr
Copy link
Contributor

cmonr commented Oct 12, 2018

@theotherjimmy Rebased for you.

@cmonr
Copy link
Contributor

cmonr commented Oct 17, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 17, 2018

Build : FAILURE

Build number : 3384
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8291/

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 17, 2018

[Error] mbed_boot_arm_std.c@54,0: #20: identifier "INITIAL_SP" is undefined error in the build

@theotherjimmy
Copy link
Contributor Author

@0xc0170 Sorry that took so long. The new commit should fix the problem.

@cmonr
Copy link
Contributor

cmonr commented Oct 19, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 19, 2018

Build : FAILURE

Build number : 3407
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8291/

@cmonr
Copy link
Contributor

cmonr commented Oct 19, 2018

Weeeeird.

All of the errors are the following:
Error: L6218E: Undefined symbol EMAC::get_default_instance()

@mbed-ci
Copy link

mbed-ci commented Nov 17, 2018

Build : SUCCESS

Build number : 3659
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8291/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Nov 17, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 19, 2018

Unfortunately, this needs a rebase now. There was one addition to LPC family that was integrated and causing now conflicts 😢 I did not identify this conflict, would have waited with the addition.

@0xc0170 0xc0170 removed the rollup PR label Nov 19, 2018
### Description

The Mbed 2 release was broken for FF_LPC546XX as it would include
the entire mbed 2 build of the LPC546XX. This PR seperates these 2
builds completely by:

 * Removing non-shared extra labels from the MCU_LPC546XX target
 * Moving the target implementation to a shared target directory

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
@theotherjimmy
Copy link
Contributor Author

Rebased.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 19, 2018

Just the build (test might be aborted later to make this into the rollup)

/morph build

@mbed-ci
Copy link

mbed-ci commented Nov 19, 2018

Build : SUCCESS

Build number : 3675
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8291/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Nov 19, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 20, 2018

Exporter failure - EOFError. We will most likely add this to another rollup to complete testing

@cmonr
Copy link
Contributor

cmonr commented Nov 22, 2018

CI job started.

@mbed-ci
Copy link

mbed-ci commented Nov 22, 2018

Test run: SUCCESS

Summary: 4 of 4 test jobs passed
Build number : 4
Build artifacts
Build logs

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.

8 participants