Skip to content

Commit 1ad0b19

Browse files
feilongflcarlescufi
authored andcommitted
modules: arm: gigadevice: set HAXTL_VALUE for gd32_e103
set HAXTL_VALUE to GD32_HXTAL_8MHZ for gd32_e103. Signed-off-by: YuLong Yao <[email protected]>
1 parent 4ff6639 commit 1ad0b19

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/hal_gigadevice/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,29 @@ choice GD32_HXTAL_FREQUENCY
2424
prompt "High speed external oscillator clock frequency"
2525
default GD32_HXTAL_FIRMWARE_DEFINED if !SOC_SERIES_GD32VF103
2626
default GD32_HXTAL_25MHZ if SOC_SERIES_GD32VF103
27+
default GD32_HXTAL_8MHZ if SOC_SERIES_GD32E10X
2728
help
2829
Define value of high speed crystal oscillator (HXTAL) in Hz
2930
This value sets the frequency of the oscillator.
3031

3132
config GD32_HXTAL_FIRMWARE_DEFINED
3233
bool "Firmware defined"
3334
depends on !SOC_SERIES_GD32VF103
35+
depends on !SOC_SERIES_GD32E10X
3436
help
3537
Use default frequency defined in firmware for HXTAL
3638
This is using for SoCs (e.g. gd32f4xx, gd32f3x0, etc ...)
3739
that have default HXTAL definitions in firmware.
3840

3941
config GD32_HXTAL_8MHZ
4042
bool "8MHz"
41-
depends on SOC_SERIES_GD32VF103
43+
depends on SOC_SERIES_GD32VF103 || SOC_SERIES_GD32E10X
4244
help
4345
Use 8MHz oscillator for HXTAL
4446

4547
config GD32_HXTAL_25MHZ
4648
bool "25MHz"
47-
depends on SOC_SERIES_GD32VF103
49+
depends on SOC_SERIES_GD32VF103 || SOC_SERIES_GD32E10X
4850
help
4951
Use 25MHz oscillator for HXTAL
5052

0 commit comments

Comments
 (0)