Skip to content
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

LPC408X: Delete the ethernet_api.c files #12408

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

fkjagodzinski
Copy link
Member

Summary of changes

Remove an obsolete HAL implementation from LPC408X to fix the GCC_ARM build with the -flto flag.

This has been discussed in and separated from #11856. For more details, please see #11856 (comment). Original description below.

With the lto enabled, unreferenced buffers defined in ethernet_api.c were not excluded at link time overflowing the 16kB peripheral SRAM1 (ld error: "section '.AHBSRAM1' will not fit in region 'ETH_RAM'").

The Ethernet HAL API is deprecated in favor of EMAC.

Impact of changes

Migration actions required

Documentation

None


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers

@mark-edgeworth, @jamesbeyond, @kjbracey-arm


Remove an obsolete HAL implementation from LPC408X to fix the GCC_ARM
build with the "-flto" flag.

With the lto enabled, unreferenced buffers defined in ethernet_api.c
were not excluded at link time overflowing the 16kB peripheral SRAM1
(ld error: "section '.AHBSRAM1' will not fit in region 'ETH_RAM'").

The Ethernet HAL API is deprecated in favor of EMAC.
@jamesbeyond
Copy link
Contributor

Hey @0xc0170, please tag this for alpha-2-release

@mergify mergify bot added the needs: CI label Feb 11, 2020
@0xc0170 0xc0170 added the release-version: 6.0.0-alpha-2 Second pre-release version of 6.0.0 label Feb 12, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Feb 12, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Feb 12, 2020

Test run: FAILED

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

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-IAR

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 12, 2020

The failures are known on master, will restart CI once it is fixed.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 12, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Feb 13, 2020

Test run: FAILED

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

Failed test jobs:

  • jenkins-ci/mbed-os-ci_dynamic-memory-usage

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 13, 2020

Job restarted (internal fault)

@0xc0170 0xc0170 merged commit ffbd8b1 into ARMmbed:master Feb 13, 2020
@mergify mergify bot removed the ready for merge label Feb 13, 2020
@fkjagodzinski fkjagodzinski deleted the fix-lpc408x_ethernet_api branch February 13, 2020 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-version: 6.0.0-alpha-2 Second pre-release version of 6.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants