Browse Source

modules: Add option for enabling HAL debug functions

Add GD32_DBG_SUPPORT options to enable HAL debug functions.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
pull/50992/head
TOKITA Hiroshi 3 years ago committed by Carles Cufí
parent
commit
2e3cfec25d
  1. 9
      modules/hal_gigadevice/Kconfig

9
modules/hal_gigadevice/Kconfig

@ -70,6 +70,15 @@ config GD32_LOW_SPEED_IRC_FREQUENCY @@ -70,6 +70,15 @@ config GD32_LOW_SPEED_IRC_FREQUENCY
help
Define value of low speed internal RC oscillator (IRC) in Hz
config GD32_DBG_SUPPORT
bool "Use GD32 Debug features"
select USE_GD32_DBG
default y
help
Enable GD32 Debug features.
This option makes allows using functions that access to
DBG_CTL register such as dbg_periph_enable().
config USE_GD32_ADC
bool
help

Loading…
Cancel
Save