Skip to content

Allow overriding of DCDC settings per target #5855

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 1 commit into from
Jan 16, 2018

Conversation

stevew817
Copy link
Contributor

Description

Allow custom targets to override the DCDC settings by defining EMU_DCDCINIT_STK_DEFAULT to target-specific initialization values. This feature was requested in #5783

Status

READY

Migrations

Custom targets need to define EMU_DCDCINIT_STK_DEFAULT if they need different DCDC initialisation settings versus the defaults in em_emu.h

@amq
Copy link
Contributor

amq commented Jan 15, 2018

Is there a way to configure EMU_DCDCINIT_STK_DEFAUL which would be an equivalent to EMU_DCDCPowerOff()? Or more generally, how to handle a power circuit configured for No DC-DC, mentioned in 9.3.4.2?

Allow custom targets to override the DCDC settings by defining EMU_DCDCINIT_STK_DEFAULT to target-specific initialization values.
@stevew817 stevew817 force-pushed the feature/new/allow_dcdc_override branch from 5c279e8 to 18c973f Compare January 15, 2018 15:37
@stevew817
Copy link
Contributor Author

@amq good catch, added! Define EMU_NO_DCDC :)

@amq
Copy link
Contributor

amq commented Jan 15, 2018

LGTM

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 15, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Jan 15, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Jan 15, 2018

@mbed-ci
Copy link

mbed-ci commented Jan 15, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 16, 2018

/morph uvisor-test

@cmonr cmonr merged commit 728f76d into ARMmbed:master Jan 16, 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.

5 participants