Skip to content

Fixes to EFM32 port #6970

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 2 commits into from
May 29, 2018
Merged

Fixes to EFM32 port #6970

merged 2 commits into from
May 29, 2018

Conversation

stevew817
Copy link
Contributor

Description

  • Minimum write size was incorrectly being reported as a whole page, instead of the actual write unit of 32-bit
  • Flash API was running as ramfunc by default, whereas mbed doesn't have a need for that
  • Moved pin PF7 for SPI from SPI_1 to SPI_2 to accomodate updated TB_SENSE_12 pinout
  • Updated TB_SENSE_12 EXP pin assignments to match the production revision of the board instead of pre-production

Pull request type

[X] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes look good but would be better if they come as separate commits (flash fixes, pins fix). Please split those 2

stevew817 added 2 commits May 22, 2018 22:54
* Updated pinout of EXP header from pre-production to production
* Move assignment of PF7 to SPI_2 to be compatible with the new SPI flash routing
* Since mbed does not overwrite itself, make the flashing routines run out of flash by default
* Report a writeable size of 4 bytes (previously erroneously reported a full eraseable page as the minimum write size)
@stevew817 stevew817 force-pushed the efm32_flash_bugfix branch from b6eed0a to c2bc20e Compare May 22, 2018 20:55
@stevew817
Copy link
Contributor Author

@0xc0170 Commits are now split

@stevew817
Copy link
Contributor Author

@0xc0170 Can you move this along, please? I split up the commits as you requested.

@0xc0170
Copy link
Contributor

0xc0170 commented May 28, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented May 29, 2018

/morph export-build

@mbed-ci
Copy link

mbed-ci commented May 29, 2018

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.

4 participants