Skip to content

EFM32: Clock Source not changeable over mbed_app.json #7346

@DBS06

Description

@DBS06

Description

I tried to change to clock source for target EFM32PG12_STK3402 to internal clock source (HFRCO & LFRCO), but the settings will be ignored or does not change anything.

mbed_app.json:

"target_overrides": {
	"EFM32PG12_STK3402": {
		"target.lf_clock_src": "LFRCO",
		"target.hf_clock_src": "HFRCO"
	}
}

I found out that in ./mbed-os\targets\TARGET_Silicon_Labs\TARGET_EFM32\common\mbed_overrides.c #include "clocking.h" is missing. By adding the include the problem is resolved.

Could the silabs-Team please fix this problem?

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions